https://bugzilla.wikimedia.org/show_bug.cgi?id=69554
Bug ID: 69554
Summary: MathJax Error "Bracket argument to \\ must be a
dimension" in \begin{align}
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: minor
Priority: Unprioritized
Component: Math
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Web browser: Firefox
Mobile Platform: ---
Intention:
When I use something like \\[5px] to add 5px space between lines in a formula
of an align-enviroment I get the error "Bracket argument to \\ must be a
dimension".
Steps to Reproduce:
1. Save a page with the code:
<math>\begin{align}
1+1=1 \\[5px]
2+2=4
\end{align}</math>
Actual Results:
When rendering the above equation with MathJax, one gets the error "Bracket
argument to \\ must be a dimension".
Expected Results:
The equation should be rendered properly with 5px space between each line.
Reproducible: Always
The problem do not occur when one uses for example "ex" as a dimension (e.g.
"\\[2ex]"). I also noticed that there is natively more vertical space in
MathJax between lines inside equations so that one can also omit the extra
space argument.
I do not know whether there are plans to change the default math rendering to
MathJax, but if so this bug might be a problem. That's why I reported it.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l