I'm using the lscape
package to landscape certain pages of the document. These pages basically are a section/subsection heading plus a table that must be landscaped. The problem is that entering landscape mode forces a pagrebreak, so I end up having a first blank page with only the section/subsection heading and a second page with the table. This code should illustrate the problem:
\documentclass[12pt,letterpaper]{article}
\usepackage{lscape}
\begin{document}
\section{Foo}
\subsection{Bar}
\begin{landscape}
Landscaped content
\end{landscape}
\end{document}
Is there any way to avoid the pagebreak and have the heading and the content in the same page?
Note: I don't want to landscape the section/subsection heading.
Best Answer
I answered a similar question in a German forum so I take this example.
I recommend the package
hvfloat
which does exactly what you want.