Take the 2-minute tour ×
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.

My talk slides use a mostly-white background image (supplied by organizers) that has some visual patterns at the bottom. I would like to tell beamer to not cover these patterns (as it makes text less readable).

I can set horizontal margins with \setbeamersize.

But how can I set vertical margins for all my slides?

share|improve this question
    
@Papiro: I need to set vertical margins. –  Alexander Gladysh Apr 21 '13 at 3:45
    
Beamer moves the text area down so it won't overlap with the title bar, but \textheight is not resized. This can be seen by putting \includegraphics[height=\textheight]{example-image} in a normal and plain frame. It seems the only solution to your problem is not to put anything at the bottom of the frame. –  erik Apr 24 '13 at 11:54

1 Answer 1

For the top margin you may try to place a \vspace in the frametitle:

\setbeamertemplate{frametitle}{
    \vspace{2cm}\\
    \insertframetitle
}

and for the bottom margin, a \vspace in the footline:

\setbeamertemplate{footline}{
    \vspace{0.5cm}
}
share|improve this answer
    
Does not work for me. –  Alexander Gladysh Apr 22 '13 at 9:00
1  
A MWE would be useful. However, beamer loads the geometry package, so you can play around with the following and set the best result for you (it accepts negative values): \geometry{ paperwidth=\the\paperwidth, paperheight=\the\paperheight, hmargin=1cm,% vmargin=0cm,% head=0.5cm, % headsep=0pt,% foot=0.5cm % } –  cacamailg Apr 22 '13 at 12:29
    
I didn't mentioned that but my solution can't work with a [plain] frame because there isn't any frame title nor footline in this kind of frame. Aren't you in this case? –  GuillaumeM Apr 22 '13 at 15:01

Your Answer

 
discard

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.