\documentclass[x11names, table,spanish,letterpaper,12pt,oneside]{book}
\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel} %ESPAÑOL
\usepackage{graphicx} %INSERTAR FIGURAS
\usepackage{fancyhdr} %MODIFICA ENCABEZADOS
\usepackage{amsmath,amsfonts,amssymb, latexsym} %COSAS DE MATEMATICAS
\usepackage{enumerate} %PARA HACER LAS VIÑETAS
\usepackage{subfig}
\usepackage{listings}
\usepackage[hidelinks]{hyperref} %PARA LOS HIPERVINCULOS Y LOS BOOKMARKS
\usepackage{multicol}
\usepackage{verbatim}
\usepackage[round]{natbib}
\usepackage{eso-pic}
\usepackage{tikz}
\usepackage{tabularx}
\usepackage{xcolor}
\usepackage{float}
\usepackage{caption}
\usepackage{multirow}
\usepackage{array}
\usepackage{url}
\usepackage[T1]{fontenc}
\nonstopmode
\urlstyle{same}
\definecolor{contexto}{rgb}{0.0,0.7,0.7}
\definecolor{verdigris}{rgb}{0.0,0.18,0.3}
\definecolor{blue(munsell)}{rgb}{0.0,0.5,0.55}
\definecolor{gray}{rgb}{0.66,0.66,0.66}
\voffset=-1.8cm \setlength {\topmargin}{40pt}
\setlength{\headheight}{0.96 cm} \setlength {\headsep}{0.5cm}
\setlength {\textheight}{21.7cm} \setlength {\footskip}{0.9cm}
\hoffset=0.5cm \setlength {\oddsidemargin}{0pt} \setlength
{\textwidth}{16cm}
\newcommand\arriba{%
\put(-325,245){%
\parbox[b][\paperheight]{\paperwidth}{%
\vfill
\centering
\begin{tikzpicture}[opacity=1.0]
\includegraphics[height=3.7cm]{/home/torresiata/reporte_eventos/temporal/logos/encabezado}%
\end{tikzpicture}
\vfill
}}}
\newcommand\abajo{%
\put(-385,-450){%
\parbox[b][\paperheight]{\paperwidth}{%
\vfill
\centering
\begin{tikzpicture}[opacity=1.0]
\includegraphics[height=3.7cm]{/home/torresiata/reporte_eventos/temporal/logos/pie}%
\end{tikzpicture}
\vfill
}}}
\nonstopmode
\renewcommand{\familydefault}{\sfdefault}
\begin{document}
\AddToShipoutPicture{\abajo}
\AddToShipoutPicture{\arriba}
\begin{table}[H]
\vspace{7mm}
\fontsize{12.2}{2} \selectfont{
\scalebox{0.6}{\begin{tabularx}{\textwidth}{ c c  c c | c}
\rowcolor{contexto}
\multicolumn{5}{c}{\textbf{\textcolor{white}{REGISTRO DE EVENTOS DE PRECIPITACIÓN}}} \rule[-0.5cm]{0cm}{1.1cm} \\
\multicolumn{2}{c|}{\textbf{FECHA:} 2016-10-17} & \multicolumn{3}{c}{\textbf{EVENTO N:} 957} \rule[-0.3cm]{0cm}{0.9cm}\\ \cline{1-5}
\multicolumn{5}{c}{\hspace{0}} \rule[-0.3cm]{0cm}{0.8cm}\\ \cline{1-5}
\rowcolor{contexto}
\multicolumn{2}{c}{\textbf{\textcolor{white}{Caracterización de los eventos}}} & \multicolumn{3}{c}{\textbf{\textcolor{white}{Estaciones que registraron el evento}}} \rule[-0.3cm]{0.cm}{0.8cm}\\
\textbf{Fecha inicio:} 2016-10-17 & \textbf{Hora inicio:} 12:20:00 & {\cellcolor{blue(munsell)}{\textbf{\textcolor{white}{N$^{\circ}$}}}} & {\cellcolor{blue(munsell)}{\textbf{\textcolor{white}{Nombre de la estación}}}} & {\cellcolor{blue(munsell)}{\textbf{\textcolor{white}{Acumulado (mm)}}}} \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{1-5}
\textbf{Fecha fin:} 2016-10-18 & \textbf{Hora fin:} 16:15:00 & {\cellcolor{verdigris}{\textbf{\textcolor{white}{88}}}} & \multicolumn{1}{l|}{CUIDA Juan Cojo} & 58.17 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{1-5}
\textbf{Duración evento}&27 horas 55 min & {\cellcolor{verdigris}{\textbf{\textcolor{white}{168}}}} & \multicolumn{1}{l|}{Santa Rita Guatape - Pluvio} &42.93 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{1-5}
\multicolumn{2}{c}{\cellcolor{contexto} {\textbf{\textcolor{white}{Mayor intensidad de lluvia}}}} & {\cellcolor{verdigris}{\textbf{\textcolor{white}{31}}}} & \multicolumn{1}{l|}{Colegio Jose Manuel Sierra} & 42.42 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{1-5}
\textbf{Magnitud} & 39.62 mm/hora Hora: 01:43:00 & {\cellcolor{verdigris}{\textbf{\textcolor{white}{38}}}} & \multicolumn{1}{l|}{Casa Cultura La Estrella} & 34.80 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{1-5}
\textbf{Estación} & 4. I.E Hector Rogelio Montoya & {\cellcolor{verdigris}{\textbf{\textcolor{white}{171}}}} & \multicolumn{1}{l|}{Escombrera Mocatan - Pluvio} & 34.29\rule[-0.3cm]{0cm}{0.8cm} \\ \cline{1-5}
\textbf{Municipio} & Medellin, 50 Palmitas & {\cellcolor{verdigris}{\textbf{\textcolor{white}{66}}}} & \multicolumn{1}{l|}{I.E San Andres (Sede El Socorro)} & 33.78\rule[-0.3cm]{0cm}{0.8cm} \\ \cline{1-5}
\multicolumn{2}{c}{\cellcolor{contexto} {\textbf{\textcolor{white}{Mayor registro de lluvia acumulado}}}} & {\cellcolor{verdigris}{\textbf{\textcolor{white}{61}}}} & \multicolumn{1}{l|}{Planta de Agua Bocatoma} & 31.50 \rule[-0.3cm]{0cm}{0.8cm} \\\cline{1-5}
\textbf{Magnitud} & 58.17 mm & {\cellcolor{verdigris}{\textbf{\textcolor{white}{18}}}} & \multicolumn{1}{l|}{Escuela El Salado} & 31.24 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{1-5}
\textbf{Estación} &88. CUIDA Juan Cojo & {\cellcolor{verdigris}{\textbf{\textcolor{white}{122}}}} & \multicolumn{1}{l|}{Tasajera} & 30.76 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{1-5}
\textbf{Municipio} & Girardota, Girardota & {\cellcolor{verdigris}{\textbf{\textcolor{white}{30}}}} & \multicolumn{1}{l|}{Salon Social Barbosa} & 29.46 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{1-5}
\multicolumn{2}{c}{\cellcolor{contexto}{\textbf{\textcolor{white}{Descipción acerca de la formación del evento}}}} & {\cellcolor{verdigris}{\textbf{\textcolor{white}{36}}}} & \multicolumn{1}{l|}{Colegio Concejo de Itagui} &28.45 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
\multicolumn{2}{c}{\multirow{12}{15cm}{ {\Large si}} } &  {\cellcolor{verdigris}{\textbf{\textcolor{white}{62}}}} & \multicolumn{1}{l|}{Gimnasio Cantabria} & 27.69 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ 105}}}} & \multicolumn{1}{l|}{Parque 3 Aguas} & 27.17 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ 58}}}} & \multicolumn{1}{l|}{Escuela Luis Javier Garcia Isaza} & 26.67 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ 51}}}} & \multicolumn{1}{l|}{Represa La Garcia } & 26.67 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ 49}}}} & \multicolumn{1}{l|}{Colegio Latino (Av. Las Palmas)} & 24.89 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ 52}}}} & \multicolumn{1}{l|}{Centro Veterinario y de Zootecnia CES} & 24.38 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ 82}}}} & \multicolumn{1}{l|}{I.E Manuel Jose Caicedo} & 23.63 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ 33}}}} & \multicolumn{1}{l|}{Santa Maria Goretti} & 22.86 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ 201}}}} & \multicolumn{1}{l|}{Torre SIATA} & 22.68 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ 26}}}} & \multicolumn{1}{l|}{Escuela Rural El Plan} & 22.36 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ 205}}}} & \multicolumn{1}{l|}{Santa Elena-Radar} & 22.26 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ 2}}}} & \multicolumn{1}{l|}{Escuela Rural La Verde} & 21.59 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{1-5}
\multicolumn{2}{c}{\cellcolor{contexto} {\textbf{\textcolor{white}{Descipción del comportamiento}}}} & {\cellcolor{verdigris}{\textbf{\textcolor{white}{59}}}} & \multicolumn{1}{l|}{ISAGEN} & 21.50 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{1-5}
\multicolumn{2}{c}{\multirow{12}{15cm}{ {\Large no}} } &  {\cellcolor{verdigris}{\textbf{\textcolor{white}{174}}}} & \multicolumn{1}{l|}{Q. La Sanin} & 20.83 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ 207}}}} & \multicolumn{1}{l|}{Vivero EPM Piedras Blancas} & 19.96 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ 23}}}} & \multicolumn{1}{l|}{Instituto Jorge Robledo} & 19.05 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ 67}}}} & \multicolumn{1}{l|}{I.E Juan Echeverry Abad} & 18.80 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ 83}}}} & \multicolumn{1}{l|}{Centro de salud San Javier la Loma} & 18.53 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ 19}}}} & \multicolumn{1}{l|}{Tecnologico Antioquia} & 17.78 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ 73}}}} & \multicolumn{1}{l|}{Ciudadela Educativa La Vida} & 17.70 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ 57}}}} & \multicolumn{1}{l|}{Escuela la Clara} & 17.02 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ 202}}}} & \multicolumn{1}{l|}{AMVA} & 15.92 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ 8}}}} & \multicolumn{1}{l|}{Escuela CEDEPRO} & 15.49 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ 42}}}} & \multicolumn{1}{l|}{Escuela Rural Piedras Gordas} & 15.24 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
\end{tabularx}} }
\end{table}
\clearpage
\begin{center}
\begin{table}[H]
\vspace{7mm}
\fontsize{12.2}{2} \selectfont{
\scalebox{0.6}{\begin{tabularx}{\textwidth}{ c  c c  c | c }
\rowcolor{contexto}
\multicolumn{5}{c}{\textbf{\textcolor{white}{ \hspace{243} IMÁGENES DEL RADAR METEOROLÓGICO \hspace{243} }}} \rule[-0.5cm]{0cm}{1.1cm} \\
\multicolumn{2}{c|}{\hspace{130} \textbf{FECHA:} 2016-10-17\hspace{130} } & \multicolumn{3}{c}{\textbf{EVENTO N:} 957} \rule[-0.3cm]{0cm}{0.9cm}\\ \cline{1-5}
\end{tabularx}}}
\end{table}
\end{center}
\begin{figure}[H]
\begin{center}
\subfloat[2016-10-17 13:41]{\includegraphics[width=7.5cm]{/var/www/p-operacional/radar/imRadar_20161017_1341.png}} \hfill
\subfloat[2016-10-17 14:32]{\includegraphics[width=7.5cm]{/var/www/p-operacional/radar/imRadar_20161017_1432.png}} \vfill
\subfloat[2016-10-17 15:36]{\includegraphics[width=7.5cm]{/var/www/p-operacional/radar/imRadar_20161017_1536.png}} \hfill
\subfloat[2016-10-17 16:44]{\includegraphics[width=7.5cm]{/var/www/p-operacional/radar/imRadar_20161017_1644.png}} \vfill
\end{center}
\label{fig:radar}
\end{figure}
\begin{figure}[H]
\begin{center}
\subfloat[2016-10-17 19:02]{\includegraphics[width=7.5cm]{/var/www/p-operacional/radar/imRadar_20161017_1902.png}} \hfill
\subfloat[2016-10-17 20:38]{\includegraphics[width=7.5cm]{/var/www/p-operacional/radar/imRadar_20161017_2038.png}} \vfill
\subfloat[2016-10-17 23:18]{\includegraphics[width=7.5cm]{/var/www/p-operacional/radar/imRadar_20161017_2318.png}} \hfill
\subfloat[2016-10-18 00:35]{\includegraphics[width=7.5cm]{/var/www/p-operacional/radar/imRadar_20161018_0035.png}} \vfill
\end{center}
\label{fig:radar}
\end{figure}
\begin{figure}[H]
\begin{center}
\subfloat[2016-10-18 02:26]{\includegraphics[width=7.5cm]{/var/www/p-operacional/radar/imRadar_20161018_0226.png}} \hfill
\subfloat[2016-10-18 05:09]{\includegraphics[width=7.5cm]{/var/www/p-operacional/radar/imRadar_20161018_0509.png}} \vfill
\subfloat[2016-10-18 07:31]{\includegraphics[width=7.5cm]{/var/www/p-operacional/radar/imRadar_20161018_0731.png}} \hfill
\subfloat[2016-10-18 08:20]{\includegraphics[width=7.5cm]{/var/www/p-operacional/radar/imRadar_20161018_0820.png}} \vfill
\end{center}
\label{fig:radar}
\end{figure}
\begin{figure}[H]
\begin{center}
\subfloat[2016-10-18 10:39]{\includegraphics[width=7.5cm]{/var/www/p-operacional/radar/imRadar_20161018_1039.png}} \hfill
\end{center}
\label{fig:radar}
\end{figure}
\clearpage
\begin{center}
\begin{table}[H]
\vspace{7mm}
\fontsize{12.2}{2} \selectfont{
\scalebox{0.6}{\begin{tabularx}{\textwidth}{ c  c c  c | c }
\rowcolor{contexto}
\multicolumn{5}{c}{\textbf{\textcolor{white}{ \hspace{243} MAPA ACUMULADO RADAR \hspace{243} }}} \rule[-0.5cm]{0cm}{1.1cm} \\
\multicolumn{2}{c|}{\hspace{130} \textbf{FECHA:} 2016-10-17\hspace{130} } & \multicolumn{3}{c}{\textbf{EVENTO N:} 957} \rule[-0.3cm]{0cm}{0.9cm}\\ \cline{1-5}
\multicolumn{5}{p{25cm}}{\Large para cada uno de los eventos se calcula la humedad antecedente (acumulado de precipitacion) para el numero de dias que se desee. Se crea un archivo con el acumulado mayor de las estaciones consideradas en la primera columna, y en la segunda columna se indica cual fue la estacion que registro dicho acumulado para cada uno de los eventos se calcula la humedad antecedente (acumulado de precipitacion} \rule[-0.3cm]{0cm}{0.9cm}\\ \cline{1-5}
\end{tabularx}}}
\end{table}
\end{center}
\begin{figure}[H]
\begin{center}
\subfloat[Mapa de acumulados durante el evento]{\includegraphics[width=14cm]{/home/torresiata/reporte_eventos/temporal/Figuras/Acumulado/Acumulado.png}} \hfill
\end{center}
\label{fig:AcumuladoRadar}
\end{figure}\\
\clearpage
\begin{center}
\begin{table}[H]
\vspace{7mm}
\fontsize{12.2}{2} \selectfont{
\scalebox{0.6}{\begin{tabularx}{\textwidth}{c|c|c|c|c|c|c}
\rowcolor{contexto}
\multicolumn{7}{c}{\textbf{\textcolor{white}{RESUMEN DE REGISTROS DE NIVEL}}} \rule[-0.5cm]{0cm}{1.1cm}\\ 
\textbf{Estación} & \textbf{Ubicación} & \textbf{ \shortstack {Banca llena \\ (cm)}} & \textbf{\shortstack {Nivel base medio \\ (cm)}}  & \textbf{\shortstack {Pico de la hidrografa \\ (cm)}} & \textbf{Hora} & \textbf{\shortstack {\% de \\ banca llena}} \rule[-0.3cm]{0cm}{0.9} \\
\cline{1-7}
93. Puente 33&Medellin - 10 La Candelaria&170&66.0&153.0&08:38:41&90.00\rule[-0.3cm]{0cm}{0.8cm} \\ \cline{1-7}
108. Santa Rita - San Antonio de Prado&Medellin - La Verde&265&123.0&194.0&09:13:48&73.21\rule[-0.3cm]{0cm}{0.8cm} \\ \cline{1-7}
\cline{1-7}
\end{tabularx}} }
\end{table}
\end{center}
\begin{figure}[H]
\begin{center}
\subfloat[Puente 33]{\includegraphics[width=7.5cm]{/home/torresiata/reporte_eventos/temporal/Figuras/nivel/Estacion_93N.png}} \hfill
\subfloat[]{\includegraphics[width=7.5cm]{/home/torresiata/reporte_eventos/temporal/Figuras/nivel/Estacion_108N.png}} \vfill
\end{center}
\label{fig:nivel}
\end{figure}
\clearpage
\begin{center}
\begin{table}[H]
\vspace{7mm}
\fontsize{12.2}{2} \selectfont{
\scalebox{0.6}{\begin{tabularx}{\textwidth}{ c  c c  c | c }
\rowcolor{contexto}
\multicolumn{5}{c}{\textbf{\textcolor{white}{\hspace{243} RESUMEN REDES DE MONITOREO \hspace{243} }}} \rule[-0.5cm]{0cm}{1.1cm}\\ 
\multicolumn{2}{c|}{\hspace{130} \textbf{FECHA:} 2016-10-17\hspace{130} } & \multicolumn{3}{c}{\textbf{EVENTO N:} 957} \rule[-0.3cm]{0cm}{0.9cm}\\ \cline{1-5}
\end{tabularx}}}
\end{table}
\end{center}
\begin{figure}[H]
\begin{center}
\subfloat[Boletin Precipitacion]{\includegraphics[width=7.5cm]{/home/torresiata/reporte_eventos/temporal/Figuras/boletin/AreaMetropolitanaP.png}} \hfill
\subfloat[Boletin Nivel]{\includegraphics[width=7.5cm]{/home/torresiata/reporte_eventos/temporal/Figuras/boletin/AreaMetropolitanaN.png}} \vfill
\end{center}
\label{fig:boletin}
\end{figure}\\
\begin{flushright}
Elaborado por: cuervo prueba\\
Área Operacional \\
Sistema de Alerta Temprana \\
\url{www.siata.gov.co} / @siatamedellin \\
Teléfono: 4341987 - 4341993 \\
\end{flushright}
\end{document}
