7

I have been struggling with this for a couple of hours: Including the package lscape immediately rotates the whole document. I have no clue why it happens. The document is very simple:

\documentclass[aps,pre,preprint,superscriptaddress]{revtex4-1}
\usepackage{lscape} 

\begin{document}
\title{}

\maketitle

\section{section 1}
A paragraph
\end{document}

Even with a \begin{landscape} environment the whole document is still changed.

Thank you ahead for any comments.

  • 2
    What is it that you're after exactly? I assume you want to control which pages are landscape and which ones are portrait? – Werner Sep 15 '13 at 6:38
  • 1
    There's seems to be a bad interaction between the lscape package and the revtex4-1 document class. You could try using the rotating package instead of lscape. Sideways-set figures and tables can be created with the sidewaysfigure and sidewaystable environments, respectively. – Mico Sep 15 '13 at 7:51
  • @Wener, yes that is exactly what I wanted to do. I have a long table which needs to be shown in landscape. – user2727768 Sep 15 '13 at 15:13
  • @Mico, thank you for the suggestion. I guess you are right. I tried the "article" class and it works fine. I also tried sidewaytables, but it seems it does not support longtable. And ideas? Thank you in advance. – user2727768 Sep 15 '13 at 15:19
  • 1
    revtex explicitly tests for lscape being loaded and if so redefines some of its internal output routine commands, but then the behaviour is all wrong. It may be worth reporting it to the revtex maintainers. revtex4-1.cls has \appdef\@outputpage@head{% \@ifx{\LS@rot\@undefined}{}{\LS@rot}% }% – David Carlisle Sep 16 '13 at 20:46
2

Indeed, revtex4-1 is known to not interact well with the lscape and pdflscape packages. Would using the revtex4 instead be an option for you?

Note also that recent versions of the emulateapj class have a [revtex4] option that allows to work around the issue with lscape.

See also this article.

  • the same also happens with the pdfpages package and revtex4-1 – glS Oct 18 '17 at 17:59
1

With Revtex 4-1, you have to use turnpage instead of landscape:

\begin{turnpage}
\begin{figure} or \begin{table}
[...]
\end{figure} or \end{table}
\end{turnpage}

Try this, it will work in almost all the cases

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.