36

Having no end of trouble including a large landscape pdf in a portrait .tex document (using pdflatex).

When it does show up, only the leftmost end of the pdf shows up, now matter how small i make the scale. And i cant seem to get it to show in landscape mode at all...

Is anything wrong with the code i am using?

\begin{landscape}
\includegraphics[scale=0.1]{Appendix2.pdf}
\end{landscape}
malangi
  • 2,692
  • 4
  • 28
  • 42

3 Answers3

55

You may want to have a look at the pdfpages package which "sim­pli­fies the in­clu­sion of ex­ter­nal multi-page PDF doc­u­ments in LATEX doc­u­ments".

To include pages as landscape you can use the following:

\usepackage{pdfpages}

\includepdf[landscape=true]{circuit.pdf}
Steve
  • 6,334
  • 4
  • 39
  • 67
Mica
  • 18,501
  • 6
  • 46
  • 43
21

You can rotate included figures with angle, so for your case something like

\includegraphics[scale=0.1,angle=90]{Appendix2.pdf}

The angle is in degrees; maybe you need to use angle=-90 instead.

As for "when it does show up, only the leftmost end of the pdf shows up", you might have a problem with the bounding box, but this really depends on how you create the file.

Benjamin Bannier
  • 55,163
  • 11
  • 60
  • 80
  • I think that was it - when i got it to show the bounding box, i could only see the top left corners.. would fix itself no matter what code i tried. strange. – malangi Mar 26 '10 at 17:59
2

I found this very interesting. To have landscape, just add angle=-90. \includepdf[pages={1}, angle=-90]{xxxxxx.pdf}, and that is all. Have fun !!!

Community
  • 1
  • 1
dmx
  • 1,862
  • 3
  • 26
  • 48