[Tex/LaTex] Changing font size of selected slides in beamer

beamerfontsize

I am preparing a presentation and I have some slides with up to 15 equations. How can I make the font size of these slides smaller? I need to change the font size to 6.

Best Answer

You can use \fontsize:

\fontsize{<font size>}{<value for \baselineskip>}\selectfont

For example,

\fontsize{6pt}{7.2}\selectfont

changes the font size to 6 points and the \baselineskip to 7.2 points. The latter being the gap between consecutive lines.

You can define a new command to apply the change:

\documentclass{beamer}
\usepackage{lipsum}

\newcommand\Fontvi{\fontsize{6}{7.2}\selectfont}

\begin{document}

\begin{frame}
\frametitle{Frame with reduced font size}
\Fontvi
\lipsum[1]
\end{frame}

\begin{frame}
\frametitle{Frame with regular font size}
\lipsum[1]
\end{frame}

\end{document}