# Custom Beamer Theme: Set normal font size

As a follow up to an earlier question I asked, I need to be able to set the normal font size to 20pt for a Beamer presentation. The catch is, I can't use

\documentclass[20pt]{beamer}


because I want to set this font size inside a custom theme that the end users can just load without needing to supply the extra [20pt].

\setbeamerfont{normal text}{size=20pt}


but no joy!

• Have you tried something like \setbeamerfont{normal text}{series=\normalfont, size=\fontsize{20}{24}} or \AtBeginDocument{\fontsize{20}{24}\selectfont} in your beamer theme? – user36296 Nov 28 '13 at 15:36
• @samcarter Thanks for the suggestions. Neither one worked, unfortunately. – Joseph R. Nov 28 '13 at 22:33

Based on the code from previous question:

\documentclass{beamer}

\defbeamertemplate*{footline}{my footline}
{
\ifnum \insertpagenumber=1
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=\paperwidth,ht=2.25ex,dp=1ex,center]{}%
% empty environment to raise height
\end{beamercolorbox}}%
\vskip0pt%
\else
\leavevmode%
\hbox{%
\end{beamercolorbox}}%
\vskip0pt%
\fi
}

\setbeamertemplate{footline}[my footline]

\AtBeginDocument{\fontsize{20}{24}\selectfont}

\title{Some Title}

\begin{document}

\begin{frame}
\titlepage
\end{frame}

\begin{frame}{Frame 1}
This is a normal frame.
\end{frame}
\end{document}