Combine PDFs into single file in LaTeX

Occasionally, you will probably need to combine a set of PDF files into a single PDF file

LaTeX can do it – But it can be a pain to get the correct appearance and find the correct API parameters for scaling, margins, number of pages per PDF, etc. Below is a quick snippet that should just work.

LaTeX Code:

\documentclass[]{article}

\usepackage{pdfpages}
\begin{document}

\includepdf[pages={1-},scale=1]{1.pdf}
\includepdf[pages={1-},scale=1]{2.pdf}
\includepdf[pages={1-},scale=1]{3.pdf}
% -- add more pdf files here --

\end{document}

If you don’t have a LaTeX compiler, you can probably just get away with https://www.pdfmerge.com instead, if < 15 mb.

hth.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.