Am Wed, 4 Jan 2012 18:04:50 -0800 (PST) schrieb Maesumi:
> Hi
> \hl does not work in beamer.
> Does any one know a solution?
beamer redefines \reset@color and this breaks soul. You could try to
reset the command to its original locally:
\documentclass{beamer}
\usepackage{soul}
\makeatletter
\newcommand\Oricolor{%
\let\set@color\beamerorig@set@color
\let\reset@color\beamerorig@reset@color
}
\makeatother
\begin{document}
\setstcolor{red}
\sethlcolor{red}
\begin{frame}
\ul{abc} \hl{abc} \st{def}
{\Oricolor\hl{abc} \st{def}}
\end{frame}
\end{document}
> spot, hlight, and similar commands do not work for long input
> (anything including a line break)
No idea what you mean. Why don't you add some code?
--
Ulrike Fischer