user1805743
user1805743

Reputation: 1215

Inserting a pdf file in latex #2

Referring to a previous question Inserting a pdf file in latex I'd like to ask how to insert a PDF page into a latex document by filling exactly one page.

If I include a page with design elements that extent to zero margin off the page edges, the solution provided in the link will result in the following, adding white margins of different sizes to the included page: enter image description here how do do this propably? i did workaround-solve it by

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

but this dos not precisely match the old page edges with the new ones. is there a clean version?

Solutions that did not bring the desired results: https://tex.stackexchange.com/questions/105589/insert-pdf-file-in-latex-document

Thanks!

Upvotes: 4

Views: 9134

Answers (1)

Mamoun Mohammed
Mamoun Mohammed

Reputation: 119

To adjust the width and height for your pdf pages. First you should use noautoscale to be able to use width and height.

Remark: don't use fitpaper=true or trim=Left Bottom Right Top because they are for geometry page not to adjust your pdf pages.

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

Upvotes: 1

Related Questions