2 <html xmlns=
"http://www.w3.org/1999/xhtml" xml:
lang=
"en" lang=
"en">
4 <meta charset=
"utf-8" />
5 <meta name=
"generator" content=
"Docutils 0.22b.dev: https://docutils.sourceforge.io/" />
6 <meta name=
"viewport" content=
"width=device-width, initial-scale=1" />
7 <title>Math Conversion Tests
</title>
8 <link rel=
"stylesheet" href=
"../../../docutils/writers/html5_polyglot/minimal.css" type=
"text/css" />
9 <link rel=
"stylesheet" href=
"../../../docutils/writers/html5_polyglot/plain.css" type=
"text/css" />
12 <main id=
"math-conversion-tests">
13 <h1 class=
"title">Math Conversion Tests
</h1>
15 <section id=
"math-alphabet-mathvariant">
16 <h2>Math alphabet / Mathvariant
</h2>
17 <p>TeX's
<em>math alphabet
</em> macros change font features of (some) letters and
18 digits. Non-alphanumerical symbols, function names, and mathematical text
19 are left unchanged.
</p>
20 <dl class=
"field-list simple">
21 <dt>default
<span class=
"colon">:
</span></dt>
22 <dd><p><span class=
"math problematic">V_R x \pm \cos(\alpha_\text{out}) \approx
3 \Gamma
23 \quad \forall x \in \mathbb{R}
</span></p>
24 <aside class=
"system-message">
25 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
13)
</p>
26 <p>TeX to MathML converter `ttm` failed:
</p>
27 <p class=
"pre-wrap">Unknown command \mathbb in equation, Line
1.
</p>
30 <dt>mathrm
<span class=
"colon">:
</span></dt>
31 <dd><p><span class=
"math problematic">\mathrm{V_R x \pm \cos(\alpha_\text{out}) \approx
3 \Gamma
32 \quad \forall x \in \mathbb{R}}
</span></p>
33 <aside class=
"system-message">
34 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
15)
</p>
35 <p>TeX to MathML converter `ttm` failed:
</p>
36 <p class=
"pre-wrap">Unknown command \mathbb in equation, Line
1.
</p>
39 <dt>mathbf
<span class=
"colon">:
</span></dt>
40 <dd><p><span class=
"math problematic">\mathbf{V_R x \pm \cos(\alpha_\text{out}) \approx
3 \Gamma
41 \quad \forall x \in \mathbb{R}}
</span></p>
42 <aside class=
"system-message">
43 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
17)
</p>
44 <p>TeX to MathML converter `ttm` failed:
</p>
45 <p class=
"pre-wrap">Unknown command \mathbb in equation, Line
1.
</p>
48 <dt>mathit
<span class=
"colon">:
</span></dt>
49 <dd><p><span class=
"math problematic">\mathit{V_R x \pm \cos(\alpha_\text{out}) \approx
3 \Gamma
50 \quad \forall x \in \mathbb{R}}
</span></p>
51 <aside class=
"system-message">
52 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
19)
</p>
53 <p>TeX to MathML converter `ttm` failed:
</p>
54 <p class=
"pre-wrap">Unknown command \mathbb in equation, Line
1.
</p>
57 <dt>mathbfit
<span class=
"colon">:
</span></dt>
58 <dd><p><span class=
"math problematic">\mathbfit{V_R x \pm \cos(\alpha_\text{out}) \approx
3 \Gamma
59 \quad \forall x \in \mathbb{R}}
</span></p>
60 <aside class=
"system-message">
61 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
21)
</p>
62 <p>TeX to MathML converter `ttm` failed:
</p>
63 <p class=
"pre-wrap">Unknown command \mathbfit in equation, Line
1.
64 Unknown command \mathbb in equation, Line
1.
</p>
67 <dt>mathbb
<span class=
"colon">:
</span></dt>
68 <dd><p><span class=
"math problematic">\mathbb{V_R x \pm \cos(\alpha_\text{out}) \approx
3 \Gamma
69 \quad \forall x \in \mathbb{R}}
</span></p>
70 <aside class=
"system-message">
71 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
23)
</p>
72 <p>TeX to MathML converter `ttm` failed:
</p>
73 <p class=
"pre-wrap">Unknown command \mathbb in equation, Line
1.
74 Unknown command \mathbb in equation, Line
1.
</p>
77 <dt>mathcal
<span class=
"colon">:
</span></dt>
78 <dd><p><span class=
"math problematic">\mathcal{V_R x \pm \cos(\alpha_\text{out}) \approx
3 \Gamma
79 \quad \forall x \in \mathbb{R}}
</span></p>
80 <aside class=
"system-message">
81 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
25)
</p>
82 <p>TeX to MathML converter `ttm` failed:
</p>
83 <p class=
"pre-wrap">Unknown command \mathbb in equation, Line
1.
</p>
86 <dt>mathscr
<span class=
"colon">:
</span></dt>
87 <dd><p><span class=
"math problematic">\mathscr{V_R x \pm \cos(\alpha_\text{out}) \approx
3 \Gamma
88 \quad \forall x \in \mathbb{R}}
</span></p>
89 <aside class=
"system-message">
90 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
27)
</p>
91 <p>TeX to MathML converter `ttm` failed:
</p>
92 <p class=
"pre-wrap">Unknown command \mathscr in equation, Line
1.
93 Unknown command \mathbb in equation, Line
1.
</p>
96 <dt>mathfrak
<span class=
"colon">:
</span></dt>
97 <dd><p><span class=
"math problematic">\mathfrak{V_R x \pm \cos(\alpha_\text{out}) \approx
3 \Gamma
98 \quad \forall x \in \mathbb{R}}
</span></p>
99 <aside class=
"system-message">
100 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
29)
</p>
101 <p>TeX to MathML converter `ttm` failed:
</p>
102 <p class=
"pre-wrap">Unknown command \mathfrak in equation, Line
1.
103 Unknown command \mathbb in equation, Line
1.
</p>
106 <dt>mathsf
<span class=
"colon">:
</span></dt>
107 <dd><p><span class=
"math problematic">\mathsf{V_R x \pm \cos(\alpha_\text{out}) \approx
3 \Gamma
108 \quad \forall x \in \mathbb{R}}
</span></p>
109 <aside class=
"system-message">
110 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
31)
</p>
111 <p>TeX to MathML converter `ttm` failed:
</p>
112 <p class=
"pre-wrap">Unknown command \mathbb in equation, Line
1.
</p>
115 <dt>mathsfit
<span class=
"colon">:
</span></dt>
116 <dd><p><span class=
"math problematic">\mathsfit{V_R x \pm \cos(\alpha_\text{out}) \approx
3 \Gamma
117 \quad \forall x \in \mathbb{R}}
</span></p>
118 <aside class=
"system-message">
119 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
33)
</p>
120 <p>TeX to MathML converter `ttm` failed:
</p>
121 <p class=
"pre-wrap">Unknown command \mathsfit in equation, Line
1.
122 Unknown command \mathbb in equation, Line
1.
</p>
125 <dt>mathsfbfit
<span class=
"colon">:
</span></dt>
126 <dd><p><span class=
"math problematic">\mathsfbfit{V_R x \pm \cos(\alpha_\text{out}) \approx
3 \Gamma
127 \quad \forall x \in \mathbb{R}}
</span></p>
128 <aside class=
"system-message">
129 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
35)
</p>
130 <p>TeX to MathML converter `ttm` failed:
</p>
131 <p class=
"pre-wrap">Unknown command \mathsfbfit in equation, Line
1.
132 Unknown command \mathbb in equation, Line
1.
</p>
135 <dt>mathbfsfit
<span class=
"colon">:
</span></dt>
136 <dd><p><span class=
"math problematic">\mathbfsfit{V_R x \pm \cos(\alpha_\text{out}) \approx
3 \Gamma
137 \quad \forall x \in \mathbb{R}}
</span></p>
138 <aside class=
"system-message">
139 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
37)
</p>
140 <p>TeX to MathML converter `ttm` failed:
</p>
141 <p class=
"pre-wrap">Unknown command \mathbfsfit in equation, Line
1.
142 Unknown command \mathbb in equation, Line
1.
</p>
145 <dt>mathtt
<span class=
"colon">:
</span></dt>
146 <dd><p><span class=
"math problematic">\mathtt{V_R x \pm \cos(\alpha_\text{out}) \approx
3 \Gamma
147 \quad \forall x \in \mathbb{R}}
</span></p>
148 <aside class=
"system-message">
149 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
39)
</p>
150 <p>TeX to MathML converter `ttm` failed:
</p>
151 <p class=
"pre-wrap">Unknown command \mathbb in equation, Line
1.
</p>
155 <p>MathML
4 defines the
<em>mathvariant
</em> <a class=
"reference external" href=
"https://www.w3.org/TR/mathml4/#presm_commatt">style attribute
</a>, in MathML core,
156 characters from the
<a class=
"reference external" href=
"http://www.unicode.org/charts/PDF/U1EE00.pdf">Mathematical Alphanumeric Symbols
</a> Unicode block
158 <p>The mathvariants
<em>bold-script
</em>,
<em>bold-fraktur
</em>, and
<em>sans-bold
</em> are
159 rarely used. They are currently not supported by Docutils's native MathML
160 output. In LaTeX,
<span class=
"docutils literal">\mathbfscr
</span> and
<span class=
"docutils literal">\mathbffrac
</span> is supported by the
161 <a class=
"reference external" href=
"https://www.ctan.org/pkg/mathalpha">mathalpha
</a> package.
</p>
162 <p>Bold variants of any symbol can be achieved in combination with the
163 <span class=
"docutils literal">\boldsymbol
</span> command, e.g.
</p>
164 <dl class=
"field-list simple">
165 <dt>bold-fraktur
<span class=
"colon">:
</span></dt>
166 <dd><p><span class=
"math problematic">\boldsymbol{\mathfrak{V_R x}}
</span></p>
167 <aside class=
"system-message">
168 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
54)
</p>
169 <p>TeX to MathML converter `ttm` failed:
</p>
170 <p class=
"pre-wrap">Unknown command \mathfrak in equation, Line
1.
</p>
174 <p>Note, that
<span class=
"docutils literal">\boldsymbol
</span> emboldens also non-alphanumerical symbols.
</p>
175 <section id=
"complex-example">
176 <h3>Complex Example
</h3>
177 <p>From the
<a class=
"reference external" href=
"https://www.ctan.org/pkg/baskervaldx">baskervaldx
</a> package documentation:
</p>
179 <dt>Simplest form of the
<em>Central Limit Theorem
</em>:
</dt>
180 <dd><p>Let
<math xmlns=
"http://www.w3.org/1998/Math/MathML">
182 <msub><mrow><mi>X
</mi></mrow><mrow><mn>1</mn></mrow>
185 <msub><mrow><mi>X
</mi></mrow><mrow><mn>2</mn></mrow>
187 <mo>,
</mo><mo>…</mo></mrow></math> be a sequence of iid random variables with mean
<math xmlns=
"http://www.w3.org/1998/Math/MathML">
188 <mrow><mn>0</mn></mrow></math>
189 and variance
<math xmlns=
"http://www.w3.org/1998/Math/MathML">
190 <mrow><mn>1</mn></mrow></math> on a probability space
<span class=
"math problematic">(\Omega,\mathcal{F},\mathbb{P})
</span>.
192 <aside class=
"system-message">
193 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
65)
</p>
194 <p>TeX to MathML converter `ttm` failed:
</p>
195 <p class=
"pre-wrap">Unknown command \mathbb in equation, Line
1.
</p>
197 <pre class=
"math problematic">
198 \mathbb{P}\left(\frac{X_1+\cdots+X_n}{\sqrt{n}} \le y\right)
200 \coloneq \int_{-\infty}^y
201 \frac{\mathrm{e}^{-t^
2/
2}}{\sqrt{
2\mathrm{\pi}}}\, \mathrm{d}t
202 \quad\mbox{as $n\to\infty$,}
204 <aside class=
"system-message">
205 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
69)
</p>
206 <p>TeX to MathML converter `ttm` failed:
</p>
207 <p class=
"pre-wrap">Unknown command \mathbb in equation, Line
1.
208 Unknown command \mathfrak in equation, Line
1.
209 Unknown command \coloneq in equation, Line
2.
</p>
211 <p>or, equivalently, letting
<span class=
"math problematic">S_n\coloneq\sum_1^n X_k
</span>,
</p>
212 <aside class=
"system-message">
213 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
75)
</p>
214 <p>TeX to MathML converter `ttm` failed:
</p>
215 <p class=
"pre-wrap">Unknown command \coloneq in equation, Line
1.
</p>
217 <pre class=
"math problematic">
218 \mathbb{E} f\left(S_n/\sqrt{n}\right)
219 \to \int_{-\infty}^\infty f(t)
220 \frac{\mathrm{e}^{-t^
2/
2}}{\sqrt{
2\mathrm{\pi}}}\, \mathrm{d}t
221 \quad\mbox{as $n\to\infty$,
222 for every $f\in\mathrm{b} \mathcal{C}(\mathbb{R})$.}
224 <aside class=
"system-message">
225 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
77)
</p>
226 <p>TeX to MathML converter `ttm` failed:
</p>
227 <p class=
"pre-wrap">Unknown command \mathbb in equation, Line
1.
228 Unknown command \mathbb in equation, Line
4.
</p>
234 <section id=
"inferred-mrow-s-in-mathml">
235 <h2>Inferred
<mrow
>s in MathML
</h2>
236 <p>The elements
<msqrt
>,
<mstyle
>,
<merror
>,
<mpadded
>,
<mphantom
>,
<menclose
>,
237 <mtd
>,
<mscarry
>, and
<math
> treat their contents as a single inferred mrow
238 formed from all their children.
</p>
240 <math display=
"block" xmlns=
"http://www.w3.org/1998/Math/MathML">
241 <mstyle displaystyle=
"true"><mrow><mi>a
</mi><mo>=
</mo><msqrt><mrow><mn>2</mn></mrow></msqrt><mo>+
</mo><mi>x
</mi><mo>,
</mo><mi>   </mi><mi>b
</mi><mo>=
</mo><msqrt><mrow><mn>1</mn><mo>+
</mo>
242 <msup><mrow><mi>x
</mi></mrow><mrow><mn>2</mn></mrow>
244 </mrow></msqrt><mo>,
</mo><mi>   </mi><mi>c
</mi><mo>=
</mo><msqrt><mrow>
245 <mfrac><mrow><mi>sin
</mi><mo stretchy=
"false">(
</mo><mi>x
</mi><mo stretchy=
"false">)
</mo></mrow>
246 <mrow><mn>23</mn></mrow>
248 </mrow></msqrt><mo>,
</mo></mrow>
251 <p>inline:
<math xmlns=
"http://www.w3.org/1998/Math/MathML">
252 <mrow><mi>a
</mi><mo>=
</mo><msqrt><mrow><mn>2</mn></mrow></msqrt><mo>+
</mo><mi>x
</mi><mo>,
</mo><mi>b
</mi><mo>=
</mo><msqrt><mrow><mn>1</mn><mo>+
</mo>
253 <msup><mrow><mi>x
</mi></mrow><mrow><mn>2</mn></mrow>
255 </mrow></msqrt><mo>,
</mo><mi>c
</mi><mo>=
</mo><msqrt><mrow>
256 <mfrac><mrow><mi>sin
</mi><mo stretchy=
"false">(
</mo><mi>x
</mi><mo stretchy=
"false">)
</mo></mrow>
257 <mrow><mn>23</mn></mrow>
259 </mrow></msqrt></mrow></math>.
</p>
261 <section id=
"scripts-and-limits">
262 <h2>Scripts and Limits
</h2>
263 <p>Accents should be nearer to the base:
264 <math xmlns=
"http://www.w3.org/1998/Math/MathML">
266 <mover><mrow><mi>a
</mi></mrow>
267 <mo>‾</mo></mover>
269 <mover><mrow><mi>a
</mi></mrow>
270 <mo stretchy=
"true">‾</mo></mover>
272 <mover><mrow><mi>l
</mi></mrow>
273 <mo>‾</mo></mover>
275 <mover><mrow><mi>l
</mi></mrow>
276 <mo stretchy=
"true">‾</mo></mover>
278 <mover><mrow><mi>i
</mi></mrow>
279 <mo>‾</mo></mover>
281 <mover><mrow><mi>i
</mi></mrow>
282 <mo stretchy=
"true">‾</mo></mover>
284 <math xmlns=
"http://www.w3.org/1998/Math/MathML">
286 <mover><mrow><mi>r
</mi></mrow>
287 <mo>→</mo></mover>
288 </mrow></math> <math xmlns=
"http://www.w3.org/1998/Math/MathML">
290 <mover><mrow><mi>r
</mi></mrow>
291 <mo stretchy=
"true">→</mo></mover>
293 <p>Sub- and superscript may be given in any order:
294 <math xmlns=
"http://www.w3.org/1998/Math/MathML">
296 <msubsup><mrow><mi>x
</mi></mrow><mrow><mi>i
</mi> </mrow>
297 <mrow><mi>j
</mi></mrow></msubsup>
299 <msubsup><mrow><mi>x
</mi></mrow><mrow><mi>i
</mi> </mrow>
300 <mrow><mi>j
</mi></mrow></msubsup>
301 </mrow></math> and
<math xmlns=
"http://www.w3.org/1998/Math/MathML">
303 <msubsup><mrow><mo>∫</mo></mrow><mrow><mn>0</mn> </mrow>
304 <mrow><mn>1</mn></mrow></msubsup>
306 <msubsup><mrow><mo>∫</mo></mrow><mrow><mn>0</mn> </mrow>
307 <mrow><mn>1</mn></mrow></msubsup>
309 <p>Double exponent:
<math xmlns=
"http://www.w3.org/1998/Math/MathML">
311 <msup><mrow><mi>x
</mi></mrow><mrow>
312 <msup><mrow><mn>10</mn></mrow><mrow><mn>4</mn></mrow>
316 </mrow></math>,
<math xmlns=
"http://www.w3.org/1998/Math/MathML">
318 <msub><mrow><mi>r
</mi></mrow><mrow>
319 <msub><mrow><mi>T
</mi></mrow><mrow><mi fontstyle=
"normal">in
</mi></mrow>
323 </mrow></math> and
<math xmlns=
"http://www.w3.org/1998/Math/MathML">
325 <msubsup><mrow><mi>x
</mi></mrow><mrow><mi>i
</mi> </mrow>
327 <msup><mrow><mi>n
</mi></mrow><mrow><mn>2</mn></mrow>
332 <section id=
"nested-groups">
333 <h2>Nested groups
</h2>
334 <p>tex-token returns
"{
" for nested groups:
</p>
336 <math display=
"block" xmlns=
"http://www.w3.org/1998/Math/MathML">
337 <mstyle displaystyle=
"true"><mrow>
338 <mtext>das ist ein tollertext (unescaped { and } is
339 ignored by LaTeX)
</mtext>
344 <section id=
"big-delimiters-and-symbols">
345 <h2>Big delimiters and symbols
</h2>
346 <p>Compare automatic sizing with fixed sizes:
</p>
347 <!-- math: \left( \frac{\frac1x}{\frac{1}{n}}\right) &= \Biggl(\text{Bigg}\Biggr)\\ -->
348 <pre class=
"math problematic">
351 \left( \bar x \right)
352 \left( \overline x \right)
353 \left( n_i \right)
&= () \\
354 \left( \underline x \right)
&= \bigl(\text{big}\bigr)\\
356 \left( \sqrt{
3} \right)
357 \left( \sqrt{
3^
2} \right)
359 \left( \bigotimes \right)
360 \left( \prod \right)
&= \Bigl(\text{Big}\Bigr)\\
361 \left( \frac{
3 }{
2} \right)
362 \left( \frac{
3^
2}{
2^
4} \right)
364 \begin{pmatrix} a
& b \\ c
& d \end{pmatrix}
365 \left( \frac{
1}{\sqrt
2} \right)
367 \left( \int_0 \right)
368 \left( \int^
1 \right)
369 \left( \int_0^
1 \right)
&= \biggl(\text{bigg}\biggr)\\
370 \left( \frac{\sqrt
2}{
2} \right)
371 \left( \sum_0 \right)
372 \left( \sum^
1 \right)
373 \left( \sum_0^
1 \right)
374 \left( \frac{\frac1x}{\frac{
1}{n}}\right)
&= \Biggl(\text{Bigg}\Biggr)\\
375 \left( \intop_0 \right)
376 \left( \intop^
1 \right)
377 \left( \intop_0^
1 \right)
379 <aside class=
"system-message">
380 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
127)
</p>
381 <p>TeX to MathML converter `ttm` failed:
</p>
382 <p class=
"pre-wrap">Unknown or ignored environment: \begin{align*} Line
1.
383 Unknown command \left, (
0 user-defined) Line
2.
384 Unknown command \right, (
0 user-defined) Line
2.
385 Unknown command \bar, (
0 user-defined) Line
4.
386 Unknown command \overline, (
0 user-defined) Line
5.
387 Unknown command \bigl, (
0 user-defined) Line
7.
388 Unknown command \bigr, (
0 user-defined) Line
7.
389 Unknown command \sqrt, (
0 user-defined) Line
9.
390 Unknown command \sum, (
0 user-defined) Line
11.
391 Unknown command \bigotimes, (
0 user-defined) Line
12.
392 Unknown command \prod, (
0 user-defined) Line
13.
393 Unknown command \Bigl, (
0 user-defined) Line
13.
394 Unknown command \Bigr, (
0 user-defined) Line
13.
395 Unknown command \binom, (
0 user-defined) Line
16.
396 Unknown or ignored environment: \begin{pmatrix} Line
17.
397 Unknown command \int, (
0 user-defined) Line
19.
398 Unknown command \biggl, (
0 user-defined) Line
22.
399 Unknown command \biggr, (
0 user-defined) Line
22.
400 Unknown command \Biggl, (
0 user-defined) Line
27.
401 Unknown command \Biggr, (
0 user-defined) Line
27.
402 Unknown command \intop, (
0 user-defined) Line
28.
</p>
405 <dl class=
"field-list simple">
406 <dt><math xmlns=
"http://www.w3.org/1998/Math/MathML">
407 <mrow><mo stretchy=
"false">(
</mo><mo stretchy=
"false">)
</mo></mrow></math><span class=
"colon">:
</span></dt>
408 <dd><p><math xmlns=
"http://www.w3.org/1998/Math/MathML">
409 <mrow><mrow><mo>(
</mo><mn>3</mn><mo>)
</mo></mrow><mrow><mo>(
</mo><mi>f
</mi><mo stretchy=
"false">(
</mo><mi>x
</mi><mo stretchy=
"false">)
</mo><mo>)
</mo></mrow><mrow><mo>(
</mo>
410 <mover><mrow><mi>x
</mi></mrow>
411 <mo>‾</mo></mover>
412 <mo>)
</mo></mrow><mrow><mo>(
</mo>
413 <mover><mrow><mi>x
</mi></mrow>
414 <mo stretchy=
"true">‾</mo></mover>
415 <mo>)
</mo></mrow><mrow><mo>(
</mo>
416 <msub><mrow><mi>n
</mi></mrow><mrow><mi>i
</mi></mrow>
418 <mo>)
</mo></mrow><mrow><mo>(
</mo><mo>∑</mo><mo>)
</mo></mrow><mrow><mo>(
</mo>
419 <munder><mo>∑</mo><mrow><mn>0</mn></mrow>
421 <mo>)
</mo></mrow><mrow><mo>(
</mo><mo>Π</mo><mo>)
</mo></mrow></mrow></math></p>
423 <dt><math xmlns=
"http://www.w3.org/1998/Math/MathML">
424 <mrow><mrow><mo> </mo><mo>(
</mo></mrow>
426 <mrow><mo> </mo><mo>)
</mo></mrow></mrow></math><span class=
"colon">:
</span></dt>
427 <dd><p><span class=
"math problematic">\left(\underline x \right)
430 \left(\begin{smallmatrix} a
& b \\
431 c
& d \end{smallmatrix} \right)
432 \left( \bigotimes \right)
</span></p>
433 <aside class=
"system-message">
434 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
170)
</p>
435 <p>TeX to MathML converter `ttm` failed:
</p>
436 <p class=
"pre-wrap">Unknown command \binom in equation, Line
1.
437 Unknown or ignored environment: \begin{smallmatrix} Line
1.
438 Improper \\ or \cr outside array environment ignored, Line ~
1..
</p>
441 <dt><math xmlns=
"http://www.w3.org/1998/Math/MathML">
442 <mrow><mrow><mo> </mo><mo>(
</mo></mrow>
444 <mrow><mo> </mo><mo>)
</mo></mrow></mrow></math><span class=
"colon">:
</span></dt>
445 <dd><p><math xmlns=
"http://www.w3.org/1998/Math/MathML">
446 <mrow><mrow><mo>(
</mo><msqrt><mrow><mn>3</mn></mrow></msqrt><mo>)
</mo></mrow><mrow><mo>(
</mo><msqrt><mrow>
447 <msup><mrow><mn>3</mn></mrow><mrow><mn>2</mn></mrow>
449 </mrow></msqrt><mo>)
</mo></mrow><mrow><mo>(
</mo>
450 <mfrac><mrow><mn>3</mn></mrow>
451 <mrow><mn>2</mn></mrow>
453 <mo>)
</mo></mrow><mrow><mo>(
</mo>
455 <msup><mrow><mn>3</mn></mrow><mrow><mn>2</mn></mrow>
459 <msup><mrow><mn>2</mn></mrow><mrow><mn>4</mn></mrow>
463 <mo>)
</mo></mrow><mrow><mo>(
</mo>
464 <mfrac><mrow><msqrt><mrow><mn>2</mn></mrow></msqrt></mrow>
465 <mrow><mn>2</mn></mrow>
467 <mo>)
</mo></mrow><mrow><mo>(
</mo><mo>∫</mo><mo>)
</mo></mrow><mrow><mo>(
</mo>
468 <msub><mrow><mo>∫</mo></mrow><mrow><mn>0</mn></mrow>
470 <mo>)
</mo></mrow><mrow><mo>(
</mo>
471 <msup><mrow><mo>∫</mo></mrow><mrow><mn>1</mn></mrow>
473 <mo>)
</mo></mrow><mrow><mo>(
</mo>
474 <msubsup><mrow><mo>∫</mo></mrow><mrow><mn>0</mn> </mrow>
475 <mrow><mn>1</mn></mrow></msubsup>
476 <mo>)
</mo></mrow><mrow><mo>(
</mo>
477 <mover><mo>∑</mo><mrow><mn>1</mn></mrow>
479 <mo>)
</mo></mrow><mrow><mo>(
</mo>
480 <munderover><mo>∑</mo><mrow><mn>0</mn> </mrow>
481 <mrow><mn>1</mn></mrow></munderover><mo>)
</mo></mrow><mrow><mo>(
</mo>
483 <mfrac><mrow><mn>1</mn></mrow>
484 <mrow><mi>x
</mi></mrow>
488 <mfrac><mrow><mn>1</mn></mrow>
489 <mrow><mi>n
</mi></mrow>
493 <mo>)
</mo></mrow></mrow></math></p>
496 <p>Test
<span class=
"docutils literal">\left
</span>,
<span class=
"docutils literal">\right
</span>, and the bigl/bigr, … size commands
497 with all extensible delimiters.
</p>
500 <math display=
"block" xmlns=
"http://www.w3.org/1998/Math/MathML">
501 <mstyle displaystyle=
"true"><mrow><mrow><mo> </mo><mo stretchy=
"false">(
</mo><mi>b
</mi><mo>)
</mo></mrow><mi> </mi><mrow><mo> </mo><mo>(
</mo></mrow><mi>b
</mi><mrow><mo> </mo><mo>)
</mo></mrow><mi> </mi><mrow><mo> </mo><mo>(
</mo></mrow><mi>b
</mi><mrow><mo> </mo><mo>)
</mo></mrow><mi>   </mi><mrow><mo> </mo><mo stretchy=
"false">[
</mo><mi>b
</mi><mo>]
</mo></mrow><mi> </mi><mrow><mo> </mo><mo>[
</mo></mrow><mi>b
</mi><mrow><mo> </mo><mo>]
</mo></mrow><mi> </mi><mrow><mo> </mo><mo>[
</mo></mrow><mi>b
</mi><mrow><mo> </mo><mo>]
</mo></mrow><mi>   </mi><mrow><mo> </mo><mo stretchy=
"false">{
</mo><mi>b
</mi><mo>}
</mo></mrow><mi> </mi><mrow><mo> </mo><mo>{
</mo></mrow><mi>b
</mi><mrow><mo> </mo><mo>}
</mo></mrow><mi> </mi><mrow><mo> </mo><mo>{
</mo></mrow><mi>b
</mi><mrow><mo> </mo><mo>}
</mo></mrow><mi>   </mi><mrow><mo> </mo><mo stretchy=
"false">⟨</mo><mi>b
</mi><mo>⟩</mo></mrow><mi> </mi><mrow><mo> </mo><mo>⟨</mo></mrow><mi>b
</mi><mrow><mo> </mo><mo>⟩</mo></mrow><mi> </mi><mrow><mo> </mo><mo>⟨</mo></mrow><mi>b
</mi><mrow><mo> </mo><mo>⟩</mo></mrow></mrow>
504 <pre class=
"math problematic">
505 \left.\lceil b \right\rceil \ \bigl\lceil b \Bigr\rceil \ \biggl\lceil b \Biggr\rceil
507 \left.\lfloor b \right\rfloor \ \bigl\lfloor b \Bigr\rfloor \ \biggl\lfloor b \Biggr\rfloor
509 \left.\lvert b \right\rvert \ \bigl\lvert b \Bigr\rvert \ \biggl\lvert b \Biggr\rvert
511 \left.\lVert b \right\rVert \ \bigl\lVert b \Bigr\rVert \ \biggl\lVert b \Biggr\rVert
513 <aside class=
"system-message">
514 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
199)
</p>
515 <p>TeX to MathML converter `ttm` failed:
</p>
516 <p class=
"pre-wrap">Unknown command \lvert in equation, Line
1.
517 Unknown command \rvert in equation, Line
1.
518 Unknown command \lvert in equation, Line
1.
519 Unknown command \rvert in equation, Line
1.
520 Unknown command \lvert in equation, Line
1.
521 Unknown command \rvert in equation, Line
1.
522 Unknown command \lVert in equation, Line
2.
523 Unknown command \rVert in equation, Line
2.
524 Unknown command \lVert in equation, Line
2.
525 Unknown command \rVert in equation, Line
2.
526 Unknown command \lVert in equation, Line
2.
527 Unknown command \rVert in equation, Line
2.
</p>
529 <pre class=
"math problematic">
530 \left.\lgroup b \right\rgroup \ \bigl\lgroup b \Bigr\rgroup \ \biggl\lgroup b \Biggr\rgroup
532 \left.\lmoustache b \right\rmoustache \ \bigl\lmoustache b \Bigr\rmoustache \ \biggl\lmoustache b \Biggr\rmoustache
534 \left./ b \right\backslash \ \bigl/ b \Bigr\backslash \ \biggl/ b \Biggr\backslash
536 <aside class=
"system-message">
537 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
199)
</p>
538 <p>TeX to MathML converter `ttm` failed:
</p>
539 <p class=
"pre-wrap">Unknown command \lgroup in equation, Line
1.
540 Unknown command \rgroup in equation, Line
1.
541 Unknown command \lgroup in equation, Line
1.
542 Unknown command \rgroup in equation, Line
1.
543 Unknown command \lgroup in equation, Line
1.
544 Unknown command \rgroup in equation, Line
1.
545 Unknown command \lmoustache in equation, Line
2.
546 Unknown command \rmoustache in equation, Line
2.
547 Unknown command \lmoustache in equation, Line
2.
548 Unknown command \rmoustache in equation, Line
2.
549 Unknown command \lmoustache in equation, Line
2.
550 Unknown command \rmoustache in equation, Line
2.
</p>
554 <math display=
"block" xmlns=
"http://www.w3.org/1998/Math/MathML">
555 <mstyle displaystyle=
"true"><mrow><mrow><mo> </mo><mo stretchy=
"false">|</mo><mi>b
</mi><mo>|
</mo></mrow><mi> </mi><mrow><mo> </mo><mo>|
</mo></mrow><mi>b
</mi><mrow><mo> </mo><mo>|
</mo></mrow><mi> </mi><mrow><mo> </mo><mo>|
</mo></mrow><mi>b
</mi><mrow><mo> </mo><mo>|
</mo></mrow><mi>   </mi><mrow><mo> </mo><mo stretchy=
"false">|</mo><mi>b
</mi><mo>|
</mo></mrow><mi> </mi><mrow><mo> </mo><mo>|
</mo></mrow><mi>b
</mi><mrow><mo> </mo><mo>|
</mo></mrow><mi> </mi><mrow><mo> </mo><mo>|
</mo></mrow><mi>b
</mi><mrow><mo> </mo><mo>|
</mo></mrow><mi>   </mi><mrow><mo> </mo><mo stretchy=
"false">‖</mo><mi>b
</mi></mrow><mo stretchy=
"false">‖</mo><mi> </mi><mrow><mo> </mo></mrow><mo stretchy=
"false">‖</mo><mi>b
</mi><mrow><mo> </mo></mrow><mo stretchy=
"false">‖</mo><mi> </mi><mrow><mo> </mo></mrow><mo stretchy=
"false">‖</mo><mi>b
</mi><mrow><mo> </mo></mrow><mo stretchy=
"false">‖</mo><mi>   </mi><mrow><mo> </mo><mo stretchy=
"false">‖</mo><mi>b
</mi></mrow><mo stretchy=
"false">‖</mo><mi> </mi><mrow><mo> </mo></mrow><mo stretchy=
"false">‖</mo><mi>b
</mi><mrow><mo> </mo></mrow><mo stretchy=
"false">‖</mo><mi> </mi><mrow><mo> </mo></mrow><mo stretchy=
"false">‖</mo><mi>b
</mi><mrow><mo> </mo></mrow><mo stretchy=
"false">‖</mo></mrow>
558 <pre class=
"math problematic">
559 \left.\arrowvert b \right\arrowvert \ \bigl\arrowvert b \Bigr\arrowvert \ \biggl\arrowvert b \Biggr\arrowvert
561 \left.\Arrowvert b \right\Arrowvert \ \bigl\Arrowvert b \Bigr\Arrowvert \ \biggl\Arrowvert b \Biggr\Arrowvert
563 \left.\bracevert b \right\bracevert \ \bigl\bracevert b \Bigr\bracevert \ \biggl\bracevert b \Biggr\bracevert
565 <aside class=
"system-message">
566 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
224)
</p>
567 <p>TeX to MathML converter `ttm` failed:
</p>
568 <p class=
"pre-wrap">Unknown command \arrowvert in equation, Line
1.
569 Unknown command \arrowvert in equation, Line
1.
570 Unknown command \arrowvert in equation, Line
1.
571 Unknown command \arrowvert in equation, Line
1.
572 Unknown command \arrowvert in equation, Line
1.
573 Unknown command \arrowvert in equation, Line
1.
574 Unknown command \Arrowvert in equation, Line
2.
575 Unknown command \Arrowvert in equation, Line
2.
576 Unknown command \Arrowvert in equation, Line
2.
577 Unknown command \Arrowvert in equation, Line
2.
578 Unknown command \Arrowvert in equation, Line
2.
579 Unknown command \Arrowvert in equation, Line
2.
580 Unknown command \bracevert in equation, Line
3.
581 Unknown command \bracevert in equation, Line
3.
582 Unknown command \bracevert in equation, Line
3.
583 Unknown command \bracevert in equation, Line
3.
584 Unknown command \bracevert in equation, Line
3.
585 Unknown command \bracevert in equation, Line
3.
</p>
587 <p>Variable-sized operators:
</p>
588 <p>Inline:
<span class=
"math problematic">\int\ \iint\ \iiint\ \iiiint\ \idotsint \oint\ \smallint\
589 \sum\ \prod\ \coprod\ \bigwedge\ \bigvee\ \bigcap\ \bigcup\ \biguplus\
590 \bigsqcup\ \bigodot\ \bigoplus\ \bigotimes
</span> and Display:
</p>
591 <aside class=
"system-message">
592 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
241)
</p>
593 <p>TeX to MathML converter `ttm` failed:
</p>
594 <p class=
"pre-wrap">Unknown command \iiiint in equation, Line
1.
595 Unknown command \idotsint in equation, Line
1.
596 Unknown command \smallint in equation, Line
1.
</p>
598 <pre class=
"math problematic">
599 \int\ \iint\ \iiint\ \iiiint\ \idotsint\ \oint\ \smallint\
600 \sum\ \prod\ \coprod\ \bigwedge\ \bigvee\ \bigcap\ \bigcup\
601 \biguplus\ \bigsqcup\ \bigodot\ \bigoplus\ \bigotimes
603 <aside class=
"system-message">
604 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
245)
</p>
605 <p>TeX to MathML converter `ttm` failed:
</p>
606 <p class=
"pre-wrap">Unknown command \iiiint in equation, Line
1.
607 Unknown command \idotsint in equation, Line
1.
608 Unknown command \smallint in equation, Line
1.
</p>
610 <pre class=
"math problematic">
611 \int_1 f\ \intop_1 f\ \iint_1 f\ \smallint_1 f\ \sum_1\
612 \prod_1\ \bigwedge_1\ \bigcap_1\ \biguplus_1\ \bigodot_1\ \int^N\
613 \intop^N\ \iiiint^N\ \oint^N\ \smallint^N\ \sum^N\ \coprod^N\
614 \bigvee^N\ \bigcup^N\ \bigsqcup^N\ \bigotimes^N
616 <aside class=
"system-message">
617 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
249)
</p>
618 <p>TeX to MathML converter `ttm` failed:
</p>
619 <p class=
"pre-wrap">Unknown command \intop in equation, Line
1.
620 Unknown command \smallint in equation, Line
1.
621 Unknown command \intop in equation, Line
3.
622 Unknown command \iiiint in equation, Line
3.
623 Unknown command \smallint in equation, Line
3.
</p>
625 <pre class=
"math problematic">
626 \int_1^N\ \intop_1^N\ \iint_1^N\ \iiint_1^N\ \iiiint_1^N\
627 \idotsint_1^N\ \oint_1^N\ \smallint_1^N\ \sum_1^N\ \prod_1^N\
628 \coprod_1^N\ \bigwedge_1^N\ \bigvee_1^N\ \bigcap_1^N\ \bigcup_1^N
629 \ \biguplus_1^N\ \bigsqcup_1^N\ \bigodot_1^N\ \bigoplus_1^N\
632 <aside class=
"system-message">
633 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
254)
</p>
634 <p>TeX to MathML converter `ttm` failed:
</p>
635 <p class=
"pre-wrap">Unknown command \intop in equation, Line
1.
636 Unknown command \iiiint in equation, Line
1.
637 Unknown command \idotsint in equation, Line
2.
638 Unknown command \smallint in equation, Line
2.
</p>
643 <p>The text may contain non-ASCII characters:
<math xmlns=
"http://www.w3.org/1998/Math/MathML">
647 <p>Some text-mode LaTeX commands are supported with
<a class=
"reference external" href=
"https://docutils.sourceforge.io/docs/user/config.html#math-output">math_output
</a> "html
".
648 In other output formats, use literal Unicode:
<span class=
"math problematic">\text{ç é è ë ê ñ ů ž ©}
</span>
649 to get the result of the accent macros
650 <span class=
"math problematic">\text{\c{c} \'e \`e \
"e \^e \~n \r{u} \v{z} \textcircled{c}}
</span>.
</p>
651 <aside class=
"system-message">
652 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
266)
</p>
653 <p>'latin-
1' codec can't encode character '\u016f' in position
19: ordinal not in range(
256)
</p>
655 <aside class=
"system-message">
656 <p class=
"system-message-title">System Message: WARNING/
2 (
<span class=
"docutils literal">/usr/local/src/docutils-git-svn/docutils/test/functional/input/data/math_experiments.txt
</span>, line
266)
</p>
657 <p>TeX to MathML converter `ttm` failed:
</p>
658 <p class=
"pre-wrap">Unknown command \r, (
0 user-defined) Line
1.
659 Unknown command \textcircled, (
0 user-defined) Line
1.
</p>