I'm using Madrid theme for a Beamer presentation.
I would like to change the appearance of theorem-like boxes from the default.
I am currently using the following code that I found online, to remove the encapsulating box.
I would like to further (i) change the font size of the title of the box, and (ii) add a line frame around the content of the box. How can I do this?
Thank you very much,
Asaf
Code: Select all
\documentclass[]{beamer}
\usetheme{Madrid}
%\setbeamerfont{frametitle}{size=\tiny}
%\setbeamerfont{block title}{size=\tiny}
\setbeamerfont{block title}{size=\tiny}
\setbeamertemplate{theorem begin}{{
\inserttheoremheadfont
\inserttheoremname
\inserttheoremnumber
\ifx\inserttheoremaddition\@empty\else\ (\inserttheoremaddition)\fi%
\inserttheorempunctuation
}}
\setbeamertemplate{theorem end}{}
\begin{document}
\begin{frame}
\begin{theorem}[blah]
\small
Hello World!
\end{theorem}
\end{frame}
\end{document}