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

are there any ways to incorporate some slides in existing beamer file into my beamer? Say, I want to put slide 2 in file A (a beamer pdf file) into my beamer presentation, can this be done?

PS: file A is a pdf and does not have bounding box.

share|improve this question
Every PDF has a bounding box - otherwise it would be broken. – Martin Schröder May 27 '12 at 13:10
Formally speaking, a PDF has no "bounding box". Available boxes with their full names are: /MediaBox, /CropBox, /BleedBox, /ArtBox and /TrimBox. The only required box info that must be present in a PDF file is the /MediaBox. If undefined, the other boxes should be assumed by PDF-processing software to have the same values as the /MediaBox... – Kurt Pfeifle May 23 '15 at 15:32

To import a slide from another beamer presentation as a "picture", you can use pdfpages. You'll have to \setbeamercolor{background canvas}{bg=} as explained in this answer because only a white frame will be shown otherwise:

\setbeamercolor{background canvas}{bg=}

However, if you use head- or footlines or even a different theme in your existing presentation, this will probably not fit snugly. In this case, a better solution would be to actually import the source code of the existing presentation, which can be done using the docmute package in combination with the \againframe command:

Suppose this is your existing presentation filea.tex: You need to give the slides you want to import a name using the label option of the frame environment, like this:

Frame to be included

Then you can use this code in your new presentation:



  The new presentation

Issuing \loadpresentation{filea.tex} imports the frames from your existing presentation without displaying them. You can insert them wherever needed using \againframe with the label you chose in filea.tex. The command \loadpresentation should be used someplace after \begin{document} (but before you actually include a frame from this presentation, of course).

This works roughly the same as if you'd actually copy the source code of the frame from the existing presentation, so things like overlays etc. are taken over.

share|improve this answer
Just a heads-up : there is a typo in [pages=3}. It should be a bracket instead of a brace – YuppieNetworking Jul 12 '13 at 11:10
@YuppieNetworking Thank you, I fixed it. – diabonas Jul 12 '13 at 14:01

If you want to put a "thumbnail" of some target beamer PDF fileA in your source, you can use


where <n> is the absolute page number of the slide in fileA.pdf, and <len> is the width of the imported page. You can also scale this using the other options provided by graphicx. beamer loads graphicx by default, so the functionality is already available.

If you want to put a "full page" of some target beamer PDF fileA in your source, you can use


where <n> is the absolute page number of the slide in fileA. The slide is stretched to fit \paperwidth so should overlay the source presentation completely.

The vertical correction (1pt) is needed to maintain a consistent display from one slide to the next.

share|improve this answer
this comes with a bounding box error, it seems the fileA does not have bounding box. – Richard May 26 '12 at 16:21
@Richard: Not in my minimal testing. You should post two minimal examples as part of your question. One for fileA (if created using LaTeX) and one for you main document. – Werner May 26 '12 at 16:41
the main doc is a beamer presentation created in latex, and file A is a pdf generated in Mac. – Richard May 26 '12 at 17:57
up vote 0 down vote accepted

I end up with using very basic solution.

how to incorparate slides in existing multi-page pdf (say file A) into my beamer?

@windows, cutepdf to print many one-slide pdfs B from file A.

@ubuntu, pdftops to create per-slide eps C for each pdf B.

then, load those eps C in latex.

share|improve this answer
EPS? Why don't you create PDFs? – Martin Schröder May 27 '12 at 13:09
If you want to cut and paste together pages from multiple pages, pdftk is usually a sensible option. (More sensible than using pdftops in any case). – Yannick Versley Apr 16 '15 at 12:55

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.