Page Layoutpdfpages | Problems with Binding Margin

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
casperyc
Posts: 50
Joined: Thu Oct 15, 2009 11:23 pm

pdfpages | Problems with Binding Margin

Post by casperyc »

Hi,

I am trying to fit a document to have binding margins.

Situation 1:

PDF pages have all same size, A4.
(ASDF2.pdf)

Code: Select all

\documentclass[12pt,a4paper]{article}

\usepackage{amsmath}

\usepackage{pdfpages}
%\includepdfset{offset=2cm 0cm}


%\usepackage[left=1cm,top=0.5cm,bottom=0.5cm,right=0.5cm]{geometry}

\begin{document}

	\includepdf[
	pages=-,
	offset=2cm 0cm
	]{ASDF2.pdf}


\end{document}

%%
Situation 2:

PDF pages have different sizes. (ASDF.pdf)

Code: Select all

\documentclass[12pt,a4paper]{article}

\usepackage{amsmath}

\usepackage{pdfpages}
%\includepdfset{offset=2cm 0cm}


%\usepackage[left=1cm,top=0.5cm,bottom=0.5cm,right=0.5cm]{geometry}

\begin{document}

	\includepdf[
	pages=-,
	offset=2cm 0cm
	]{ASDF.pdf}


\end{document}

%%
Either automatically rescale the pages to fit the paper.

I thought it DOES automatically rescale to fit the paper??

Thanks!!

casper
Attachments
ASDF2.pdf
same sizes, A4
(99.3 KiB) Downloaded 214 times
ASDF.pdf
Different sizes
(119.19 KiB) Downloaded 173 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply