Suppose I wrote several latex files, resulting with several pdf files that I want to concatenate together.

Now suppose that different latex files are written with different templates and packages and I do not want to mess up with latex files too much. What would be the cleanest way to concatenate these files?

Would the case of the same template to write pdf files - such as tufte-latex - make concatenation easier?

  • 1
    Depending on what exactly you want to achieve, the pdfpages packages might be useful. – leandriis Jan 17 at 18:45

If you would like to simply put all the pdfs together, you can use this basic code:



% first page of the pdf

% all pages

% all pages starting from page 2 


For more information, look here: pdfpages documentation.

This will not change your LaTeX files at all. However, in the resulting pdf hyperlinks will not work. (Also, page numbering etc. will not change.)

(As mentioned by @leandriis)

  • 1
    Note that some things such as hyperlink (and drop shadows -- been meaning to file a question about this, but haven't done it yet) will be missing in the pdf generated with pdfpages. – Peter Grill Jan 17 at 20:59
  • That's true, I added the hyperlink part. – Tom Jan 17 at 22:08

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.