Get a site

Inserting a pdf file in LaTeX

This is a very very very short post. It is really a simple trick that I regularly forget every time I’m writing in LaTeX: how to insert a pdf file.

Well, first of all you have to use the right package: pdfpages.


Then, to include the pdf file, you have to write in your tex source:


specifying the number of the pages you want to include as option, leave blank to insert the whole document.

That’s all. GWH!

Published by Francesco Serafin

I am a PhD student at the Department of Civil, Environmental and Mechanical Engineering at the University of Trento. My two greatest loves: Computer Science and Water (take three with my Lenovo!:D). As a result, the aim of my life is to make both passions coexist. My gpg public key available at

Leave a Reply

Your email address will not be published.

%d bloggers like this: