I would like to change the behaviour of \alert so that the text is still red but now boldfaced, say. How can I do this? I have Googled, but all I can find is how to change the colour, as in Changing style of alert environment in beamer.
Asked
Active
Viewed 9,691 times
20
José Figueroa-O'Farrill
- 4,125
- 2
- 27
- 35
1 Answers
28
After some digging, I located the definition of \alert in beamerbaselocalstructure.sty. The rest was easy. ;-)
EDIT: There's also a more "beamer-like" way. :-)
\documentclass{beamer}
% \renewcommand<>{\alert}[1]{\begin{alertenv}\bfseries#2#1\end{alertenv}}
\setbeamerfont{alerted text}{series=\bfseries}
\begin{document}
\begin{frame}
\alert{Some text.}
\end{frame}
\end{document}
lockstep
- 250,273
\renewcommanddidn't work for me for some reason... the latter does though! – Werner Feb 28 '12 at 19:30