TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a pdf file consisting of four pages (see attached). I want to include it in Latex, but when I use the basic code given below, only the first page of the pdf appears. I want to do is to present one pdf page in each latex file. Suggestions please


enter image description here

share|improve this question

for a single page of a multipage .pdf:




or if you want all pages:



share|improve this answer
Thanks @Herbert. This is what I was after. How could I scale the pdf? \includepdf[pages=1-]{scale=0.51}{bplot.pdf} does not work – Günal Jan 12 '13 at 12:52
I modified my answer, see the example. – Herbert Jan 12 '13 at 12:53
Thanks a million. Perfectly works :) – Günal Jan 12 '13 at 12:55
how can I add a caption? – Günal Jan 12 '13 at 18:57
for every page or the last one? – Herbert Jan 12 '13 at 19:12

You can use pdfpages package.





The [pages=2] displayes the first page. To insert multiple pages, insert a list such as [pages={1,4}] or a range such as [pages={1-4}]. Check the pdfpages manual for details on package and command options.

share|improve this answer
This adds only the first page. Is there another package I should be using? – Günal Jan 12 '13 at 12:41
I used \includepdf[pages=2]{bplot.pdf} \includepdf[pages=3]{bplot.pdf} etc. The problem is now the scale. I used \includepdf[pages=3][scale=0.5]{bplot.pdf}, that soes not work. Any suggestions? – Günal Jan 12 '13 at 12:47
@Günal added to the reply. The argument templatesize={width}{height} should provide scaling. See the pdfpages manual for the details. – Peter Jansson Jan 12 '13 at 12:52

Compile the following code with either pdflatex or xelatex.






enter image description here

share|improve this answer
Top secret note: Compiling it with xelatex produces a weird PDF. Please try! – kiss my armpit Jan 12 '13 at 13:31
I have no problem with xelatex. Current up-to-date TL2012 – Herbert Jan 12 '13 at 14:23
@Herbert: OK. Thanks for confirming. I still get the same weird result. – kiss my armpit Jan 12 '13 at 14:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.