[Tex/LaTex] How to put 2 PDF files into a single page

pdfpages

I have two separate pdf files which, when combined, are smaller than A4 paper. Is there a way to create a single page out of them without page break with these two being rendered on the same page? I've tried to use pdfpages, but I only get them on separate pages.

Best Answer

There are two possibilities.

  1. Using the package graphicx: As long as you compile with pdflatex you can include every external pdf file with \includegraphics.

    \includegraphics{doc1.pdf}
    \includegraphics{doc2.pdf}
    
  2. Using the package pdfpages: The package provides the command \includepdfmerge which can handle multiple pdf files:

    \includepdfmerge[nup=1x2, landscape]{doc1.pdf, doc2.pdf}