13

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

17

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

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.