%%%%%%%%% 
%symbols

\nomenclature{$\zeta$}{[m]}{Waterstand boven referentie vlak}

%%%%%%%%% 
%figure

\begin{figure}[ht]
    \centering
    \includegraphics[width=\textwidth]{../00_figures/06_bathymetry/etab_tri_01.jpg}
		\caption{Elevación del terreno en mayo de 2021.}
    \label{fig:etab_tri_01}
\end{figure}

%%%%%%%%% 
%photo

\begin{photo}[H]
    \includegraphics[width=\textwidth]{../00_figures/04_satellite/00_other/problem_area.jpg}
        \caption{Área donde se produce sedimentación.}
    \label{photo:problem_area}
\end{photo}

%%%%%%%%% 
%table

\begin{table}[ht]
    \begin{center}
    %\begin{adjustwidth}{-2cm}{-2cm}
        \begin{tabular}{r|r|r}        
		   
\rowcolor{dblue1}             Fecha anterior & Fecha posterior & Volumen [\si{m^3}]  \\
            \topline
- & 24-11-2014 & 40336 \\
23-01-2017 & 16-02-2017 & 1544 \\
21-04-2018 & 22-05-2018 & 10265 \\
18-02-2019 & 04-03-2019 & 7235 \\
20-02-2020 & 26-03-2020 & 7273 \\
09-01-2021 & 25-01-2021 & 3009 \\
12-07-2021 & 24-07-2021 & 2290 \\
            \bottomline
        \end{tabular}
        \caption{Periodos y volumen de dragado facilitados por Portmagdalena. Fecha anterior (posterior) se refiere a la fecha en la que se realizó la batimetría anterior (posterior) al dragado.}
        \label{tab:pm}
        %\end{adjustwidth}
    \end{center}
\end{table}

%review table for memo
\begin{tabular}{p{\textwidth/8}|p{0.175\textwidth}|p{0.2\textwidth}|p{0.2\textwidth}|p{0.2\textwidth}}
    \rowcolor{dblue1}  \textbf{Document version} & \textbf{Date} & \textbf{Author} & \textbf{Reviewer} & \textbf{Approval} \\
    \topline
    0.2   & & Victor Chavarrias   & Erik de Goede  &  \\
		\midline
		0.3   & & Victor Chavarrias   & Erik de Goede  &  \\
		\midline
		1.0   & \today{} & Victor Chavarrias   & Erik de Goede  &  Johan Boon \\
		\midline
		& & & \\
    \midline                                                 
\end{tabular}

%wrap up text in header but not in table
\begin{table}[ht]
	\begin{center}
	\begin{adjustwidth}{-3cm}{-3cm}
			\begin{tabular}{p{5cm}rrrr}	
				\toprule
\rowcolor{dblue1} Kosten Onderhoudstaken	& \begin{minipage}[t]{2.5cm} Geprognotiseerde kosten B\&O plan 2016 (2016-2021)	\end{minipage} & \begin{minipage}[t]{2.5cm} Werkelijk gemaakte kosten (2016-2021)	\end{minipage} & \begin{minipage}[t]{2.5cm} Verwachte Kosten lange termijn (per 5 jaar) \end{minipage} & \begin{minipage}[t]{2.5cm} Verwachte kosten lange termijn zonder recreatie vaart  (per 5 jaar) \end{minipage} \\
				\midrule
a.~ Aanbrengen stortsteen Dam													& \num{500000} 		& \num{0				} & \num{	500000		} & \num{500000} \\
				\bottomrule
			\end{tabular}
			\caption{caption}
			\label{tab:vH21cost}
			\end{adjustwidth}
	\end{center}
\end{table}


%%%%%%%%% 
%long table
\begin{longtable}{rrp{3cm}}
			\hline		
			river km & date & water discharge at Lobith [\si{m^3/s}]	 \\
			\midrule
			\endhead
\input{figures/adcp/measurements_overview/measurements_overview.tex} \\ %for some misterious reason, when updating the packages I needed to add this for \bottomrule not have a
			\bottomrule
		\caption{Summary of all ADCP profiles along the Waal River.}
		\label{tab:table_prepos_all_all}
\end{longtable}

%
%%%%%%%%% 
%for preventing printing large appendices in draft mode or for separating documents

%preamble
\newcommand{\addAppendix}{1} %0=no appendix; 1=add appendix

%use
\ifnum \addAppendix=1
	%things to be output
\fi

%%%%%%%%%
%currency

%euro:
%defined in <packages.tex>
%\EUROSYM{EUR}{\euro}
%\EUROFORMAT{main}{\out} 
%\EUROFORMAT{all}{%
%\form{\,}{.}{\,}%
%\round{-2}%
%\zero{0}{0}{}%
%\plus{}{}%
%\minus{\(-\)}{}
%}

%different currency:
%\newcommand*\COP[1]{
%{%
%\EUROFORMAT{main}{\in}%
%\EUROFORMAT{in}{\val\,COP}%
%\EUROFORMAT{EUR}{\form{\,}{.}{.}
%\round{-2}}%
%\EURO{EUR}{#1}}
%}

%use:
\EURO{EUR}{49500.54}
\COP{49500.54}

%align in table:
\newcommand*\ALNUM{%
\EUROFORMAT{main}{\table\out}%
\EUROFORMAT{out}{\align\val}% % no symbol/ISO code
\EURO{EUR}}%

\begin{table}[ht]
	\begin{center}
	%\begin{adjustwidth}{-2cm}{-2cm}
		\begin{tabular}{lr}		
			\toprule
			Fase & Coste [\euro] \\
			\midrule
Task 1 & \ALNUM{7000}\\
Task 2 & \ALNUM{15000}\\
			\bottomrule
		\end{tabular}
		\caption{Desglose de costes.}
		\label{tab:costes}
		%\end{adjustwidth}
	\end{center}
\end{table}

%%%%%%%%% 
%include pdf

%landscape
\begin{landscape} 
\includepdf[pages=-,offset=2.54cm -2.54cm,angle=0]{include/timeline.pdf}
\end{landscape}

%portrait
\includepdf[pages=-,offset=2.54cm -2.54cm]{include/CV_Erik_Mosselman.pdf}

%different paper size
\pdfpageheight = 27.94cm
\pdfpagewidth  = 21.59cm
\includepdf[pages=-,fitpaper=false,noautoscale=true,offset=2.85cm -1.71cm]{cover/cover.pdf} 
\pdfpageheight = 29.70cm
\pdfpagewidth  = 21.00cm

%%%%%%%%% 
%glossary

\newglossaryentry{H}{
  name={$H$},
  description={weir height. Distance between the crest and the bed level on the downstream side.},
  sort={H}
}

\gls{H}

