Extension:Math/Native MathML/Reported Cases
Copy of https://www.mediawiki.org/wiki/Extension:Math/Native_MathML/Reported_Cases
Some reported cases.
Reported cases.
See Extension:Math/Native_MathML/Operators for complete set of operators
Cases 1-9
[edit]| Number | LaTex | Rendering | Notes |
|---|---|---|---|
| 1a T377057 open | \text{let}\ {n \to +\infty} |
Too much space around operators when used in limits in MathML mode. Spaces should appear in normal mode, | |
| 1b | \lim_{n\to +\infty}\left(1+\frac 1n\right)^n |
Spaces should not appear in a limit | |
| 2 T375935 |
\lim_{n \to +\infty}\frac{\sqrt{2\pi n} }{n!}\left(\frac{n}{e}\right)^n = 1 |
The factorial symbol ! should be upright, it is sloping in Clients-side mathjax mode. | |
| 3 T375907 |
\det(A)=\sum_{\sigma\in S_n} e(\sigma)\prod_{i=1}^n a_{i,\sigma_i} |
\sum_condition puts condition in the in wrong position in MathML and client-side MathJax modes | |
| 4a T375349 |
\textstyle \int\limits_{-N}^{N} e^x dx |
\int_a^b limits in incorrect position in MathML mode. | |
| 4b |
\textstyle \int_{-N}^{N} e^x dx |
||
| 4c |
\displaystyle \int\limits_{-N}^{N} e^x dx |
||
| 4d | \displaystyle \int_{-N}^{N} e^x dx |
||
| 4e |
\int\limits_{1}^{3}\frac{e^3/x}{x^2}\, dx |
||
| 4f | \int_{1}^{3}\frac{e^3/x}{x^2}\, dx |
||
| 4h |
\int\limits_{1}^{3}\frac{\frac{e^3}{x} }{\frac{x^2}{5} }\, dx |
||
| 4i | \int_{1}^{3}\frac{\frac{e^3}{x} }{\frac{x^2}{5} }\, dx |
||
| 5a T375317 |
\begin{align} \frac{dy}{du} &= f'(u) = e^u, \\ \frac{du}{dv} &= g'(v) = \cos v, \\ \frac{dv}{dx} &= h'(x) = 2x. \end{align} |
\align aligns fields in the centre rather that on the left in MathML mode | |
| 5b | \begin{align} z & = a \\ f(x,y,z) & = x + y + z \end{align} |
||
| 5c |
f(n) = \begin{cases} n/2, & \text{if }n\text{ is even} \\ 3n+1, & \text{if }n\text{ is odd} \end{cases} |
||
| 5d |
\begin{align} a&=b & c&=d & e&=f\\ aa&=bb & cc&=dd & ee&=ff\\ aaa&=bbb & ccc&=ddd & eee&=fff \end{align} |
||
| 5e | \begin{align} x&=y & X&=Y & a&=b+c\\ x'&=y' & X'&=Y' & a'&=b\\ x+x'&=y+y' & X+X'&=Y+Y' & a'b&=c'b \end{align} |
||
| 6a T375295 |
\begin{align} \frac{dy}{du} &= f'(u) = e^u, \\[6pt] \frac{du}{dv} &= g'(v) = \cos v, \\[6pt] \frac{dv}{dx} &= h'(x) = 2x. \end{align} |
\begin{align} with font sizes specified show font size annotation [6pt] in MathML mode | |
| 6b | \begin{align} \varpi &= [2,1,1,1,1,1,4,1,2,\ldots], \\[8mu] 2\varpi &= [5,4,10,2,1,2,3,29,\ldots], \\[5mu] \frac{\varpi}{2} &= [1,3,4,1,1,1,5,2,\ldots], \\[2mu] \frac{\varpi}{\pi} &= [0,1,5,21,3,4,14,\ldots]. \end{align} |
||
| 7a T375861 reopened | a\operatorname{sn}b |
a\operatorname{sn}b rendered with no spaces before and after operator in MathML mode.
Works in Firefox by not Chrome | |
| 7b | a(\operatorname{sn}(b)), a[\operatorname{sn}[b]], a\{\operatorname{sn}\{b\}\} |
no space need here | |
| 7c | \operatorname{G}(V, g) |
no space need here | |
| 8a T375907 |
\displaystyle\sum_{n\in\mathbb{Z} } |
\sum_condition puts condition in the in wrong position in MathML and client-side MathJax modes | |
| 8b | \displaystyle\prod_{n\in\mathbb{Z} } |
||
| 8b | \displaystyle\prod_{n\in\mathbb{Z} }^{n\ne 5} |
with superscript rendered below | |
| 8c | \sum_{n>k} R \quad \prod_{n>k} P \quad \coprod_{n>k} RR |
||
| 8d | \bigcup_{n>k} J \quad \biguplus_{n>k} L \quad \bigcap_{n>k} N |
||
| 8e | \bigoplus_{n>k} W \quad \bigotimes_{n>k} V \quad \bigodot_{n>k} F |
||
| 8f | \bigvee_{n>k} V \quad \bigwedge_{n>k} W \quad \bigsqcup_{n>k} S |
||
| 8g | \int_{n>k} U \quad \oint_{n>k} T \quad \iint_{n>k} S |
Default for integrals is to the side | |
| 8h | \min_x\ \max_x\ \sup_x\ \inf_x\ \liminf_x |
||
| 8i | \lim_x\ \varliminf_x\ \varlimsup_x\ \varinjlim_x\ \varprojlim_x\ \limsup_x\ \injlim_x\ \projlim_x |
||
| 8j | \det_x\ \gcd_x\ \Pr_x |
||
| 9a T375274 |
\arccot(x), \arccsc(x), \arcsec(x), \sen(x), \sgn(x) |
mediawiki_function_names math functions eat the following paren in native MML mode | |
| 9b | \arcsin(x), \sin(x) |
||
| 9c | \operatorname{arccot}(x), \operatorname{arcsin}(x), \operatorname{sgn}(x), \operatorname{sin}(x) |
Cases 10-20
[edit]| 10a T375959 |
\langle \psi | B^b \quad \lbrace \psi | B^b \quad \lbrack \psi | B^b |
Use stretchy="false" for \langle and \rangle in MathML mode | |
| 10b | B^b |\psi\rangle \quad B^b | \psi \rbrace \quad B^b | \psi \rbrack \quad B^b \vert\psi\rangle |
||
| 10c | B^b \left|\psi\right\rangle \quad \psi \left|B^b\right\rangle |
Explicitly specifying \left and \right work | |
| 10d | B^b |\psi\rangle |
||
| 11a T375960 Template:Partially done | \updownarrow \big\updownarrow \Big\updownarrow \bigg\updownarrow \Bigg\updownarrow \dots \Bigg\Updownarrow \bigg\Updownarrow \Big\Updownarrow \big\Updownarrow \Updownarrow |
\Big/ and \Big\backslash etc are too small in MathML mode. | |
| 11b | / \big/ \Big/ \bigg/ \Bigg/ \dots \Bigg\backslash \bigg\backslash \Big\backslash \big\backslash \backslash |
Partially works in Firefox, upstream problems in chrome, some have almost zero use case | |
| 12a T375974 |
f:X\to Y |
Colon in f : X \to Y should be an operator in MathML mode. | |
| 12b | D \And E |
Has more space in LaTeX | |
| 12c | A \smile B \frown B |
||
| 12d | A \therefore B \because B |
||
| 12e | B \overset{\underset{\mathrm{def} }{} }{=} B |
||
| 12f | A \ulcorner B \urcorner B \llcorner B \lrcorner C |
||
| 12g | A \blacktriangle B \blacktriangledown B |
||
| 12h | \forall(\ulcorner\phi\urcorner\in\Sigma^0_n\cup\Pi^0_n) \implies\mathrm{Tr}_n(\ulcorner\phi(y_0,\ldots,y_n)^*\urcorner)) |
en:Reflection principle | |
| 13 T376546 |
\|A\|, D(p\|q) |
\| should render as a double pipe || rather than a single one |. In MathML and Client-side MathJax modes. | |
| 14 T376558 |
q(v)=|v|^2\quad q(v)=\|v\|^2 \quad q(v)=\|v\|_A |
Vertical alignment of pipes with superscripts wrong in mathml mode | |
| 15 T376829 |
\cancel{y} |
\cancel{y} the strike is not visable in native mathml mode | |
| 16 T376838 |
\begin{array}{lcr} z & = & a \\ f(x,y,z) & = & x + y + z \end{array} |
\begin{array}{lcr} does not respect the optional alignment argument in MathML mode | |
| 17 T376883 open | \frac{x}{x}\quad\frac{x}{y}\quad\frac{x}{l}\quad\frac{x}{2}\quad\frac{x}{x}\quad\frac{y}x\quad\frac{l}x\quad\frac{2}x |
Bad spacing for fractions with Safari in MathML mode | |
| 18 T376887 |
<math>\cfrac{x}{1 + \cfrac{\cancel{y}}{\cancel{y}}} = \cfrac{x}{2}</math>
<math>\begin{array}{lcr}
z & = & a \\
f(x,y,z) & = & x + y + z
\end{array}</math>
|
MediaWiki MathML:
MathJax SVG:
|
Formula in separate paragraphs displayed on the same line in Safari on Mac OS in MathML mode |
| 19a T377057 open | \lim_{n\to +\infty}\left(1+\frac 1n\right)^n |
Too much space around operators when used in limits in MathML mode | |
| 19b | \text{let}\ {n \to +\infty} |
More space used when not in a script | |
| 20 T378433 |
\mathfrak{ABCDEFGHI} |
\mathfrak{ABCDEFGHI} appears as normal type in MathML mode on Chrome on Windows. Still broken for MathJax |
New cases as of Aug 2025
[edit]| Number | LaTex | Rendering | Notes |
|---|---|---|---|
| T375337 |
\frac{a}{b/2} |
Too much space around / in MathML formatting mode | |
| T375340 |
\binom{n}{k/2} |
Too much space between fences and content in MathML formatting mode | |
| T375346 declined | \begin{pmatrix} \begin{pmatrix}a&b\\ c&d\end{pmatrix} & \begin{pmatrix}e&f\\ g&h\end{pmatrix} \\ 0 & \begin{pmatrix}i&j\\ k&l\end{pmatrix} \end{pmatrix} |
Lots of space around the cells in matrix evironments in MathML mode | |
| T377167 |
\begin{array}{|c|c|c|} \hline a_{11} & a_{12} & a_{13} \\ a_{21} & a_{22} & a_{23} \\ \hline a_{31} & a_{32} & a_{33} \\ \hline \end{array} |
Remove menclose in context of matrix representation | |
| T378257 duplicate | \operatorname{sn}\limits_x |
\limits is rendered verbatim in MathML mode and client-side MathJax | |
| T379359 open | \cancelto{x}{y} |
Fix \cancelto{y} in native MathML mode Chrome | |
| T380184 |
\operatorname{vec} |
crashes with native MathML | |
| T380654 reopened |
|
MathML
SVG |
vertical space between multline equations is ignored. Dupe of T375295 |
| T381102 |
\left(a\right)' |
in MathML and MathJax renders with one prime symbol too much | |
| T381305 duplicate |
<blockquote>quote</blockquote>Let <math forcemathmode=native>n</math> be an integer Let <math>n</math> be an integer <div style="display: float">quote</div>. |
MathML Let be an integer
quote .
SVG Let be an integer
quote .
|
MathML/MathJax next to floating element or <blockquote> not rendered inline |
| T382196 |
\overbrace x |
\overbrace rendered below (not above) in MathML and client-side Mathjax | |
| T382215 |
a\ b \quad xy |
TeX macro "\ " not inserting space in MathML and client-side MathJax | |
| T384794 |
a' \operatorname{a}' |
Prime symbol after \operatorname not rendered as superscript | |
| T386071 |
_12 |
<math>_1</math> not rendered as subscript | |
| T386318 |
\sin \cos^2 |
<math>\sin \cos^2</math> not rendered as superscript | |
| T386585 |
\textrm{foobar} |
<math>\textrm{foobar}</math> results in "Math input error" with MathJax | |
| T386787 |
\begin{bmatrix} 1 & 0 \\ \end{bmatrix} |
Trailing linebreak via `\\` in <math> matrix should be ignored | |
| T387249 |
\hat{} |
<math>\hat{}</math> generates invalid MathML | |
| T387952 |
{_{1}^2} |
<math>{_{1}^2}</math> not rendered as subscript | |
| T389154 open | \max_{D} \min_{A} \mathbb{E} |
Not enough space around min and max in native MathML mode | |
| T390259 reopened | \mathbf{\Lambda} |
<math>\mathbf{\Lambda}</math> not bold | |
1\textbf{1}1 A\textbf{B}C |
Also impacts numbers | ||
| T395489 open | \xleftarrow{n+\mu-1} B \xrightarrow[T]{n\pm i-1} C |
Unreadable rendering of \xleftarrow with text in MathML mode | |
| T397120 |
\textbf{1} |
\textbf{1} renders incorrectly in MathML and client-side MathJax modes | |
| T401623 open | 0.99 |
Bad kerning of decimal separator in MathML | |
| T401718 open | \textstyle\sum_{i=0}^r \binom{m}{i} |
\textstyle not applied to \binom in MathML | |
| T401740 open | \left\{ a \Bigg\vert \int \right\} |
\Bigg\vert is not big in MathML | |
| T401746 open | x := 1 |
Bad spacing of <math>x := 1</math> in MathML | |
| T401849 open | \mathrm{d}x |
Too much space in <math>\mathrm{d}x</math> with MathML
|