Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

If I compile the following code, I get a slide where the normal block body text size is tiny as written in the code, while the body text size of example and alert block doesn't change.

I've also tried other combinations of \setbeamerfont, but none of them are able to change the body text size of example and alert blocks.

\documentclass[aspectratio=169]{beamer}
\usetheme{Frankfurt}

\setbeamerfont{block title}{size=\Huge}

\setbeamerfont{block body}{size=\tiny}
\setbeamerfont{block title example}{size=\Huge}
\setbeamerfont{block body example}{size=\tiny}

\begin{document}

\begin{frame}
  \begin{exampleblock}{Title}
    Test
  \end{exampleblock}
  \begin{alertblock}{Title}
    Test
  \end{alertblock}
  \begin{block}{Title}
    Test
    \begin{itemize}
      \item Item
    \end{itemize}
  \end{block}
\end{frame}

\end{document}

enter image description here

share|improve this question
    
Welcome to TeX.SE! –  cmhughes Feb 1 '13 at 4:23

1 Answer 1

up vote 7 down vote accepted

With template block body alerted you will change example and alerted block body fonts. According to the manual block body example should be used to fix example body font, but with Frankfurt theme it didn't work.

\documentclass[aspectratio=169]{beamer}
\usetheme{Frankfurt}

\setbeamerfont{block title}{size=\Huge}

\setbeamerfont{block body}{size=\tiny}
\setbeamerfont{block title example}{size=\Huge}
\setbeamerfont{block body alerted}{size=\tiny}
\setbeamerfont{block body example}{size=\Huge}

\begin{document}

\begin{frame}
  \begin{exampleblock}{Title}
    Test
  \end{exampleblock}
  \begin{alertblock}{Title}
    Test
  \end{alertblock}
  \begin{block}{Title}
    Test
    \begin{itemize}
      \item Item
    \end{itemize}
  \end{block}
\end{frame}

\end{document}

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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