I cannot figure out how to set the font size of a particular beamercolorbox in Beamer. I have a beamercolorbox called "box" which I invoke with the following command:
\begin{beamercolorbox}[sep=4pt]{box} I would like to set the font size of the text in this box. I tried putting the following in the preamble:
\setbeamerfont{box}{size={10}{12}} But this does not produce any effect. What am I missing?
Here is a MWE:
\documentclass{beamer} \usepackage[utf8]{inputenc} \usecolortheme{beetle} \setbeamercolor{box}{fg=black,bg=gray!50} \begin{document} \begin{frame} \frametitle{Title of frame} \begin{beamercolorbox}[sep=4pt]{box} “A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote. A long quote.” \end{beamercolorbox} \end{frame} \end{document} Here is the output:
I would like to reduce the font size of the beamercolorbox so that the long quotation fits more nicely on the page, not just for this particular box, but for all boxes of type "box".
Thanks in advance for your help!

