1

I'm playing around with Beamer themes and currently designing a custom title page. However, I can not figure out where the margin between the top of the frame and the top of the text comes from.

MWE:

\documentclass{beamer}
\begin{document}
                                                  
\begin{frame}[t,plain]
Test
\end{frame}
\end{document} 

There is additional space between Test and the top of the frame. Where does it come from?

1 Answer 1

0

The \beamer@frametopskip is normally set to .2cm plus .5\paperheight for top aligned frames. You can change it like this:

\documentclass{beamer}

\makeatletter
\define@key{beamerframe}{t}[true]{% top
  \beamer@frametopskip=0cm plus .5\paperheight\relax%
  \beamer@framebottomskip=0pt plus 1fill\relax%
  \beamer@frametopskipautobreak=\beamer@frametopskip\relax%
  \beamer@framebottomskipautobreak=\beamer@framebottomskip\relax%
}
\makeatother

\begin{document}
                                                  
\begin{frame}[t,plain]
Test
\end{frame}
\end{document} 

enter image description here

(using a different background colour for the image so one can see more clearly where the frame stops)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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