I want to rotate page with large figure in pdf viewer and it works only in xetex.

I found many similar questions and tried answers here but no one works as expected for me. There happen unwanted page breaks, to much pages are rotated, wrong page is rotated, page is converted to landscape, etc...

So how?


\Blindtext END ONE

\Blindtext END TWO

    % this works with xetex
    \special{pdf: put @thispage <</Rotate 90>>}%
    % so how to rotate page for luatex, pdftex, etc...? 
    This page should be rotated.

\Blindtext END THREE

\Blindtext END FOUR

  • \pdfpageattr\expandafter{\the\pdfpageattr/Rotate 90} or Rotate 270 depended if doublesided and the orientation you wish to have. – koleygr Feb 18 at 14:03
  • See the pdflscape package. – John Kormylo Feb 18 at 16:45
  • Solution from above link works and that's great. But does it have to be so complicated in comparison to single line command with xetex? Any way to simplify it? – Simon Feb 18 at 20:01

Your Answer

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

Browse other questions tagged or ask your own question.