[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#365922: tetex-base: Using "marvosym" package with "amsmath" breaks "\Rightarrow"



On Wed, May 03, 2006 at 21:39 +0300, Matti Vihola wrote:
> Package: tetex-base
> Version: 3.0-17
> Severity: normal

Thanks for the report.
 
> If I use the "marvosym" package with the "amsmath" package, I get a
> ":"-symbol instead of the desired "=>" when I type $\Rightarrow$.

Actually, amsmath is not even needed here. marvosym is really buggy with
respect to \Rightarrow. For a workaround, you can use the following code:

%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{article}
\usepackage{amsmath} % not necessary

\let\ORIGRightarrow=\Rightarrow
\usepackage{marvosym}
\let\MVRightarrow=\Rightarrow
\let\Rightarrow=\ORIGRightarrow

\begin{document}
\MVRightarrow
$\Rightarrow \MVRightarrow$
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%

This preserves the original \Rightarrow and gives access to marvosym's
version via \MVRightarrow.

IIRC this bug has been mentioned on (de.)comp.text.tex. It might be,
that upstream has been informed about this, but I haven't checked the
relevant discussions on groups.google.com yet (I am currently off-line).

cheerio
ralf



Reply to: