does not imply

656 views
Skip to first unread message

elim...@gmail.com

unread,
Aug 28, 2014, 7:36:31 PM8/28/14
to mathja...@googlegroups.com
In old version of MathJax,  I can use \not\Longrightarrow. But not with 2.4:
\not\implies puts a slash in the left end of \implies, \centernot is not available...

What's the working equivalent of  \not\Longrightarrow?

Thanks

Davide P. Cervone

unread,
Aug 28, 2014, 8:02:30 PM8/28/14
to mathja...@googlegroups.com
There is no natural way in MathML to duplicate the way that \not works in TeX, so this is one of the few places where MathJax intentionally diverges from what TeX does.  In MathML, the not symbol is a character that follows the negated character and overlaps it from the right (like \lap{/} would).  Conversely, TeX's \not overlaps from the left.  Early versions of MathJax did overlap from the left (as you indicate), but that was changed somewhere along the way to make it work better with MathML (particularly the NativeMML output).  So now \not\Longrightarrow has the slash near the right.  In the case where the negated quantity is not a single character, MathJax will overlap from the left.

Note that \implies includes spacing around it, so is not a single character (it is space plus a character plus space), so MathJax overlaps from the left.  But because of the extra space, it doesn't work very well.  (This is also the case in LaTeX, so MathJax's output mirrors TeX in this case.)  You are right that \centernot is not available.

Here is an alternative that you could try:  

\mathrel{\rlap{\hskip .5em/}}\Longrightarrow

Hope that works better for you.

Davide


--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

elim...@gmail.com

unread,
Aug 28, 2014, 10:43:58 PM8/28/14
to mathja...@googlegroups.com, dp...@union.edu
Thanks Davide, $\mathrel{\rlap{\hskip .5em/}}\Longrightarrow$ looks good!

Peter Krautzberger

unread,
Oct 1, 2014, 8:53:14 AM10/1/14
to mathja...@googlegroups.com, Davide P. Cervone
Davide, could this be realized by manipulating menclose's updiagonalstrike a bit? That seems better on the MathML end (it would be a custom notation, albeit with a good fallback and we could potentially ask the MathWG).

Peter.
Reply all
Reply to author
Forward
0 new messages