Latex - 包括风景 pdf
将大型横向 pdf 包含在纵向 .tex 文档中(使用 pdflatex)会遇到无穷无尽的麻烦。
当它确实显示时,只显示 pdf 的最左端,现在无论我将比例设置得有多小。我似乎根本无法让它以横向模式显示...
我使用的代码有什么问题吗?
\begin{landscape}
\includegraphics[scale=0.1]{Appendix2.pdf}
\end{landscape}
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}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可能想查看
pdfpages
包 它“简化了 LATEX 文档中外部多页 PDF 文档的包含”。要将页面包含为横向,您可以使用以下命令:
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:
您可以使用
angle
旋转包含的图形,因此对于您的情况,类似于The angle is in Degrees;也许您需要使用
angle=-90
来代替。至于“当它确实显示时,仅显示 pdf 的最左端”,您可能会遇到边界框问题,但这实际上取决于您创建文件的方式。
You can rotate included figures with
angle
, so for your case something likeThe 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.
我发现这非常有趣。要获得横向效果,只需添加
angle=-90
。\includepdf[pages={1}, angle=-90]{xxxxxx.pdf}
,仅此而已。玩得开心 !!!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 !!!