[Tex/LaTex] set the font in a beamer presentation to Computer Modern Roman

beamerfonts

How can I set the default beamer font to the Computer Modern Roman font?

Best Answer

You can use \usefonttheme{serif} to get the default serif fonts.

\documentclass{beamer}
\usefonttheme{serif}
\usepackage{lipsum}
\begin{document}
  \begin{frame}
    \lipsum[1]
    \[x^2=25\]
  \end{frame}
\end{document}

enter image description here

You may add

\usefonttheme{serif}
\usepackage[T1]{fontenc}
\usepackage{lmodern}

to get nice scalable fonts.

\documentclass{beamer}
\usefonttheme{serif}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{lipsum}
\begin{document}
  \begin{frame}
    \lipsum[1]
    \[x^2=25\]
  \end{frame}
\end{document}
Related Question