← 返回命令列表

Linux command

pdfpages 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Include PDF in LaTeX

\includepdf{[document.pdf]}

Include specific pages

\includepdf[pages={1,3,5}]{[document.pdf]}

Multiple pages per sheet

\includepdf[nup=2x2]{[document.pdf]}

Include all pages

\includepdf[pages=-]{[document.pdf]}

说明

pdfpages is a LaTeX package for including external PDF documents. It supports multi-page inclusion, n-up printing, and page selection, making it essential for combining documents.

参数

pages
Page selection (-, 1-5, {1,3,5}, last).
nup
Pages per sheet layout (2x2, 3x2).
landscape
Landscape orientation.
frame
Draw frames around pages.
scale
Scale factor.
offset
Position offset.

FAQ

What is the pdfpages command used for?

pdfpages is a LaTeX package for including external PDF documents. It supports multi-page inclusion, n-up printing, and page selection, making it essential for combining documents.

How do I run a basic pdfpages example?

Run `\includepdf{[document.pdf]}` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does pages do in pdfpages?

Page selection (-, 1-5, {1,3,5}, last).