%
\newcommand*{\DocVersion}{ 2025-07-13}
% Headers {{{
\documentclass[12pt,a4paper]{article}
%
% Document variables {{{
\newcommand*{\Gael}{Ga\"el Induni}
\newcommand*{\ThisAuthors}{\Gael}
\newcommand*{\ThisTitle}{Navigation plan}
% End of document variables }}}
% Usepackages {{{
% General {{{
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[english]{babel}
% }}}
% Math {{{
\usepackage{amsmath}
%\usepackage{amssymb}
% }}}
% Hyper refs {{{
\usepackage{hyperref}
\hypersetup{
    colorlinks        = true,
    bookmarks         = true,
    bookmarksnumbered = false,
    linkcolor         = black,
    urlcolor          = blue,
    citecolor         = blue,
    filecolor         = blue,
    hyperfigures      = true,
    breaklinks        = false,
    ps2pdf,
    pdftitle          = {\ThisTitle},
    pdfsubject        = {\ThisTitle},
    pdfauthor         = {\ThisAuthors}
}
% }}}
% Tables and lists {{{
\usepackage{longtable}
\usepackage{multirow}
\usepackage{colortbl}
\usepackage{hhline}
% }}}
% Making stuff fancy (not fancyhdr package) {{{
\usepackage{enumitem}
\setlist{noitemsep}
\usepackage[landscape,a4paper]{geometry}
% }}}
% End of usepackages }}}
% Document size {{{
\setlength{\topmargin}{-8mm}
\setlength{\textheight}{180mm}
\setlength{\hoffset}{-28mm}
\setlength{\textwidth}{280mm}
\setlength{\evensidemargin}{9mm}
\setlength{\parskip}{0.5ex}
% End of document size }}}
% Fancy and header and footer rules {{{
\usepackage{fancyhdr}
%\usepackage{lastpage}
%\newcommand*{\LastPage}{\pageref{LastPage}}
% Defining document filename
\newcommand*{\GoodJob}{\jobname.pdf}
% Fancy!
\fancypagestyle{plain}{%
\fancyhf{}
\fancyhf[HR]{\ThisAuthors}
\fancyhf[C]{\texttt{https://xonnqopp.ch/fly/nav/display.php?id=126}}
\fancyhf[HL]{NavPlan.pdf\ v.~\DocVersion}
%\fancyhf[FRO,FLE]{\thepage/\LastPage}
% Rules at top and bottom
}
\pagestyle{plain}
\renewcommand{\headrulewidth}{0.4pt}
%\renewcommand{\footrulewidth}{0.4pt}
% End of fancy }}}
% New commands {{{
\newcommand*{\oC}{\ensuremath{^{\circ}C}}
\AtBeginDocument{\renewcommand{\labelitemi}{\textbullet}}
\newcommand*{\DarkGrayCell}{\cellcolor[gray]{0.66}}
\newcommand*{\GrayCell}{\cellcolor[gray]{0.8}}
\newcommand*{\RedCell}{\cellcolor[rgb]{1,0,0}}
% End of new commands }}}
% }}}
%
\begin{document}
%
\mbox{}
\vspace{-16mm}
% Table intro {{{
\begin{longtable}{|c|c|c||c|}
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx
& xxxxxxxxxxxxx
& 0000000000
&\kill
\multirow{2}{*}{\large Nathan}
& C182S
& TAS  [kts]
& \multirow{2}{*}{VAR: $3^{\textrm{o}} \textrm{E}$}
\\\hhline{~--~}
%
&HB---TDR
&120 (90)
&
\\

\end{longtable}
% }}} Table intro
\vspace{-8.7mm}
\renewcommand*{\arraystretch}{1.5}
% Nav plan {{{
\begin{longtable}{%
    |l|%
    >{\columncolor[gray]{0.75}}c|c|c|c|c|%
    |>{\columncolor[gray]{0.88}}c|>{\columncolor[gray]{0.88}}c|c|c|c|%
    |c|c||l|%
}
% Template width {{{
bla bla bla bla bla bla
& 000
& VAC
&
& altitudeee
&
& 00000
&
& VAC
& 00000
&
& 0000
& 0000
& bla bla bla bla bla bla bla
\kill
% }}}
% Nav plan Head {{{
\hline
\textbf{Waypoint}
& \textbf{TC}
& \textbf{MC}
& \textbf{Dist.}
& \textbf{Altitude}
& \textbf{EET}
& \multicolumn{2}{c|}{\cellcolor[gray]{0.88} \textbf{Wind}}
& \textbf{MH}
& \textbf{GS}
& \textbf{EET}
& \textbf{ETO}& \textbf{ATO}& \textbf{Notes}\\
\hhline{==============}
% }}} Nav plan Head
\endhead
\hline\endfoot
LSGE &\DarkGrayCell
&\DarkGrayCell
&\DarkGrayCell
&\DarkGrayCell
&\DarkGrayCell
&
&
&\DarkGrayCell
&\DarkGrayCell
&\DarkGrayCell
&\DarkGrayCell
&
&\\\hline
&&&&&&&&&&&&&\\\hline
&&&&&&&&&&&&&\\\hline
&&&&&&&&&&&&&\\\hline
&&&&&&&&&&&&&\\\hline
&&&&&&&&&&&&&\\\hline
&&&&&&&&&&&&&\\\hline
&&&&&&&&&&&&&\\\hline
&&&&&&&&&&&&&\\\hline
&&&&&&&&&&&&&\\\hline
&&&&&&&&&&&&&\\\hline
&&&&&&&&&&&&&\\\hline
&&&&&&&&&&&&&\\\hline
&&&&&&&&&&&&&\\\hline
&&&&&&&&&&&&&\\\hline
&&&&&&&&&&&&&\\\hline
\end{longtable}
\renewcommand*{\arraystretch}{1.0}
% }}} Nav plan
%
\clearpage
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\noindent
\begin{minipage}{0.49\textwidth}
% TOD {{{
\textbf{TOD:}
\begin{itemize}
    \item 120kts (2NM/min) 500 ft/min (children -12: 300)\\3deg makes descent rate = GS x5
    \item 1NM attitude change
    \item 2NM speed decrease
    \item (2NM approach check (if needed))
\end{itemize}
% }}} TOD
% Fuel {{{
\begin{center}
\begin{tabular}{|l||r@{ :}c|r||r@{ :}c|r|}
\hline
\multicolumn{1}{|c|}{}
& \multicolumn{6}{c|}{\textbf{Fuel consumption:} 13 USG/h}
\\\hhline{~------}
\multicolumn{1}{|c|}{\textbf{Fuel}}
& \multicolumn{3}{c||}{No wind}
& \multicolumn{3}{c|}{Wind}
\\\hhline{~------}
\multicolumn{1}{|c|}{}
& \multicolumn{2}{c|}{time}
& fuel [USG]
& \multicolumn{2}{c|}{time}
& fuel [USG]
\\\hline
Trip:
& &&& &&\\\hline
Alternate:
& &&& &&\\\hline
Reserve:
& &&& &&\\\hline
Unusable:
& &&& &&\\\hline
\hline
Minimum fuel:
& &&& &&\\\hline
Extra +5\%:
& &&& &&\\\hline\hline
Ramp fuel:
& &&& &&\\\hline
\end{tabular}
\end{center}
% }}}
% Fuel tanks {{{
\begin{center}
\begin{tabular}{|l|r|r|r|}
\hline
\multicolumn{1}{|c|}{\textbf{Fuel}} & \multicolumn{1}{c|}{\textbf{Unusable}} & \multicolumn{1}{c|}{\textbf{Usable}} & \multicolumn{1}{c|}{\textbf{Total}}\\\hline
Tank \#1 & 2 USG & 0 USG & 2 USG\\\hline
Tank \#2 & 2 USG & 0 USG & 2 USG\\\hline
\end{tabular}
\end{center}
% }}} Fuel tanks
\vspace*{6mm}
\end{minipage}
\begin{minipage}{0.50\textwidth}
\vspace{-7mm}
% Mass and balance {{{
\begin{center}
\begin{tabular}{|l|r|r|r|}
\hline
\multirow{2}{*}{\textbf{Mass and balance}}
& \multicolumn{1}{c|}{Mass}
& \multicolumn{1}{c|}{Arm}
& \multicolumn{1}{c|}{Moment}
\\
& \multicolumn{1}{c|}{[lbs]}
& \multicolumn{1}{c|}{[in]}
& \multicolumn{1}{c|}{[in lbs]}
\\\hhline{-===}
Dry+Empty (2020-04-01) & 1974 & \DarkGrayCell & 75174\\\hline
Front & 330 & 37 & 12210\\\hline
Rear \#1 & 176 & 74 & 13024\\\hline
Luggage \#1 & 11 & 97 & 1067\\\hline
Luggage \#2 & 0 & 116 & 0\\\hline
Luggage \#3 & 0 & 129 & 0\\\hline
Unusable fuel \#1=2USG & 11.99 & 46.5 & 557.535\\\hline
Unusable fuel \#2=2USG & 11.99 & 46.5 & 557.535\\\hhline{====}
\multirow{3}{*}{ZeroFuel} & \DarkGrayCell & \RedCell min=40.9 & \multirow{3}{*}{102590.07}\\\hhline{~---}
 & 2514.98 & \RedCell 40.792 & \\\hhline{~---}
 & MLdgW=2950 & max=46 & \\\hhline{====}
Fuel \#1 & 0 & 46.5 & 0\\\hline
Fuel \#2 & 0 & 46.5 & 0\\\hhline{====}
\multirow{3}{*}{TakeOff} & \DarkGrayCell & \RedCell min=40.9 & \multirow{3}{*}{102590.07}\\\hhline{~---}
 & 2514.98 & \RedCell 40.792 & \\\hhline{~---}
 & MTOW=3100 & max=46 & \\\hline
\end{tabular}
\end{center}
\vspace{-2mm}
{\small
$1\ \textrm{USG} = 3.785\ l$
\hspace{17mm}
$1\ l\ \textrm{Avgas} = 0.72\ kg$
\\
$1\ \textrm{Imp.G} = 4.55\ l$
\hspace{17mm}
$1\ \textrm{USG Avgas} = 6$ lbs
}  % small
% }}}
\end{minipage}
\end{document}
