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.
rotating
package.rotating
creates floats, and my guess is that the request was about keeping all the stuff (headings and table) on the same page. if i'm right,\rotatebox
(from thegraphicx
package) is what's needed, together with some fiddling to get things to line up. (the last is why i don't post an answer ... i can't currently test things.)