在乳胶#2中插入pdf文件

时间:2018-12-16 22:44:00

标签: pdf latex pdflatex

参考上一个问题 Inserting a pdf file in latex 我想问一下如何通过完全填充一页来将PDF页面插入乳胶文档。

如果我包含一个页面的设计元素的页面边缘距页边距为零,则该链接中提供的解决方案将导致以下结果,从而为所包含的页面添加不同大小的白色页边距: enter image description here 如何适当地做到这一点? 我确实解决了问题,方法是通过

\includepdf[noautoscale = true,scale=1.03 ]{<file>}

,但这并不能使旧页面边缘与新页面边缘精确匹配。有干净的版本吗?

没有完成的解决方案带来了预期的结果: https://tex.stackexchange.com/questions/105589/insert-pdf-file-in-latex-document

谢谢!

1 个答案:

答案 0 :(得分:-1)

调整 pdf 页面的宽度和高度。首先,您应该使用 noautoscale 才能使用宽度和高度。

备注:不要使用 fitpaper=truetrim=Left Bottom Right Top,因为它们是用于几何页面而不是调整您的 pdf 页面。

\documentclass[]{book}
\usepackage[]{pdfpages}
 
\begin{document}
\includepdf[pages={1},noautoscale,width=5cm,height=10cm]{your.pdf}
\end{document}