在 LaTeX 中插入 PDF 文件 [英] Inserting a PDF file in LaTeX
本文介绍了在 LaTeX 中插入 PDF 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在我的 LaTeX 文件中插入 PDF 或 doc 文件作为附录.你知道我该怎么做吗?
I am trying to insert a PDF or doc file as an appendix in my LaTeX file. Do you know how I can do this?
推荐答案
使用pdfpages代码>
包.
usepackage{pdfpages}
要包含 PDF 文件中的所有页面:
To include all the pages in the PDF file:
includepdf[pages=-]{myfile.pdf}
仅包含 PDF 的第一页:
To include just the first page of a PDF:
includepdf[pages={1}]{myfile.pdf}
在 shell 中运行 texdoc pdfpages
以查看 pdfpages
的完整手册.
Run texdoc pdfpages
in a shell to see the complete manual for pdfpages
.
这篇关于在 LaTeX 中插入 PDF 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文