\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-11-07} & \multicolumn{3}{c}{\textbf{EVENTO N:} 1000} \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-11-07 & \textbf{Hora inicio:} 12:00: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-11-07 & \textbf{Hora fin:} 19:00:00 & {\cellcolor{verdigris}{\textbf{\textcolor{white}{52}}}} & \multicolumn{1}{l|}{Centro Veterinario y de Zootecnia CES} & 21.84 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{1-5}
\textbf{Duración evento}&7 horas 00 min & {\cellcolor{verdigris}{\textbf{\textcolor{white}{16}}}} & \multicolumn{1}{l|}{I.E Ramon Munera Lopera} &18.03 \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}{55}}}} & \multicolumn{1}{l|}{I.E Reino de Belgica} & 17.27 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{1-5}
\textbf{Magnitud} & 48.77 mm/hora Hora: 13:10:00 & {\cellcolor{verdigris}{\textbf{\textcolor{white}{64}}}} & \multicolumn{1}{l|}{Ecoparque La Romera} & 13.46 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{1-5}
\textbf{Estación} & 4. I.E Hector Rogelio Montoya & {\cellcolor{verdigris}{\textbf{\textcolor{white}{58}}}} & \multicolumn{1}{l|}{Escuela Luis Javier Garcia Isaza} & 10.16\rule[-0.3cm]{0cm}{0.8cm} \\ \cline{1-5}
\textbf{Municipio} & Medellin, 50 Palmitas & {\cellcolor{verdigris}{\textbf{\textcolor{white}{42}}}} & \multicolumn{1}{l|}{Escuela Rural Piedras Gordas} & 9.65\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}{5}}}} & \multicolumn{1}{l|}{I.E Santa Elena} & 8.89 \rule[-0.3cm]{0cm}{0.8cm} \\\cline{1-5}
\textbf{Magnitud} & 21.84 mm & {\cellcolor{verdigris}{\textbf{\textcolor{white}{57}}}} & \multicolumn{1}{l|}{Escuela la Clara} & 8.38 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{1-5}
\textbf{Estación} &52. Centro Veterinario y de Zootecnia CES & {\cellcolor{verdigris}{\textbf{\textcolor{white}{205}}}} & \multicolumn{1}{l|}{Santa Elena-Radar} & 7.85 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{1-5}
\textbf{Municipio} & Envigado, Envigado & {\cellcolor{verdigris}{\textbf{\textcolor{white}{41}}}} & \multicolumn{1}{l|}{Comisaria El Poblado} & 6.35 \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}{88}}}} & \multicolumn{1}{l|}{CUIDA Juan Cojo} &5.84 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
\multicolumn{2}{c}{\multirow{12}{15cm}{ {\Large verb11}} } &  {\cellcolor{verdigris}{\textbf{\textcolor{white}{3}}}} & \multicolumn{1}{l|}{Escuela Rural Yarumalito} & 5.08 \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ }}}} & \multicolumn{1}{l|}{} &  \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ }}}} & \multicolumn{1}{l|}{} &  \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ }}}} & \multicolumn{1}{l|}{} &  \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ }}}} & \multicolumn{1}{l|}{} &  \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ }}}} & \multicolumn{1}{l|}{} &  \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ }}}} & \multicolumn{1}{l|}{} &  \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ }}}} & \multicolumn{1}{l|}{} &  \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ }}}} & \multicolumn{1}{l|}{} &  \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ }}}} & \multicolumn{1}{l|}{} &  \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ }}}} & \multicolumn{1}{l|}{} &  \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ }}}} & \multicolumn{1}{l|}{} &  \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}{}}}} & \multicolumn{1}{l|}{} &  \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{1-5}
\multicolumn{2}{c}{\multirow{12}{15cm}{ {\Large verb22}} } &  {\cellcolor{verdigris}{\textbf{\textcolor{white}{}}}} & \multicolumn{1}{l|}{} &  \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ }}}} & \multicolumn{1}{l|}{} &  \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ }}}} & \multicolumn{1}{l|}{} &  \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ }}}} & \multicolumn{1}{l|}{} &  \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ }}}} & \multicolumn{1}{l|}{} &  \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ }}}} & \multicolumn{1}{l|}{} &  \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ }}}} & \multicolumn{1}{l|}{} &  \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ }}}} & \multicolumn{1}{l|}{} &  \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ }}}} & \multicolumn{1}{l|}{} &  \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ }}}} & \multicolumn{1}{l|}{} &  \rule[-0.3cm]{0cm}{0.8cm} \\ \cline{3-5}
&  & {\cellcolor{verdigris} {\textbf{\textcolor{white}{ }}}} & \multicolumn{1}{l|}{} &  \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-11-07\hspace{130} } & \multicolumn{3}{c}{\textbf{EVENTO N:} 1000} \rule[-0.3cm]{0cm}{0.9cm}\\ \cline{1-5}
\end{tabularx}}}
\end{table}
\end{center}
\begin{figure}[H]
\begin{center}
\subfloat[2016-11-07 14:07]{\includegraphics[width=7.5cm]{/var/www/p-operacional/radar/imRadar_20161107_1407.png}} \hfill
\subfloat[2016-11-07 18:49]{\includegraphics[width=7.5cm]{/var/www/p-operacional/radar/imRadar_20161107_1849.png}} \vfill
\end{center}
\label{fig:radar}
\end{figure}
\clearpage
\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-11-07\hspace{130} } & \multicolumn{3}{c}{\textbf{EVENTO N:} 1000} \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
\end{center}
\label{fig:boletin}
\end{figure}\\
\begin{flushright}
Elaborado por: prueba\\
Área Operacional \\
Sistema de Alerta Temprana \\
\url{www.siata.gov.co} / @siatamedellin \\
Teléfono: 4341987 - 4341993 \\
\end{flushright}
\end{document}
