Monday, September 17, 2012

pdfpages: To Scale Freely

An improperly scaled pdf page requires tweaking its size. We use scale from graphicx to resize a page, combined with disabling auto-scale, offering an offset = {top, left}.
\documentclass[landscpae]{article}
\usepackage{grffile}  %to treat the spaces in the file name if needed%
\usepackage{pdfpages,graphicx} %the package to do the combination job%
\begin{document}
{
\includepdf[pages={1}, landscape, scale=1.1,noautoscale=true,offset={100 45}]
{OrariDiDirettrice-E12I-02.pdf}
\includepdf[pages={2}, landscape, scale=1.4,noautoscale=true,offset={150 150}]
{OrariDiDirettrice-E12I-02.pdf}
}
\end{document}

No comments:

Post a Comment