0

I'm writing an article, with 2 columns. Because my picture is too large I want to put it on a new landscape page. So I used the following code:

\newgeometry{left=3.0cm,bottom=30mm,top=20mm}

\afterpage{%
    \clearpage% Flush earlier floats (otherwise order might not be correct)
    \thispagestyle{empty}% empty page style (?)
    \begin{landscape}% Landscape page

\begin{figure} [H]
    \centering
    \includegraphics[scale=1]{./figures/Figure2.png}
    \caption{Xx}
    \label{fig:historicaldata}
\end{figure}

   \end{landscape}
    \clearpage% Flush page
}

\restoregeometry

But then first a white page appears in between and after that the two column layout is gone :(. Does anyone know how to fix this?

  • Welcome! Can you please complete your code so we can compile it? But try putting landscape into \newgeometry and remove the landscape environment. \clearpage\newgeometry{...,landscape}\thispagestyle{empty}. Though probably you'd be better advised to use something like sidewaysfigure from the rotating package. – cfr Mar 23 '16 at 0:25
1

I would use the rotating package's sidewaysfigure* environment. For example:

\documentclass[twocolumn]{article}
\usepackage{geometry,graphicx,kantlipsum,rotating}
\begin{document}
\kant[1-4]
\begin{sidewaysfigure*}
  \centering
  \includegraphics[scale=.7]{example-image-letter-landscape}
  \caption{A rotated figure}
\end{sidewaysfigure*}
\kant[5-10]
\end{document}

landscape figure

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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