Abstand durch \textcolor im Mathemodus
Verfasst: Do 2. Apr 2015, 18:16
\textcolor{} produziert im Mathemodus einen minimalen Abstand, welcher bei Beamer-overlays störend wirkt. Gibt es eine Möglichkeit, dies zu verhindern (ggf. anderer Befehl für die Farbgebung?)?
Hier ein Minimalbeispiel, bei welchem man auch erkennt, dass das Problem im Textmodus nicht auftaucht.
Hier ein Minimalbeispiel, bei welchem man auch erkennt, dass das Problem im Textmodus nicht auftaucht.
\documentclass{beamer} \begin{document} \frame{ \[\only<1>{\frac{p \textcolor{red}{s}}{q \textcolor{red}{s}}} \only<2>{\frac{p s}{q s}}\] \only<1>{p \textcolor{red}{s}} \only<2>{p s} } \end{document}