Commits

Joseph Wright committed ddfba79

Add a safety-\relax between overlay spec and content of \alert, etc.

This fixes issue #225, where it's assumed that the payload does not start
"<".

  • Participants
  • Parent commits e1339c0

Comments (0)

Files changed (1)

File base/beamerbaselocalstructure.sty

       {\usebeamertemplate{structure text begin}\usebeamercolor[fg]{structure}\usebeamerfont{structure}}
       {\usebeamertemplate{structure text end}}{\color{.}}{}}{\end{altenv}}
 
-  \newcommand<>{\alert}[1]{\begin{alertenv}#2#1\end{alertenv}}
-  \newcommand<>{\structure}[1]{\begin{structureenv}#2#1\end{structureenv}}
+  \newcommand<>{\alert}[1]{\begin{alertenv}#2\relax#1\end{alertenv}}
+  \newcommand<>{\structure}[1]{\begin{structureenv}#2\relax#1\end{structureenv}}
 }