Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Here is an MWE. If you compile this to PDF, you get a half-empty page on the first page, as the last part of the text doesn't come up, but is forced onto a new page. Compare this with the same thing, but with the \begin{landscape} removed.

\documentclass[11pt,a4paper,twoside,openright]{book}
\usepackage{graphicx}
\usepackage{pdflscape}

\begin{document}

\chapter{blah}

blah blah

\section{something}
\begin{landscape}
\begin{figure}[p!]
  \includegraphics{figures/someimage.pdf}
\end{figure}
\end{landscape}


A whole lot more text.

\end{document}

Thing is, I really need a full page landscape for this particular figure, because it has so much detail. Is there a way to do this that doesn't break the text flow so badly? (perhaps using another package? the pdflscape documentation is horrendous - 14 pages, and only two lines dedicated to usage.)

share|improve this question
2  
landscape does \clearpage you don't want that just use a figure and rotate the image with \rotatebox{90}{\includegraphics...} or if you want the caption on its side as well use teh sideways figure env from the rotating package –  David Carlisle Sep 14 '12 at 8:17
    
You should make that an answer, @DavidCarlisle –  naught101 Sep 14 '12 at 9:32

2 Answers 2

up vote 4 down vote accepted

landscape does \clearpage you don't want that, just use a figure and rotate the image with

\rotatebox{90}{\includegraphics...} 

or if you want the caption on its side as well use the sidewaysfigure environment from the rotating package

share|improve this answer
    
sidewaysfigure works nicely. Thanks! –  naught101 Sep 17 '12 at 4:32

Package afterpage does the trick. If the environment landscape is put into \afterpage then the landscape page is inserted after the current page is completed.

\documentclass[11pt,a4paper,twoside,openright]{book}
\usepackage{graphicx}
\usepackage{pdflscape}
\usepackage{afterpage}

\begin{document}

\chapter{blah}

blah blah

\section{something}
\afterpage{\begin{landscape}
\begin{figure}[p!]
  \includegraphics{figures/someimage.pdf}
\end{figure}
\end{landscape}}

A whole lot more text.

\end{document}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.