I'm experiencing an issue when trying to create a page with several stacked sideway graphics: Latex insists in doing a page break and leaving a blank page before inserting the desired content. Here is a MWE for my problem (I'm compiling with pdfTeX, Version 3.1415926-1.40.11 ).
Code: Select all
\documentclass[a4paper]{report}
\usepackage[top=25mm, bottom=35mm, left=25mm, right=25mm]{geometry}
\usepackage{rotating}
\usepackage{lastpage}
\usepackage{changepage}
\begin{document}
Some text in a page with nice headers and footers.
% And here should come my huge sideway figure that will
% take a full page
\newpage
\thispagestyle{empty}
\addtolength{\textwidth}{2.0cm}
\addtolength{\linewidth}{2.0cm}
% Just to emulate my real graphics with some space, let's
% define some lengths
\newlength{\graphicone}
\setlength{\graphicone}{0.33\textwidth}
\newlength{\othergraphics}
\setlength{\othergraphics}{0.2\textwidth}
% Finally the content
\begin{adjustwidth*}{-1.0cm}{-1.0cm}
\begin{sidewaysfigure}
\centering
\parbox[m]{\textheight}{HEADER \hfill CONTENTS \hfill HERE}\\
\vspace{\baselineskip}
\fbox{\parbox[m]{\textheight}{\raisebox{\graphicone}{} \hfill figure \hfill .}}
\fbox{\parbox[m]{\textheight}{\raisebox{\othergraphics}{} \hfill narrowsubfigures \hfill .}}
\fbox{\parbox[m]{\textheight}{\raisebox{\othergraphics}{} \hfill narrowsubfigures \hfill .}}\\
\vspace{2\baselineskip}
\centerline{\scriptsize{This should be \thepage\ of \pageref{LastPage}}}
\end{sidewaysfigure}
\end{adjustwidth*}
\end{document}
Thanks for your attention!