22

Recently I found out that I can't use Adobe Acrobat to rotate a multi-page pdf file by .70 degrees. So I have a regular PDF file (flat scan - no text) that I need to rotate.

But I've seen a hint that you can do it with LaTeX.

The example there isn't enough - it only does one page.

Can I do this with LaTex?

36

You can use pdfpages:

\documentclass{article}
\usepackage{pdfpages}

\begin{document}
  \includepdf[pages={-},angle=30]{main}
\end{document}

rotated pdf

  • 1
    PERFECT! That is so easy! You know, you can't even buy pdf software that will do this. Thanks for answering! – bgmCoder Mar 17 '15 at 2:24
  • 3
    @BGM It's actually the same solution as the answer you linked to. pdfpages passes any keys it doesn't know off to the \includegraphics command by default. It can do other things, too, but here it is basically just being used as a wrapper for \includegraphics. (I used 30 degrees because I didn't think 0.70 degrees would show up very well in the screenshot ;).) – cfr Mar 17 '15 at 2:31
  • That's so awesome! I spent hours already trying to rotate that pdf! The more I get into LaTeX the happier I become. Thanks again, cfr. – bgmCoder Mar 17 '15 at 2:33
  • @BGM There is ''Adobe InDesign'', but that requires: making a new document of the required size, placing the PDF at 100% size to fit the document (corner to corner), anchoring your adjustments to the center, rotating, and exporting (which includes PDF compatibility and the other fun publication-level stuff). But I could also simplify to: make document of required size, place PDF, rotate around center, export. But if you mean a piece of software ''dedicated'' to rotating a PDF, I doubt you'll find one. – Cole Johnson Mar 17 '15 at 3:41
  • 1
    @ColeJohnson Sounds very complicated ;). – cfr Mar 17 '15 at 12:56
-4

If you save the pdf as an image (jpg) and use Microsoft Word you can rotate.

  • 8
    Hi and welcome, Converting the pdf to jpg will rasterize the graphic, loosing a huge amount of quality. Using Word cannot be the solution in a LaTeX based environment. – Johannes_B May 6 '15 at 8:42
  • 2
    That won't do if the pdf is composed of multiple pages - and it scraps the fonts so that you can't copy text. – bgmCoder May 6 '15 at 13:33

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.