I'm having troubles to insert the caption on a wide portrait table which has been resized to fit the page.
This is the code I'm using:
Code: Select all
\documentclass[letterpaper,10pt]{report}
\usepackage[utf8x]{inputenc}
\usepackage{graphicx}
\usepackage[protrusion=true,expansion=true]{microtype}
\usepackage[spanish]{babel}
\usepackage{float}
\usepackage{pdflscape}
\usepackage{array}
\usepackage{rotating}
\usepackage{afterpage}
\usepackage{caption}
\restylefloat{figure}
\begin{document}
\begin{landscape}
\centering
\resizebox{1.6\textheight}{!}
{
\begin{tabular}[ht!]{|l|r|r|r|r|r|r|r|r|r|r|r|r|}
\hline
\textit{1.2 Gastos administrativos} & \textit{172500,00 } & \textit{172500,00 } & \textit{172500,00
} & \textit{172500,00 } & \textit{172500,00 } & \textit{172500,00 } & \textit{172500,00 } &
\textit{172500,00 } & \textit{172500,00 } & \textit{172500,00 } & \textit{172500,00 } &
\textit{172500,00 } \\ \hline
1.2.1 Arriendo de Local(es) & 62500,00 & 62500,00 & 62500,00 & 62500,00 & 62500,00 & 62500,00
& 62500,00 & 62500,00 & 62500,00 & 62500,00 & 62500,00 & 62500,00 \\ \hline
1.2.3 Reparación y mantenimiento de equipos & 5000,00 & 5000,00 & 5000,00 & 5000,00 & 5000,00
& 5000,00 & 5000,00 & 5000,00 & 5000,00 & 5000,00 & 5000,00 & 5000,00 \\ \hline
1.2.7 Teléfonos & 20000,00 & 20000,00 & 20000,00 & 20000,00 & 20000,00 & 20000,00 & 20000,00
& 20000,00 & 20000,00 & 20000,00 & 20000,00 & 20000,00 \\ \hline
1.2.8 Material y útiles de oficina & 20000,00 & 20000,00 & 20000,00 & 20000,00 & 20000,00 &
20000,00 & 20000,00 & 20000,00 & 20000,00 & 20000,00 & 20000,00 & 20000,00 \\ \hline
1.2.9 Electricidad & 20000,00 & 20000,00 & 20000,00 & 20000,00 & 20000,00 & 20000,00 &
20000,00 & 20000,00 & 20000,00 & 20000,00 & 20000,00 & 20000,00 \\ \hline
1.2.10 Agua y desagüe & 10000,00 & 10000,00 & 10000,00 & 10000,00 & 10000,00 & 10000,00 &
10000,00 & 10000,00 & 10000,00 & 10000,00 & 10000,00 & 10000,00 \\ \hline
1.2.11 Servicio de correo & 35000,00 & 35000,00 & 35000,00 & 35000,00 & 35000,00 & 35000,00 &
35000,00 & 35000,00 & 35000,00 & 35000,00 & 35000,00 & 35000,00 \\ \hline
\end{tabular}
% \caption*{Lorem ipsum}
}
\label{tab:Table1}
\end{landscape}
\end{document}

Any suggestion?
Thanks in advance
Charlie