latex - including a landscape pdf
Having no end of trouble including a large landscape pdf in a portrait .tex document (using pd开发者_JS百科flatex).
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}
You may want to have a look at the pdfpages
package which "simplifies the inclusion of external multi-page PDF documents in LATEX documents".
To include pages as landscape you can use the following:
\usepackage{pdfpages}
\includepdf[landscape=true]{circuit.pdf}
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.
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 !!!
精彩评论