[latexrefman-discuss] \leadsto

Vincent Belaïche vincent.belaiche at domain.hid
Sun Mar 6 20:48:52 CET 2016


Hello,

In Math Symbols node one can read the following

--8<----8<----8<----8<----8<-- begin -->8---->8---->8---->8---->8----
@item \leadsto
@BESU{21DD,leadsto} Squiggly right arrow (relation).  This is not available in
Plain @TeX{}.  In @LaTeX{} you should load the @file{amssymb} package.
To get this symbol outside of math mode you can put
@code{\newcommand*@{\Leadsto at domain.hid@}@}} in the
preamble and then use @code{\Leadsto} instead.
--8<----8<----8<----8<----8<--  end  -->8---->8---->8---->8---->8----

Now:

- One could make a similar comment for most math symbol commands, like
  \alpha and so on, so why just say that for \leadsto...

- Alternatively to the proposed method one could do:

--8<----8<----8<----8<----8<-- begin -->8---->8---->8---->8---->8----
\newcommand*\OriginalMeaningOfLeadsto{}
\let\OriginalMeaningOfLeadsto\leadsto
\def\leadsto{\ensuremath{\OriginalMeaningOfLeadsto}}
--8<----8<----8<----8<----8<--  end  -->8---->8---->8---->8---->8----

  and then use \leadsto in whichever mode in {math, text}.

- this is the sole mention of \ensuremath in the whole manual, maybe
  this command deserves its own node, and we could just refer to this
  node at the top of the Math symbols node.

VBR,
	Vincent




More information about the latexrefman mailing list