Document Classesbeamer | Setting top Margin

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
litearc
Posts: 2
Joined: Fri Apr 06, 2012 9:11 am

beamer | Setting top Margin

Post by litearc »

Hi, I'm new to latex and beamer. I modified a beamer theme and have most things working, but I can't figure out how to set the top margin for the frame contents when there is no frame title. When there is a frame title, I can make changes to \defbeamertemplate*{frametitle}, but otherwise, I don't know how to shift the frame contents up or down. There doesn't seem to be any option for setting the top margin, and currently the frame contents start too high up in the frame. One way would be to add a \vskip at the beginning of each frame, but there has to be a better way. Please help! Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

litearc
Posts: 2
Joined: Fri Apr 06, 2012 9:11 am

Re: beamer | Setting top Margin

Post by litearc »

Okay, so this worked. I added a \vskip10pt to the end of the header template and a \vskip-10pt to the beginning of the frametitle template. There may be other ways to do this, but this seemed to do it for me...
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

beamer | Setting top Margin

Post by Stefan Kottwitz »

Hi,

welcome to the board!

As you did not say which beamer theme you used and how you modified it, it's hard to help. A Infominimal working example for demonstration would have helped, and still could do.

Stefan
LaTeX.org admin
Post Reply