%%
\newcommand*{\DocVersion}{ 49}
%% Headers %%% {{{
\documentclass[12pt,twoside,a4paper]{article}
%%
%% Document variables %%% {{{
\newcommand*{\Gael}{Ga\"el Induni}
\newcommand*{\ThisAuthors}{\Gael}
\newcommand*{\ThisTitle}{Navigation plan}
\newcommand*{\ThisTitleSHORT}{\ThisTitle}
%% 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}
%% }}}
%% Miscellaneous %% {{{
%\usepackage{ifthen}
%% }}}
%% 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[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 %%% }}}
%% Pictures positions %%% {{{
\renewcommand{\topfraction}{0.85}
\renewcommand{\textfraction}{0.1}
\renewcommand{\floatpagefraction}{0.75}
%% End of pictures %%% }}}
%% New commands %%% {{{
%% Hyperref {{{
\newcommand*{\mailto}[1]{\href{mailto:#1}{#1}}
%% \url{link}
%% \href{link}{text}
%% \href[ref]{text}
%% }}}
%% Miscellaneous %% {{{
\renewcommand{\epsilon}{\varepsilon}
\renewcommand{\roman}{\Roman}
%\renewcommand{\geq}{\geqslant}
%\renewcommand{\leq}{\leqslant}
\newcommand*{\oC}{\ensuremath{^{\circ}C}}
\AtBeginDocument{\renewcommand{\labelitemi}{\textbullet}}% Default is \textendash % must be placed after begin-doc
\makeatletter
\newcommand{\rom}[1]{\expandafter\@slowromancap\romannumeral #1@}
\makeatother
%% }}}
\newcommand*{\DarkGray}{\cellcolor[gray]{0.66}}
\newcommand*{\Gray}{\cellcolor[gray]{0.8}}
\newcommand*{\RedCell}{\cellcolor[rgb]{1,0,0}}
%% End of new commands %%% }}}
%% }}}
%%
\begin{document}
%%
\mbox{}
\vspace{-16mm}
%% Header {{{
\begin{longtable}{|c|c|l|c||c|}
xxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxx
& xxxxxxxxxxxxx
&
& 0000000000
&\kill
%\multicolumn{2}{|c|}{Flight}
Flight
& Aircraft
& Identification
& TAS  [kts]
& VAR $[^{\textrm{o}} \textrm{E}]$
\\\hline
%%
&\multirow{2}{*}{C182S}
&\multirow{2}{*}{HB---TDR}
&\multirow{2}{*}{120 (90)}
&\multirow{2}{*}{2}
\\
\multicolumn{1}{|l|}{37: LSGE-LSPV}
&&
&
&\\[2mm]

\end{longtable}
%% }}}
\vspace{-8.7mm}
\renewcommand*{\arraystretch}{1.7}
%% Nav plan {{{
\begin{longtable}{%
	|c|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|%
}
i&bla bla bla bla bla bla&00000&00000&&altitudeee&&00000&&00000&00000&&0000&0000& bla
bla bla bla bla bla bla\kill
%% Head {{{
\hline
\multicolumn{2}{|c|}{\multirow{2}{*}{Waypoint}} &
TC &
MC &
Dist &
\multirow{2}{*}{Altitude} &
EET &
\multicolumn{2}{c|}{\cellcolor[gray]{0.88}Wind} &
MH &
GS &
EET &
\multirow{2}{*}{ETO} &
\multirow{2}{*}{ATO} &
\multirow{2}{*}{Notes}
\\
\hhline{~~~~~~~--~~~~~~}
\multicolumn{2}{|c|}{} &
$[^{\textrm{o}}]$ &
$[^{\textrm{o}}]$ &
[NM] &
&
[min] &
$[^{\textrm{o}}]$ &
[kts] &
$[^{\textrm{o}}]$ &
[kts] &
[min] &
&
&
\\
\hline
%% }}}
\endhead
\hline\endfoot
&LSGE&\DarkGray
&\DarkGray
&\DarkGray
&\DarkGray
&\DarkGray
&
&
&\DarkGray
&\DarkGray
&\DarkGray
&\DarkGray
&
&\\\hline
& Les Breleux& 341 & {\large 339} & {\large 31} & &  {\large 16+5} &&&&& {\large +5} & & & Grandfey\\\hline
& Balsthal& 075 & {\large 073} & {\large 30} & &  {\large 15} &&&&& & & & \\\hline
& Moericken& 075 & {\large 073} & {\large 20} & &  {\large 10} &&&&& & & & \\\hline
& Hallwilersee& 164 & {\large 162} & {\large 11} & &  {\large 6} &&&&& & & & \\\hline
& Richterswil& 098 & {\large 096} & {\large 20} & &  {\large 10} &&&&& & & & \\\hline
& LSPV&  & {\large VAC} & {\large 7} & &  {\large 4+5} &&&&& {\large +5} & & & \\\hhline{----=-=----=---}
&&&& 119 && 71 &&&&&&&&\\\hhline{===============}
& Fuel back&  & {\large V} & {\large 130} & &  {\large 65} &&&&& & & & \\\hline
& Richterswil&  & {\large V} & {\large 7} & &  {\large 4} &&&&& & & & \\\hline
& LSZU& 278 & {\large 276} & {\large 20} & &  {\large 10+5} &&&&& {\large +5} & & & \\\hhline{----=-=----=---}
&&&& 157 && 84 &&&&&&&&\\\hline
&&&&&&&&&&&&&&\\\hline
&&&&&&&&&&&&&&\\\hline
&&&&&&&&&&&&&&\\\hline
&&&&&&&&&&&&&&\\\hline
\end{longtable}
\renewcommand*{\arraystretch}{1.0}
%% }}}
%%
\clearpage
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
%%
\noindent
%%
\begin{minipage}{0.57\textwidth}
{\Large
\textbf{Climb:} don't forget speed is lower!
\\[7mm]
%% TOD {{{
\textbf{TOD:}
\begin{itemize}
\renewcommand*{\labelitemi}{\phantom{(}\textbullet\phantom{)}}
	\item 120kts (2NM/min) 500 ft/min (children <12y: 300)
	\item 1NM attitude change
	\item speed decreasing 2NM
	\item[(\textbullet)] approach check 2NM if needed
\end{itemize}
%% }}}
}
\vspace{11mm}
%% Fuel {{{
\begin{center}
\Large
\textbf{Fuel per hour:}
13 USG/h\\[9mm]
%%
\begin{tabular}{|l||r@{ :}c|r||r@{ :}c|r|}
\hhline{~------}
\multicolumn{1}{c|}{}
& \multicolumn{3}{c||}{Theory}
& \multicolumn{3}{c|}{Realm}
\\\hhline{~------}
\multicolumn{1}{c|}{}
& \multicolumn{2}{c|}{time}
& fuel [USG]
& \multicolumn{2}{c|}{time}
& fuel [USG]
\\\hline
Trip:      & 1&11 & 16 &&&\\\hline
Alternate: & 1&24 & 19 &&&\\\hline
Reserve:& 0&45 & 10 & 0&45 &\\\hline
Unusable
& \multicolumn{2}{c}{\DarkGray}
& 4
& \multicolumn{2}{c}{\DarkGray}
& 4\\\hline
\hline
Minimum fuel:&\multicolumn{2}{c}{\DarkGray}& 49 &\multicolumn{2}{c}{\DarkGray}& 14 \\\hline
Extra +5\%:&\multicolumn{2}{c}{\DarkGray}& 3 &\multicolumn{2}{c}{\DarkGray}& 1 \\\hline\hline
Ramp fuel:
& \multicolumn{2}{c}{\DarkGray}
& 52
& \multicolumn{2}{c}{\DarkGray}
& \multicolumn{1}{||c||}{15}
\\\hline
\end{tabular}
\end{center}
%% }}}
\vspace*{6mm}
\end{minipage}
\begin{minipage}{0.42\textwidth}
%% TH with wind {{{
{
TH with wind:
\begin{enumerate}
\item $\alpha_1 = (360 + \textrm{TC} - \textrm{WH}) \% 360^{\circ}$ and $\textrm{sign} = 1$
\item if $\alpha_1 > 180: \alpha_1 = (360 + \textrm{WH} - \textrm{TC}) \% 360^{\circ}$ and $\textrm{sign} = -1$
\item $\alpha_2 = \arcsin \left( \frac{\textrm{WS}}{\textrm{TS}} \cdot \sin \alpha_1 \right)$
\item $\alpha_3 = 180 - (\alpha_1 + \alpha_2)$
\item $\textrm{TH} = \textrm{TC} + \textrm{sign} \cdot \alpha_2$
\item $\textrm{GS} = \frac{\sin \alpha_3}{\sin \alpha_1} \cdot \textrm{TS}$
\end{enumerate}
}
%% }}}
%% W'n'B {{{
{\Large
\begin{center}
\begin{tabular}{|l|r|r|r|}
\hhline{~---}
\multicolumn{1}{c|}{}
& \multicolumn{1}{c|}{Mass}
& \multicolumn{1}{c|}{Arm}
& \multicolumn{1}{c|}{Moment}
\\
\multicolumn{1}{c|}{}
& \multicolumn{1}{c|}{[lbs]}
& \multicolumn{1}{c|}{[in]}
& \multicolumn{1}{c|}{[in lbs]}
\\\hhline{-===}
Empty   & 1975 & \DarkGray & 75174\\\hline
Front   &330& 37 & 12210 \\\hline
Rear    & 99 & 74 & 7326 \\\hline
Luggage & 22 & 116 & 2552 \\\hline
Unusable fuel& 3& 46.5& 139.5\\\hline
\hline
\multirow{3}{*}{\textbf{0-fuel}}
& \Gray
& \RedCell {\normalsize min: 41}
&\\
& \Gray 2429
& \RedCell 40.099
& 97401.5\\
& \Gray
& \Gray {\normalsize max: 46}
&\\
\hhline{====}
Fuel & 306 & 46.5 & 14229 \\\hhline{====}
\multirow{3}{*}{\textbf{T-off}}
& \Gray
& \RedCell {\normalsize min: 41}
&\\
& \Gray 2735
& \RedCell 40.816
& 111630.5\\
& \Gray {\normalsize max: 2950}
& \Gray {\normalsize 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
}
}
%% }}}
\end{minipage}
\end{document}
%%
