Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Combine multiple pdfs using pdflatex

Combine multiple pdfs using pdflatex

Purpose

To combine multiple pdf files into a single pdf file

Usage

  1. Edit CombinePDFs.tex with the name of the pdfs you wish to combine.
  2. Place in same directory with the pdfs you are combining.
  3. Run pdflatex CombinePDFs.tex
\documentclass[11pt,letterpaper]{article}
\usepackage[final]{pdfpages}
\begin{document}
\includepdf[pages=-]{file1.pdf}
\includepdf[pages=-]{file2.pdf}
\includepdf[pages=-]{file3.pdf}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment