在latex中插入pdf文件 [英] Inserting a pdf file in latex

查看:1971
本文介绍了在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 package。

Use the pdfpages package.

\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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆