Page MenuHomePhabricator

MathJax treats double \underline differently as texvc
Closed, DeclinedPublic

Description

In \underline{\underline a} MathJax makes the second underline to long, the PNG shows both correctly with equal length.

By the way: You can have a look the examples for all my bugs at http://leuksman.com/mw/index.php/User:Schnark


Version: unspecified
Severity: normal

Details

Reference
bz35189

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:16 AM
bzimport added a project: Math.
bzimport set Reference to bz35189.
bzimport added a subscriber: Unknown Object (MLST).
Schnark created this task.Mar 13 2012, 9:12 AM
TheDJ added a comment.Mar 25 2012, 8:08 PM

Actually, if you look carefully, the 2nd line is actually two lines made up from overlapping −
span 86 was the first underline under a, the 2nd underline is span 87, which looks like this:

<span style="position: absolute; clip: rect(2.318em 1000em 2.839em -0.572em); top: -1.998em; left: 0em; "><span class="mo" id="MathJax-Span-87" style=""><span style="display: inline-block; position: relative; height: 0px; width: 0.89em; "><span style="position: absolute; font-family: MathJax_Main; top: -4em; left: -0.084em; display:none;">−<span style="display: inline-block; width: 0px; height: 4em; "></span></span><span style="position: absolute; font-family: MathJax_Main; top: -4em; left: 0.196em; display:none;">−<span style="display: inline-block; width: 0px; height: 4em; "></span></span></span></span><span style="display: inline-block; width: 0px; height: 2.778em; "></span></span>

I suspect that it is interpreting 'underline a' as two elements and thus underlining both of those elements or something.

fredw added a comment.Sep 10 2013, 4:00 PM

It seems that something like \uuline (from the ulem package) would be more appropriate for a MathML conversion.

physik wrote:

Seems to be a problem within MathJax
https://www.mediawiki.org/wiki/Extension:Math/bug/35189

Physikerwelt closed this task as Declined.Jul 19 2015, 10:40 PM
Physikerwelt claimed this task.
Physikerwelt added a subscriber: Physikerwelt.

MathJax will be removed T99369