6

Assume I have a A3 landscape PDF, how can I include this into a A4 portrait latex document but still as A3-page?

If I have one.tex producing a landscape A3:

\documentclass{article} 
\usepackage[a3paper,landscape]{geometry} 
\usepackage[demo]{graphicx} 
\begin{document} 
\begin{center}   
\includegraphics[width=\textwidth,height=\textheight]{figure} 
\end{center} 
\end{document}

After creating one.pdf with pdflatex, I can insert this into a A4 portrait document two.tex:

\documentclass{article}
\usepackage[a4paper]{geometry}
\usepackage{pdfpages}
\usepackage{lipsum}
\begin{document}
\lipsum[1-10]\clearpage
\includepdf[pages=1,noautoscale]{one}
\lipsum[1-10]
\end{document}

However, this does not work (pdflatex, TexLive '15) because this one.pdf is inserted as A4 portrait where the A3 is center clipped.

I am looking for the easiest solution (least invasive for my existing class/document).

Is it possible to get this working?

12

You need the fitpaper option instead of noautoscale

\documentclass{article}
\usepackage[a4paper]{geometry}
\usepackage{pdfpages}
\usepackage{lipsum}
\begin{document}
\lipsum[1-10]\clearpage
\includepdf[pages=1,fitpaper]{one}
\lipsum[1-10]
\end{document}

enter image description here

  • Thank this was the option I was looking for. This did the trick.. Top. Thanks – robert Jul 22 '16 at 5:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.