TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

In default, beamer class loads the geometry package. And I dont know how to map the \paperwidth and \textwidth to its mechanism. My requirement is very simple. I want to add some margin to {top, left, bottom, right}. Do you know how to do that?

For simplification, I upload a sketch image:

enter image description here

Can I do this with \setbeamersize command?

Edit: Thank you for your answer. But can I do this with no walk-around way. I mean can I just customize beamer class. I also need to separate header/body/footer to customize. I dont want to cron them or zoom them as whole document

share|improve this question
Maybe the pgfpages package (not pdfpages) might help you here. It is from the same author as beamer and often used for handouts etc. where you need to modify the logical page (2 on 1 etc.) – Martin Scharrer May 26 '12 at 15:27
Do you want to keep the original size for the content and add additional margin, thereby increasing the paper size or do you want to reduce the used size while keeping the original paper size? – Martin Scharrer May 26 '12 at 15:29
@MartinScharrer I edited my answer to point out that crop can be used in both cases. – lockstep May 26 '12 at 16:14
After reading your question several times, I can't understand what's the request. :-( – egreg May 27 '12 at 13:52

You could use \geometry plus the crop package. This way, beamer will assume a smaller paper size and correctly place frame titles, header/footer etc.

EDIT: In the following example, I have kept beamer's original paper size of 128*96mm for crop, while reducing the width and height by 10mm each for beamer/\geometry. One could also increase the width and height used by crop and retain the original values for beamer/\geometry (by simply omitting the respective code line).

EDIT 2: For different top/bottom margins one may replace crop's center option with its underlying code and tinker with the \voffset length.



% The following is moelled on `crop`'s `center` option
\voffset.33\voffset% instead of .5\voffset


\begin{frame}{Frame title}
Some text.


enter image description here

share|improve this answer
Sorry, but it doesn't work, can you show you border or fill the frame body with certain background – pythonee May 26 '12 at 16:24
@pythonee The frame visible left and right in the new picture is the "inner" border. If that's not what you want, please update and clarify your question. – lockstep May 26 '12 at 16:31
I have uploaded new image to illustrate what I want. As Martin said I want reduce the used size while keeping the original paper size – pythonee May 26 '12 at 16:49
@pythonee That's exactly what the complete example in my answer does. – lockstep May 26 '12 at 17:05
But how can I define different top-margin and bottom-margin – pythonee May 26 '12 at 17:35

Let presentation.pdf be your slide document.

The following code will import the slide and enclose each page with a border.







Compile it with either pdflatex or xelatex.

Without border:

enter image description here

With borders:

enter image description here

share|improve this answer
Note that with this approach, the link buttons no longer work. :-) – kiss my armpit May 26 '12 at 19:08
Look at my reversion question – pythonee May 27 '12 at 1:03

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.