Debian Codegraph @

test/functional/expected/math_experiments_mathml_pandoc.html

raw symbols SCIP
1 <!DOCTYPE html>
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3 <head>
4 <meta charset="utf-8" />
5 <meta name="generator" content="Docutils 0.23: 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" />
10 </head>
11 <body>
12 <main id="math-conversion-tests">
13 <h1 class="title">Math Conversion Tests</h1>
14
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><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>V</mi><mi>R</mi></msub><mi>x</mi><mo>±</mo><mo>cos</mo><mo stretchy="false" form="prefix">(</mo><msub><mi>α</mi><mtext mathvariant="normal">out</mtext></msub><mo stretchy="false" form="postfix">)</mo><mo>≈</mo><mn>3</mn><mi>Γ</mi><mspace width="1.0em"></mspace><mo>∀</mo><mi>x</mi><mo>∈</mo><mstyle mathvariant="double-struck"><mi>ℝ</mi></mstyle></mrow><annotation encoding="application/x-tex">V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma
23 \quad \forall x \in \mathbb{R}</annotation></semantics></math></p>
24 </dd>
25 <dt>mathrm<span class="colon">:</span></dt>
26 <dd><p><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mstyle mathvariant="normal"><msub><mi>V</mi><mi>R</mi></msub><mi>x</mi><mo>±</mo><mo>cos</mo><mo stretchy="false" form="prefix">(</mo><msub><mi>α</mi><mtext mathvariant="normal">out</mtext></msub><mo stretchy="false" form="postfix">)</mo><mo>≈</mo><mn>3</mn><mi>Γ</mi><mspace width="1.0em"></mspace><mo>∀</mo><mi>x</mi><mo>∈</mo><mstyle mathvariant="double-struck"><mi>ℝ</mi></mstyle></mstyle><annotation encoding="application/x-tex">\mathrm{V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma
27 \quad \forall x \in \mathbb{R}}</annotation></semantics></math></p>
28 </dd>
29 <dt>mathbf<span class="colon">:</span></dt>
30 <dd><p><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mstyle mathvariant="bold"><msub><mi>𝐕</mi><mi>𝐑</mi></msub><mi>𝐱</mi><mo>±</mo><mo>cos</mo><mo stretchy="false" form="prefix">(</mo><msub><mi>𝛂</mi><mtext mathvariant="normal">out</mtext></msub><mo stretchy="false" form="postfix">)</mo><mo>≈</mo><mn>3</mn><mi>𝚪</mi><mspace width="1.0em"></mspace><mo>∀</mo><mi>𝐱</mi><mo>∈</mo><mstyle mathvariant="double-struck"><mi>ℝ</mi></mstyle></mstyle><annotation encoding="application/x-tex">\mathbf{V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma
31 \quad \forall x \in \mathbb{R}}</annotation></semantics></math></p>
32 </dd>
33 <dt>mathit<span class="colon">:</span></dt>
34 <dd><p><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mstyle mathvariant="italic"><msub><mi>𝑉</mi><mi>𝑅</mi></msub><mi>𝑥</mi><mo>±</mo><mo>cos</mo><mo stretchy="false" form="prefix">(</mo><msub><mi>𝛼</mi><mtext mathvariant="normal">out</mtext></msub><mo stretchy="false" form="postfix">)</mo><mo>≈</mo><mn>3</mn><mi>𝛤</mi><mspace width="1.0em"></mspace><mo>∀</mo><mi>𝑥</mi><mo>∈</mo><mstyle mathvariant="double-struck"><mi>ℝ</mi></mstyle></mstyle><annotation encoding="application/x-tex">\mathit{V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma
35 \quad \forall x \in \mathbb{R}}</annotation></semantics></math></p>
36 </dd>
37 <dt>mathbfit<span class="colon">:</span></dt>
38 <dd><p><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mstyle mathvariant="bold-italic"><msub><mi>𝑽</mi><mi>𝑹</mi></msub><mi>𝒙</mi><mo>±</mo><mo>cos</mo><mo stretchy="false" form="prefix">(</mo><msub><mi>𝜶</mi><mtext mathvariant="normal">out</mtext></msub><mo stretchy="false" form="postfix">)</mo><mo>≈</mo><mn>3</mn><mi>𝜞</mi><mspace width="1.0em"></mspace><mo>∀</mo><mi>𝒙</mi><mo>∈</mo><mstyle mathvariant="double-struck"><mi>ℝ</mi></mstyle></mstyle><annotation encoding="application/x-tex">\mathbfit{V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma
39 \quad \forall x \in \mathbb{R}}</annotation></semantics></math></p>
40 </dd>
41 <dt>mathbb<span class="colon">:</span></dt>
42 <dd><p><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mstyle mathvariant="double-struck"><msub><mi>𝕍</mi><mi>ℝ</mi></msub><mi>𝕩</mi><mo>±</mo><mo>cos</mo><mo stretchy="false" form="prefix">(</mo><msub><mi>α</mi><mtext mathvariant="normal">out</mtext></msub><mo stretchy="false" form="postfix">)</mo><mo>≈</mo><mn>3</mn><mi>ℾ</mi><mspace width="1.0em"></mspace><mo>∀</mo><mi>𝕩</mi><mo>∈</mo><mstyle mathvariant="double-struck"><mi>ℝ</mi></mstyle></mstyle><annotation encoding="application/x-tex">\mathbb{V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma
43 \quad \forall x \in \mathbb{R}}</annotation></semantics></math></p>
44 </dd>
45 <dt>mathcal<span class="colon">:</span></dt>
46 <dd><p><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mstyle mathvariant="script"><msub><mi>𝒱</mi><mi>ℛ</mi></msub><mi>𝓍</mi><mo>±</mo><mo>cos</mo><mo stretchy="false" form="prefix">(</mo><msub><mi>α</mi><mtext mathvariant="normal">out</mtext></msub><mo stretchy="false" form="postfix">)</mo><mo>≈</mo><mn>3</mn><mi>Γ</mi><mspace width="1.0em"></mspace><mo>∀</mo><mi>𝓍</mi><mo>∈</mo><mstyle mathvariant="double-struck"><mi>ℝ</mi></mstyle></mstyle><annotation encoding="application/x-tex">\mathcal{V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma
47 \quad \forall x \in \mathbb{R}}</annotation></semantics></math></p>
48 </dd>
49 <dt>mathscr<span class="colon">:</span></dt>
50 <dd><p><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mstyle mathvariant="script"><msub><mi>𝒱</mi><mi>ℛ</mi></msub><mi>𝓍</mi><mo>±</mo><mo>cos</mo><mo stretchy="false" form="prefix">(</mo><msub><mi>α</mi><mtext mathvariant="normal">out</mtext></msub><mo stretchy="false" form="postfix">)</mo><mo>≈</mo><mn>3</mn><mi>Γ</mi><mspace width="1.0em"></mspace><mo>∀</mo><mi>𝓍</mi><mo>∈</mo><mstyle mathvariant="double-struck"><mi>ℝ</mi></mstyle></mstyle><annotation encoding="application/x-tex">\mathscr{V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma
51 \quad \forall x \in \mathbb{R}}</annotation></semantics></math></p>
52 </dd>
53 <dt>mathfrak<span class="colon">:</span></dt>
54 <dd><p><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mstyle mathvariant="fraktur"><msub><mi>𝔙</mi><mi>ℜ</mi></msub><mi>𝔵</mi><mo>±</mo><mo>cos</mo><mo stretchy="false" form="prefix">(</mo><msub><mi>α</mi><mtext mathvariant="normal">out</mtext></msub><mo stretchy="false" form="postfix">)</mo><mo>≈</mo><mn>3</mn><mi>Γ</mi><mspace width="1.0em"></mspace><mo>∀</mo><mi>𝔵</mi><mo>∈</mo><mstyle mathvariant="double-struck"><mi>ℝ</mi></mstyle></mstyle><annotation encoding="application/x-tex">\mathfrak{V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma
55 \quad \forall x \in \mathbb{R}}</annotation></semantics></math></p>
56 </dd>
57 <dt>mathsf<span class="colon">:</span></dt>
58 <dd><p><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mstyle mathvariant="sans-serif"><msub><mi>𝖵</mi><mi>𝖱</mi></msub><mi>𝗑</mi><mo>±</mo><mo>cos</mo><mo stretchy="false" form="prefix">(</mo><msub><mi>α</mi><mtext mathvariant="normal">out</mtext></msub><mo stretchy="false" form="postfix">)</mo><mo>≈</mo><mn>3</mn><mi>Γ</mi><mspace width="1.0em"></mspace><mo>∀</mo><mi>𝗑</mi><mo>∈</mo><mstyle mathvariant="double-struck"><mi>ℝ</mi></mstyle></mstyle><annotation encoding="application/x-tex">\mathsf{V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma
59 \quad \forall x \in \mathbb{R}}</annotation></semantics></math></p>
60 </dd>
61 <dt>mathsfit<span class="colon">:</span></dt>
62 <dd><p><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mstyle mathvariant="sans-serif-italic"><msub><mi>𝘝</mi><mi>𝘙</mi></msub><mi>𝘹</mi><mo>±</mo><mo>cos</mo><mo stretchy="false" form="prefix">(</mo><msub><mi>α</mi><mtext mathvariant="normal">out</mtext></msub><mo stretchy="false" form="postfix">)</mo><mo>≈</mo><mn>3</mn><mi>Γ</mi><mspace width="1.0em"></mspace><mo>∀</mo><mi>𝘹</mi><mo>∈</mo><mstyle mathvariant="double-struck"><mi>ℝ</mi></mstyle></mstyle><annotation encoding="application/x-tex">\mathsfit{V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma
63 \quad \forall x \in \mathbb{R}}</annotation></semantics></math></p>
64 </dd>
65 <dt>mathsfbfit<span class="colon">:</span></dt>
66 <dd><p><span class="math problematic">\mathsfbfit{V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma
67 \quad \forall x \in \mathbb{R}}</span></p>
68 <aside class="system-message">
69 <p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 35)</p>
70 <p>TeX to MathML converter `pandoc` failed:</p>
71 <p>[WARNING] Could not convert TeX math '\mathsfbfit{V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma</p>
72 <pre class="literal-block"> \quad \forall x \in \mathbb{R}}', rendering as TeX:
73 \mathsfbfit{V_R x \pm \cos(\alpha_\text{</pre>
74 <p class="pre-wrap"> ^
75 unexpected &quot;{&quot;
76 expecting &quot;%&quot;, &quot;\\label&quot;, &quot;\\nonumber&quot; or whitespace</p>
77 </aside>
78 </dd>
79 <dt>mathbfsfit<span class="colon">:</span></dt>
80 <dd><p><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mstyle mathvariant="sans-serif-bold-italic"><msub><mi>𝙑</mi><mi>𝙍</mi></msub><mi>𝙭</mi><mo>±</mo><mo>cos</mo><mo stretchy="false" form="prefix">(</mo><msub><mi>𝞪</mi><mtext mathvariant="normal">out</mtext></msub><mo stretchy="false" form="postfix">)</mo><mo>≈</mo><mn>3</mn><mi>𝞒</mi><mspace width="1.0em"></mspace><mo>∀</mo><mi>𝙭</mi><mo>∈</mo><mstyle mathvariant="double-struck"><mi>ℝ</mi></mstyle></mstyle><annotation encoding="application/x-tex">\mathbfsfit{V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma
81 \quad \forall x \in \mathbb{R}}</annotation></semantics></math></p>
82 </dd>
83 <dt>mathtt<span class="colon">:</span></dt>
84 <dd><p><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mstyle mathvariant="monospace"><msub><mi>𝚅</mi><mi>𝚁</mi></msub><mi>𝚡</mi><mo>±</mo><mo>cos</mo><mo stretchy="false" form="prefix">(</mo><msub><mi>α</mi><mtext mathvariant="normal">out</mtext></msub><mo stretchy="false" form="postfix">)</mo><mo>≈</mo><mn>3</mn><mi>Γ</mi><mspace width="1.0em"></mspace><mo>∀</mo><mi>𝚡</mi><mo>∈</mo><mstyle mathvariant="double-struck"><mi>ℝ</mi></mstyle></mstyle><annotation encoding="application/x-tex">\mathtt{V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma
85 \quad \forall x \in \mathbb{R}}</annotation></semantics></math></p>
86 </dd>
87 </dl>
88 <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,
89 characters from the <a class="reference external" href="http://www.unicode.org/charts/PDF/U1EE00.pdf">Mathematical Alphanumeric Symbols</a> Unicode block
90 are used.</p>
91 <p>The mathvariants <em>bold-script</em>, <em>bold-fraktur</em>, and <em>sans-bold</em> are
92 rarely used. They are currently not supported by Docutils's native MathML
93 output. In LaTeX, <span class="docutils literal">\mathbfscr</span> and <span class="docutils literal">\mathbffrac</span> is supported by the
94 <a class="reference external" href="https://www.ctan.org/pkg/mathalpha">mathalpha</a> package.</p>
95 <p>Bold variants of any symbol can be achieved in combination with the
96 <span class="docutils literal">\boldsymbol</span> command, e.g.</p>
97 <dl class="field-list simple">
98 <dt>bold-fraktur<span class="colon">:</span></dt>
99 <dd><p><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mstyle mathvariant="bold"><mstyle mathvariant="fraktur"><msub><mi>𝔙</mi><mi>ℜ</mi></msub><mi>𝔵</mi></mstyle></mstyle><annotation encoding="application/x-tex">\boldsymbol{\mathfrak{V_R x}}</annotation></semantics></math></p>
100 </dd>
101 </dl>
102 <p>Note, that <span class="docutils literal">\boldsymbol</span> emboldens also non-alphanumerical symbols.</p>
103 <section id="complex-example">
104 <h3>Complex Example</h3>
105 <p>From the <a class="reference external" href="https://www.ctan.org/pkg/baskervaldx">baskervaldx</a> package documentation:</p>
106 <dl>
107 <dt>Simplest form of the <em>Central Limit Theorem</em>:</dt>
108 <dd><p>Let <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>X</mi><mn>1</mn></msub><mo>,</mo><msub><mi>X</mi><mn>2</mn></msub><mo>,</mo><mi>⋯</mi></mrow><annotation encoding="application/x-tex">X_1, X_2,\cdots</annotation></semantics></math> be a sequence of iid random variables with mean <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mn>0</mn><annotation encoding="application/x-tex">0</annotation></semantics></math>
109 and variance <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mn>1</mn><annotation encoding="application/x-tex">1</annotation></semantics></math> on a probability space <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false" form="prefix">(</mo><mi>Ω</mi><mo>,</mo><mstyle mathvariant="script"><mi>ℱ</mi></mstyle><mo>,</mo><mstyle mathvariant="double-struck"><mi>ℙ</mi></mstyle><mo stretchy="false" form="postfix">)</mo></mrow><annotation encoding="application/x-tex">(\Omega,\mathcal{F},\mathbb{P})</annotation></semantics></math>.
110 Then</p>
111 <div>
112 <math display="block" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mstyle mathvariant="double-struck"><mi>ℙ</mi></mstyle><mrow><mo stretchy="true" form="prefix">(</mo><mfrac><mrow><msub><mi>X</mi><mn>1</mn></msub><mo>+</mo><mi>⋯</mi><mo>+</mo><msub><mi>X</mi><mi>n</mi></msub></mrow><msqrt><mi>n</mi></msqrt></mfrac><mo>≤</mo><mi>y</mi><mo stretchy="true" form="postfix">)</mo></mrow><mo>→</mo><mstyle mathvariant="fraktur"><mi>𝔑</mi></mstyle><mo stretchy="false" form="prefix">(</mo><mi>y</mi><mo stretchy="false" form="postfix">)</mo><mo>≔</mo><msubsup><mo>∫</mo><mrow><mo>−</mo><mi>∞</mi></mrow><mi>y</mi></msubsup><mfrac><msup><mstyle mathvariant="normal"><mi>e</mi></mstyle><mrow><mo>−</mo><msup><mi>t</mi><mn>2</mn></msup><mi>/</mi><mn>2</mn></mrow></msup><msqrt><mrow><mn>2</mn><mstyle mathvariant="normal"><mi>π</mi></mstyle></mrow></msqrt></mfrac><mspace width="0.167em"></mspace><mstyle mathvariant="normal"><mi>d</mi></mstyle><mi>t</mi><mspace width="1.0em"></mspace><mrow><mrow><mtext mathvariant="normal">as </mtext><mspace width="0.333em"></mspace></mrow><mrow><mi>n</mi><mo>→</mo><mi>∞</mi></mrow><mtext mathvariant="normal">,</mtext></mrow></mrow><annotation encoding="application/x-tex">\mathbb{P}\left(\frac{X_1+\cdots+X_n}{\sqrt{n}} \le y\right)
113 \to\mathfrak{N}(y)
114 \coloneq \int_{-\infty}^y
115 \frac{\mathrm{e}^{-t^2/2}}{\sqrt{2\mathrm{\pi}}}\, \mathrm{d}t
116 \quad\mbox{as $n\to\infty$,}</annotation></semantics></math>
117 </div>
118 <p>or, equivalently, letting <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msub><mi>S</mi><mi>n</mi></msub><mo>≔</mo><msubsup><mo>∑</mo><mn>1</mn><mi>n</mi></msubsup><msub><mi>X</mi><mi>k</mi></msub></mrow><annotation encoding="application/x-tex">S_n\coloneq\sum_1^n X_k</annotation></semantics></math>,</p>
119 <div>
120 <math display="block" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mstyle mathvariant="double-struck"><mi>𝔼</mi></mstyle><mi>f</mi><mrow><mo stretchy="true" form="prefix">(</mo><msub><mi>S</mi><mi>n</mi></msub><mi>/</mi><msqrt><mi>n</mi></msqrt><mo stretchy="true" form="postfix">)</mo></mrow><mo>→</mo><msubsup><mo>∫</mo><mrow><mo>−</mo><mi>∞</mi></mrow><mi>∞</mi></msubsup><mi>f</mi><mo stretchy="false" form="prefix">(</mo><mi>t</mi><mo stretchy="false" form="postfix">)</mo><mfrac><msup><mstyle mathvariant="normal"><mi>e</mi></mstyle><mrow><mo>−</mo><msup><mi>t</mi><mn>2</mn></msup><mi>/</mi><mn>2</mn></mrow></msup><msqrt><mrow><mn>2</mn><mstyle mathvariant="normal"><mi>π</mi></mstyle></mrow></msqrt></mfrac><mspace width="0.167em"></mspace><mstyle mathvariant="normal"><mi>d</mi></mstyle><mi>t</mi><mspace width="1.0em"></mspace><mrow><mrow><mtext mathvariant="normal">as </mtext><mspace width="0.333em"></mspace></mrow><mrow><mi>n</mi><mo>→</mo><mi>∞</mi></mrow><mrow><mtext mathvariant="normal">,
121 for every </mtext><mspace width="0.333em"></mspace></mrow><mrow><mi>f</mi><mo>∈</mo><mstyle mathvariant="normal"><mi>b</mi></mstyle><mstyle mathvariant="script"><mi>𝒞</mi></mstyle><mo stretchy="false" form="prefix">(</mo><mstyle mathvariant="double-struck"><mi>ℝ</mi></mstyle><mo stretchy="false" form="postfix">)</mo></mrow><mtext mathvariant="normal">.</mtext></mrow></mrow><annotation encoding="application/x-tex">\mathbb{E} f\left(S_n/\sqrt{n}\right)
122 \to \int_{-\infty}^\infty f(t)
123 \frac{\mathrm{e}^{-t^2/2}}{\sqrt{2\mathrm{\pi}}}\, \mathrm{d}t
124 \quad\mbox{as $n\to\infty$,
125 for every $f\in\mathrm{b} \mathcal{C}(\mathbb{R})$.}</annotation></semantics></math>
126 </div>
127 </dd>
128 </dl>
129 </section>
130 </section>
131 <section id="inferred-mrow-s-in-mathml">
132 <h2>Inferred &lt;mrow&gt;s in MathML</h2>
133 <p>The elements &lt;msqrt&gt;, &lt;mstyle&gt;, &lt;merror&gt;, &lt;mpadded&gt;, &lt;mphantom&gt;, &lt;menclose&gt;,
134 &lt;mtd&gt;, &lt;mscarry&gt;, and &lt;math&gt; treat their contents as a single inferred mrow
135 formed from all their children.</p>
136 <pre class="math problematic">
137 a = \sqrt 2 + x,\quad
138 b = \sqrt{1+x^2},\quad
139 c = \sqrt\frac{\sin(x)}{23},
140 </pre>
141 <aside class="system-message">
142 <p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 91)</p>
143 <p>TeX to MathML converter `pandoc` failed:</p>
144 <p>[WARNING] Could not convert TeX math 'a = \sqrt 2 + x,\quad</p>
145 <pre class="literal-block"> b = \sqrt{1+x^2},\quad
146 c = \sqrt\frac{\sin(x)}{23},', rendering as TeX:</pre>
147 <p class="pre-wrap"> c = \sqrt\frac{\sin(x)}{23},
148 ^
149 unexpected &quot;{&quot;
150 expecting &quot;%&quot;, &quot;\\label&quot;, &quot;\\nonumber&quot; or whitespace</p>
151 </aside>
152 <p>inline: <span class="math problematic">a = \sqrt 2 + x, b = \sqrt{1+x^2}, c = \sqrt\frac{\sin(x)}{23}</span>.</p>
153 <aside class="system-message">
154 <p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 95)</p>
155 <p>TeX to MathML converter `pandoc` failed:</p>
156 <p>[WARNING] Could not convert TeX math 'a = \sqrt 2 + x, b = \sqrt{1+x^2}, c = \sqrt\frac{\sin(x)}{23}', rendering as TeX:</p>
157 <pre class="literal-block"> ^2}, c = \sqrt\frac{\sin(x)}{23}
158 ^</pre>
159 <p class="pre-wrap"> unexpected &quot;{&quot;
160 expecting &quot;%&quot;, &quot;\\label&quot;, &quot;\\nonumber&quot; or whitespace</p>
161 </aside>
162 </section>
163 <section id="scripts-and-limits">
164 <h2>Scripts and Limits</h2>
165 <p>Accents should be nearer to the base:
166 <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mover><mi>a</mi><mo accent="true">‾</mo></mover><mover><mi>a</mi><mo accent="true">¯</mo></mover><mo>,</mo><mover><mi>l</mi><mo accent="true">‾</mo></mover><mover><mi>l</mi><mo accent="true">¯</mo></mover><mo>,</mo><mover><mi>i</mi><mo accent="true">‾</mo></mover><mover><mi>i</mi><mo accent="true">¯</mo></mover></mrow><annotation encoding="application/x-tex">\bar a \overline a, \bar l \overline l, \bar i \overline i</annotation></semantics></math>,
167 <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mover><mi>r</mi><mo accent="true">⃗</mo></mover><annotation encoding="application/x-tex">\vec{r}</annotation></semantics></math> <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mover><mi>r</mi><mo accent="true">⃗</mo></mover><annotation encoding="application/x-tex">\overrightarrow{r}</annotation></semantics></math>.</p>
168 <p>Sub- and superscript may be given in any order:
169 <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mi>x</mi><mi>i</mi><mi>j</mi></msubsup><mo>=</mo><msubsup><mi>x</mi><mi>i</mi><mi>j</mi></msubsup></mrow><annotation encoding="application/x-tex">x_i^j = x^j_i</annotation></semantics></math> and <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><mo>=</mo><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup></mrow><annotation encoding="application/x-tex">\int_0^1 = \int^1_0</annotation></semantics></math>.</p>
170 <p>Double exponent: <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><msup><mi>x</mi><msup><mn>10</mn><mn>4</mn></msup></msup><annotation encoding="application/x-tex">x^{10^4}</annotation></semantics></math>, <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><msub><mi>r</mi><msub><mi>T</mi><mstyle mathvariant="normal"><mi>i</mi><mi>n</mi></mstyle></msub></msub><annotation encoding="application/x-tex">r_{T_\mathrm{in}}</annotation></semantics></math> and <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><msubsup><mi>x</mi><mi>i</mi><msup><mi>n</mi><mn>2</mn></msup></msubsup><annotation encoding="application/x-tex">x_i^{n^2}</annotation></semantics></math>.</p>
171 </section>
172 <section id="nested-groups">
173 <h2>Nested groups</h2>
174 <p>tex-token returns &quot;{&quot; for nested groups:</p>
175 <div>
176 <math display="block" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mrow><mtext mathvariant="normal">das ist ein </mtext><mspace width="0.333em"></mspace></mrow><mtext mathvariant="normal">toller</mtext><mrow><mspace width="0.333em"></mspace><mtext mathvariant="normal"> text (unescaped {and }is
177 ignored by LaTeX)</mtext></mrow></mrow><annotation encoding="application/x-tex">\text{das ist ein {toller} text (unescaped \{ and \} is
178 ignored by LaTeX)}</annotation></semantics></math>
179 </div>
180 </section>
181 <section id="big-delimiters-and-symbols">
182 <h2>Big delimiters and symbols</h2>
183 <p>Compare automatic sizing with fixed sizes:</p>
184 <!-- math: \left( \frac{\frac1x}{\frac{1}{n}}\right) &= \Biggl(\text{Bigg}\Biggr)\\ -->
185 <pre class="math problematic">
186 \left( 3 \right)
187 \left( f(x) \right)
188 \left( \bar x \right)
189 \left( \overline x \right)
190 \left( n_i \right) &amp;= () \\
191 \left( \underline x \right) &amp;= \bigl(\text{big}\bigr)\\
192 \left( 3^2 \right)
193 \left( \sqrt{3} \right)
194 \left( \sqrt{3^2} \right)
195 \left( \sum \right)
196 \left( \bigotimes \right)
197 \left( \prod \right) &amp;= \Bigl(\text{Big}\Bigr)\\
198 \left( \frac{3 }{2} \right)
199 \left( \frac{3^2}{2^4} \right)
200 \binom{3 }{2}
201 \begin{pmatrix} a &amp; b \\ c &amp; d \end{pmatrix}
202 \left( \frac{1}{\sqrt 2} \right)
203 \left( \int \right)
204 \left( \int_0 \right)
205 \left( \int^1 \right)
206 \left( \int_0^1 \right) &amp;= \biggl(\text{bigg}\biggr)\\
207 \left( \frac{\sqrt 2}{2} \right)
208 \left( \sum_0 \right)
209 \left( \sum^1 \right)
210 \left( \sum_0^1 \right)
211 \left( \frac{\frac1x}{\frac{1}{n}}\right) &amp;= \Biggl(\text{Bigg}\Biggr)\\
212 \left( \intop_0 \right)
213 \left( \intop^1 \right)
214 \left( \intop_0^1 \right)
215 </pre>
216 <aside class="system-message">
217 <p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 127)</p>
218 <p>TeX to MathML converter `pandoc` failed:</p>
219 <p>[WARNING] Could not convert TeX math '\begin{aligned}</p>
220 <pre class="literal-block"> \left( 3 \right)
221 \left( f(x) \right)</pre>
222 <p class="pre-wrap"> \left( \bar x \right)
223 \left( \overline x \right)
224 \left( n_i \right) &amp;= () \\
225 \left( \underline x \right) &amp;= \bigl(\text{big}\bigr)\\
226 \left( 3^2 \right)
227 \left( \sqrt{3} \right)
228 \left( \sqrt{3^2} \right)
229 \left( \sum \right)
230 \left( \bigotimes \right)
231 \left( \prod \right) &amp;= \Bigl(\text{Big}\Bigr)\\
232 \left( \frac{3 }{2} \right)
233 \left( \frac{3^2}{2^4} \right)
234 \binom{3 }{2}
235 \begin{pmatrix} a &amp; b \\ c &amp; d \end{pmatrix}
236 \left( \frac{1}{\sqrt 2} \right)
237 \left( \int \right)
238 \left( \int_0 \right)
239 \left( \int^1 \right)
240 \left( \int_0^1 \right) &amp;= \biggl(\text{bigg}\biggr)\\
241 \left( \frac{\sqrt 2}{2} \right)
242 \left( \sum_0 \right)
243 \left( \sum^1 \right)
244 \left( \sum_0^1 \right)
245 \left( \frac{\frac1x}{\frac{1}{n}}\right) &amp;= \Biggl(\text{Bigg}\Biggr)\\
246 \left( \intop_0 \right)
247 \left( \intop^1 \right)
248 \left( \intop_0^1 \right)\end{aligned}', rendering as TeX:
249 \right) &amp;= \Bigl(\text{Big}\Bigr
250 ^
251 unexpected &quot;\\&quot;
252 expecting &quot;&amp;&quot;, &quot;\\\\&quot;, white space or &quot;\\end&quot;</p>
253 </aside>
254 <p>And in text:</p>
255 <dl class="field-list simple">
256 <dt><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false" form="prefix">(</mo><mo stretchy="false" form="postfix">)</mo></mrow><annotation encoding="application/x-tex">()</annotation></semantics></math><span class="colon">:</span></dt>
257 <dd><p><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mrow><mo stretchy="true" form="prefix">(</mo><mn>3</mn><mo stretchy="true" form="postfix">)</mo></mrow><mrow><mo stretchy="true" form="prefix">(</mo><mi>f</mi><mo stretchy="false" form="prefix">(</mo><mi>x</mi><mo stretchy="false" form="postfix">)</mo><mo stretchy="true" form="postfix">)</mo></mrow><mrow><mo stretchy="true" form="prefix">(</mo><mover><mi>x</mi><mo accent="true">‾</mo></mover><mo stretchy="true" form="postfix">)</mo></mrow><mrow><mo stretchy="true" form="prefix">(</mo><mover><mi>x</mi><mo accent="true">¯</mo></mover><mo stretchy="true" form="postfix">)</mo></mrow><mrow><mo stretchy="true" form="prefix">(</mo><msub><mi>n</mi><mi>i</mi></msub><mo stretchy="true" form="postfix">)</mo></mrow><mrow><mo stretchy="true" form="prefix">(</mo><mo>∑</mo><mo stretchy="true" form="postfix">)</mo></mrow><mrow><mo stretchy="true" form="prefix">(</mo><msub><mo>∑</mo><mn>0</mn></msub><mo stretchy="true" form="postfix">)</mo></mrow><mrow><mo stretchy="true" form="prefix">(</mo><mo>∏</mo><mo stretchy="true" form="postfix">)</mo></mrow></mrow><annotation encoding="application/x-tex">\left(3 \right)
258 \left( f(x) \right)
259 \left( \bar x \right)
260 \left( \overline x \right)
261 \left( n_i \right)
262 \left( \sum \right)
263 \left( \sum_0 \right)
264 \left( \prod \right)</annotation></semantics></math></p>
265 </dd>
266 <dt><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo minsize="1.2" maxsize="1.2" stretchy="false" form="prefix">(</mo><mtext mathvariant="normal">big</mtext><mo minsize="1.2" maxsize="1.2" stretchy="false" form="postfix">)</mo></mrow><annotation encoding="application/x-tex">\bigl(\text{big}\bigr)</annotation></semantics></math><span class="colon">:</span></dt>
267 <dd><p><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mrow><mo stretchy="true" form="prefix">(</mo><munder><mi>x</mi><mo accent="true">_</mo></munder><mo stretchy="true" form="postfix">)</mo></mrow><mrow><mo stretchy="true" form="prefix">(</mo><msup><mn>3</mn><mn>2</mn></msup><mo stretchy="true" form="postfix">)</mo></mrow><mrow><mo stretchy="true" form="prefix">(</mo><mfrac linethickness="0"><mn>3</mn><mn>2</mn></mfrac><mo stretchy="true" form="postfix">)</mo></mrow><mrow><mo stretchy="true" form="prefix">(</mo><mtable><mtr><mtd columnalign="center"><mi>a</mi></mtd><mtd columnalign="center"><mi>b</mi></mtd></mtr><mtr><mtd columnalign="center"><mi>c</mi></mtd><mtd columnalign="center"><mi>d</mi></mtd></mtr></mtable><mo stretchy="true" form="postfix">)</mo></mrow><mrow><mo stretchy="true" form="prefix">(</mo><mo>⨂</mo><mo stretchy="true" form="postfix">)</mo></mrow></mrow><annotation encoding="application/x-tex">\left(\underline x \right)
268 \left( 3^2 \right)
269 \binom{3}{2}
270 \left(\begin{smallmatrix} a &amp; b \\
271 c &amp; d \end{smallmatrix} \right)
272 \left( \bigotimes \right)</annotation></semantics></math></p>
273 </dd>
274 <dt><span class="math problematic">\Bigl(\text{Big}\Bigr)</span><span class="colon">:</span></dt>
275 <dd><p><math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mrow><mo stretchy="true" form="prefix">(</mo><msqrt><mn>3</mn></msqrt><mo stretchy="true" form="postfix">)</mo></mrow><mrow><mo stretchy="true" form="prefix">(</mo><msqrt><msup><mn>3</mn><mn>2</mn></msup></msqrt><mo stretchy="true" form="postfix">)</mo></mrow><mrow><mo stretchy="true" form="prefix">(</mo><mfrac><mn>3</mn><mn>2</mn></mfrac><mo stretchy="true" form="postfix">)</mo></mrow><mrow><mo stretchy="true" form="prefix">(</mo><mfrac><msup><mn>3</mn><mn>2</mn></msup><msup><mn>2</mn><mn>4</mn></msup></mfrac><mo stretchy="true" form="postfix">)</mo></mrow><mrow><mo stretchy="true" form="prefix">(</mo><mfrac><msqrt><mn>2</mn></msqrt><mn>2</mn></mfrac><mo stretchy="true" form="postfix">)</mo></mrow><mrow><mo stretchy="true" form="prefix">(</mo><mo>∫</mo><mo stretchy="true" form="postfix">)</mo></mrow><mrow><mo stretchy="true" form="prefix">(</mo><msub><mo>∫</mo><mn>0</mn></msub><mo stretchy="true" form="postfix">)</mo></mrow><mrow><mo stretchy="true" form="prefix">(</mo><msup><mo>∫</mo><mn>1</mn></msup><mo stretchy="true" form="postfix">)</mo></mrow><mrow><mo stretchy="true" form="prefix">(</mo><msubsup><mo>∫</mo><mn>0</mn><mn>1</mn></msubsup><mo stretchy="true" form="postfix">)</mo></mrow><mrow><mo stretchy="true" form="prefix">(</mo><msup><mo>∑</mo><mn>1</mn></msup><mo stretchy="true" form="postfix">)</mo></mrow><mrow><mo stretchy="true" form="prefix">(</mo><msubsup><mo>∑</mo><mn>0</mn><mn>1</mn></msubsup><mo stretchy="true" form="postfix">)</mo></mrow><mrow><mo stretchy="true" form="prefix">(</mo><mfrac><mfrac><mn>1</mn><mi>x</mi></mfrac><mfrac><mn>1</mn><mi>n</mi></mfrac></mfrac><mo stretchy="true" form="postfix">)</mo></mrow></mrow><annotation encoding="application/x-tex">\left(\sqrt{3} \right)
276 \left( \sqrt{3^2} \right)
277 \left( \frac{3}{2} \right)
278 \left( \frac{3^2}{2^4} \right)
279 \left( \frac{\sqrt 2}{2} \right)
280 \left( \int \right)
281 \left( \int_0 \right)
282 \left( \int^1 \right)
283 \left( \int_0^1 \right)
284 \left( \sum^1 \right)
285 \left( \sum_0^1 \right)
286 \left( \frac{\frac1x}{\frac{1}{n}}\right)</annotation></semantics></math></p>
287 <aside class="system-message">
288 <p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 177)</p>
289 <p>TeX to MathML converter `pandoc` failed:</p>
290 <p>[WARNING] Could not convert TeX math '\Bigl(\text{Big}\Bigr)', rendering as TeX:</p>
291 <pre class="literal-block"> \Bigl(\text{Big}\Bigr)
292 ^</pre>
293 <p class="pre-wrap"> unexpected &quot;(&quot;
294 expecting &quot;%&quot;, &quot;\\label&quot;, &quot;\\nonumber&quot; or whitespace</p>
295 </aside>
296 </dd>
297 </dl>
298 <p>Test <span class="docutils literal">\left</span>, <span class="docutils literal">\right</span>, and the bigl/bigr, … size commands
299 with all extensible delimiters.</p>
300 <p>pairing:</p>
301 <div>
302 <math display="block" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mrow><mo stretchy="false" form="prefix">(</mo><mi>b</mi><mo stretchy="true" form="postfix">)</mo></mrow><mspace width="0.222em"></mspace><mo minsize="1.2" maxsize="1.2" stretchy="false" form="prefix">(</mo><mi>b</mi><mo minsize="1.8" maxsize="1.8" stretchy="false" form="postfix">)</mo><mspace width="0.222em"></mspace><mo minsize="2.4" maxsize="2.4" stretchy="false" form="prefix">(</mo><mi>b</mi><mo minsize="3.0" maxsize="3.0" stretchy="false" form="postfix">)</mo><mspace width="1.0em"></mspace><mrow><mo stretchy="false" form="prefix">[</mo><mi>b</mi><mo stretchy="true" form="postfix">]</mo></mrow><mspace width="0.222em"></mspace><mo minsize="1.2" maxsize="1.2" stretchy="false" form="prefix">[</mo><mi>b</mi><mo minsize="1.8" maxsize="1.8" stretchy="false" form="postfix">]</mo><mspace width="0.222em"></mspace><mo minsize="2.4" maxsize="2.4" stretchy="false" form="prefix">[</mo><mi>b</mi><mo minsize="3.0" maxsize="3.0" stretchy="false" form="postfix">]</mo><mspace width="1.0em"></mspace><mrow><mo stretchy="false" form="prefix">{</mo><mi>b</mi><mo stretchy="true" form="postfix">}</mo></mrow><mspace width="0.222em"></mspace><mo minsize="1.2" maxsize="1.2" stretchy="false" form="prefix">{</mo><mi>b</mi><mo minsize="1.8" maxsize="1.8" stretchy="false" form="postfix">}</mo><mspace width="0.222em"></mspace><mo minsize="2.4" maxsize="2.4" stretchy="false" form="prefix">{</mo><mi>b</mi><mo minsize="3.0" maxsize="3.0" stretchy="false" form="postfix">}</mo><mspace width="1.0em"></mspace><mrow><mo stretchy="false" form="prefix">⟨</mo><mi>b</mi><mo stretchy="true" form="postfix">⟩</mo></mrow><mspace width="0.222em"></mspace><mo minsize="1.2" maxsize="1.2" stretchy="false" form="prefix">⟨</mo><mi>b</mi><mo minsize="1.8" maxsize="1.8" stretchy="false" form="postfix">⟩</mo><mspace width="0.222em"></mspace><mo minsize="2.4" maxsize="2.4" stretchy="false" form="prefix">⟨</mo><mi>b</mi><mo minsize="3.0" maxsize="3.0" stretchy="false" form="postfix">⟩</mo></mrow><annotation encoding="application/x-tex">\left.( b \right) \ \bigl( b \Bigr) \ \biggl( b \Biggr)
303 \quad
304 \left.[ b \right] \ \bigl[ b \Bigr] \ \biggl[ b \Biggr]
305 \quad
306 \left.\{ b \right\} \ \bigl\{ b \Bigr\} \ \biggl\{ b \Biggr\}
307 \quad
308 \left.\langle b \right\rangle \ \bigl\langle b \Bigr\rangle \ \biggl\langle b \Biggr\rangle</annotation></semantics></math>
309 </div>
310 <div>
311 <math display="block" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mrow><mo stretchy="false" form="prefix">⌈</mo><mi>b</mi><mo stretchy="true" form="postfix">⌉</mo></mrow><mspace width="0.222em"></mspace><mo minsize="1.2" maxsize="1.2" stretchy="false" form="prefix">⌈</mo><mi>b</mi><mo minsize="1.8" maxsize="1.8" stretchy="false" form="postfix">⌉</mo><mspace width="0.222em"></mspace><mo minsize="2.4" maxsize="2.4" stretchy="false" form="prefix">⌈</mo><mi>b</mi><mo minsize="3.0" maxsize="3.0" stretchy="false" form="postfix">⌉</mo><mspace width="1.0em"></mspace><mrow><mo stretchy="false" form="prefix">⌊</mo><mi>b</mi><mo stretchy="true" form="postfix">⌋</mo></mrow><mspace width="0.222em"></mspace><mo minsize="1.2" maxsize="1.2" stretchy="false" form="prefix">⌊</mo><mi>b</mi><mo minsize="1.8" maxsize="1.8" stretchy="false" form="postfix">⌋</mo><mspace width="0.222em"></mspace><mo minsize="2.4" maxsize="2.4" stretchy="false" form="prefix">⌊</mo><mi>b</mi><mo minsize="3.0" maxsize="3.0" stretchy="false" form="postfix">⌋</mo><mspace width="1.0em"></mspace><mrow><mo stretchy="false" form="prefix">|</mo><mi>b</mi><mo stretchy="true" form="postfix">|</mo></mrow><mspace width="0.222em"></mspace><mo minsize="1.2" maxsize="1.2" stretchy="false" form="prefix">|</mo><mi>b</mi><mo minsize="1.8" maxsize="1.8" stretchy="false" form="postfix">|</mo><mspace width="0.222em"></mspace><mo minsize="2.4" maxsize="2.4" stretchy="false" form="prefix">|</mo><mi>b</mi><mo minsize="3.0" maxsize="3.0" stretchy="false" form="postfix">|</mo><mspace width="1.0em"></mspace><mrow><mo stretchy="false" form="prefix">∥</mo><mi>b</mi><mo stretchy="true" form="postfix">∥</mo></mrow><mspace width="0.222em"></mspace><mo minsize="1.2" maxsize="1.2" stretchy="false" form="prefix">∥</mo><mi>b</mi><mo minsize="1.8" maxsize="1.8" stretchy="false" form="postfix">∥</mo><mspace width="0.222em"></mspace><mo minsize="2.4" maxsize="2.4" stretchy="false" form="prefix">∥</mo><mi>b</mi><mo minsize="3.0" maxsize="3.0" stretchy="false" form="postfix">∥</mo></mrow><annotation encoding="application/x-tex">\left.\lceil b \right\rceil \ \bigl\lceil b \Bigr\rceil \ \biggl\lceil b \Biggr\rceil
312 \quad
313 \left.\lfloor b \right\rfloor \ \bigl\lfloor b \Bigr\rfloor \ \biggl\lfloor b \Biggr\rfloor
314 \quad
315 \left.\lvert b \right\rvert \ \bigl\lvert b \Bigr\rvert \ \biggl\lvert b \Biggr\rvert
316 \quad
317 \left.\lVert b \right\rVert \ \bigl\lVert b \Bigr\rVert \ \biggl\lVert b \Biggr\rVert</annotation></semantics></math>
318 </div>
319 <pre class="math problematic">
320 \left.\lgroup b \right\rgroup \ \bigl\lgroup b \Bigr\rgroup \ \biggl\lgroup b \Biggr\rgroup
321 \quad
322 \left.\lmoustache b \right\rmoustache \ \bigl\lmoustache b \Bigr\rmoustache \ \biggl\lmoustache b \Biggr\rmoustache
323 \quad
324 \left./ b \right\backslash \ \bigl/ b \Bigr\backslash \ \biggl/ b \Biggr\backslash
325 </pre>
326 <aside class="system-message">
327 <p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 199)</p>
328 <p>TeX to MathML converter `pandoc` failed:</p>
329 <p>[WARNING] Could not convert TeX math '\left.\lgroup b \right\rgroup \ \bigl\lgroup b \Bigr\rgroup \ \biggl\lgroup b \Biggr\rgroup</p>
330 <pre class="literal-block"> \quad
331 \left.\lmoustache b \right\rmoustache \ \bigl\lmoustache b \Bigr\rmoustache \ \biggl\lmoustache b \Biggr\rmoustache</pre>
332 <p class="pre-wrap"> \quad
333 \left./ b \right\backslash \ \bigl/ b \Bigr\backslash \ \biggl/ b \Biggr\backslash', rendering as TeX:
334 up b \right\rgroup \ \bigl\lgroup b \Big
335 ^
336 unexpected &quot;\\&quot;
337 expecting &quot;%&quot;, &quot;\\label&quot;, &quot;\\nonumber&quot; or whitespace</p>
338 </aside>
339 <p>non-pairing:</p>
340 <div>
341 <math display="block" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mrow><mo stretchy="false" form="prefix">|</mo><mi>b</mi><mo stretchy="true" form="postfix">|</mo></mrow><mspace width="0.222em"></mspace><mo minsize="1.2" maxsize="1.2" stretchy="false" form="prefix">|</mo><mi>b</mi><mo minsize="1.8" maxsize="1.8" stretchy="false" form="prefix">|</mo><mspace width="0.222em"></mspace><mo minsize="2.4" maxsize="2.4" stretchy="false" form="prefix">|</mo><mi>b</mi><mo minsize="3.0" maxsize="3.0" stretchy="false" form="prefix">|</mo><mspace width="1.0em"></mspace><mrow><mo stretchy="false" form="postfix">|</mo><mi>b</mi><mo stretchy="true" form="postfix">|</mo></mrow><mspace width="0.222em"></mspace><mo minsize="1.2" maxsize="1.2" stretchy="false" form="postfix">|</mo><mi>b</mi><mo minsize="1.8" maxsize="1.8" stretchy="false" form="postfix">|</mo><mspace width="0.222em"></mspace><mo minsize="2.4" maxsize="2.4" stretchy="false" form="postfix">|</mo><mi>b</mi><mo minsize="3.0" maxsize="3.0" stretchy="false" form="postfix">|</mo><mspace width="1.0em"></mspace><mrow><mo stretchy="false" form="postfix">∥</mo><mi>b</mi><mo stretchy="true" form="postfix">∥</mo></mrow><mspace width="0.222em"></mspace><mo minsize="1.2" maxsize="1.2" stretchy="false" form="postfix">∥</mo><mi>b</mi><mo minsize="1.8" maxsize="1.8" stretchy="false" form="postfix">∥</mo><mspace width="0.222em"></mspace><mo minsize="2.4" maxsize="2.4" stretchy="false" form="postfix">∥</mo><mi>b</mi><mo minsize="3.0" maxsize="3.0" stretchy="false" form="postfix">∥</mo><mspace width="1.0em"></mspace><mrow><mo stretchy="false" form="postfix">‖</mo><mi>b</mi><mo stretchy="true" form="postfix">‖</mo></mrow><mspace width="0.222em"></mspace><mo minsize="1.2" maxsize="1.2" stretchy="false" form="postfix">‖</mo><mi>b</mi><mo minsize="1.8" maxsize="1.8" stretchy="false" form="postfix">‖</mo><mspace width="0.222em"></mspace><mo minsize="2.4" maxsize="2.4" stretchy="false" form="postfix">‖</mo><mi>b</mi><mo minsize="3.0" maxsize="3.0" stretchy="false" form="postfix">‖</mo></mrow><annotation encoding="application/x-tex">\left.| b \right| \ \bigl| b \Bigr| \ \biggl| b \Biggr|
342 \quad
343 \left.\vert b \right\vert \ \bigl\vert b \Bigr\vert \ \biggl\vert b \Biggr\vert
344 \quad
345 \left.\| b \right\| \ \bigl\| b \Bigr\| \ \biggl\| b \Biggr\|
346 \quad
347 \left.\Vert b \right\Vert \ \bigl\Vert b \Bigr\Vert \ \biggl\Vert b \Biggr\Vert</annotation></semantics></math>
348 </div>
349 <pre class="math problematic">
350 \left.\arrowvert b \right\arrowvert \ \bigl\arrowvert b \Bigr\arrowvert \ \biggl\arrowvert b \Biggr\arrowvert
351 \quad
352 \left.\Arrowvert b \right\Arrowvert \ \bigl\Arrowvert b \Bigr\Arrowvert \ \biggl\Arrowvert b \Biggr\Arrowvert
353 \quad
354 \left.\bracevert b \right\bracevert \ \bigl\bracevert b \Bigr\bracevert \ \biggl\bracevert b \Biggr\bracevert
355 </pre>
356 <aside class="system-message">
357 <p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 224)</p>
358 <p>TeX to MathML converter `pandoc` failed:</p>
359 <p>[WARNING] Could not convert TeX math '\left.\arrowvert b \right\arrowvert \ \bigl\arrowvert b \Bigr\arrowvert \ \biggl\arrowvert b \Biggr\arrowvert</p>
360 <pre class="literal-block"> \quad
361 \left.\Arrowvert b \right\Arrowvert \ \bigl\Arrowvert b \Bigr\Arrowvert \ \biggl\Arrowvert b \Biggr\Arrowvert</pre>
362 <p class="pre-wrap"> \quad
363 \left.\bracevert b \right\bracevert \ \bigl\bracevert b \Bigr\bracevert \ \biggl\bracevert b \Biggr\bracevert', rendering as TeX:
364 \left.\arrowvert b \right\arrowvert \ \b
365 ^
366 unexpected &quot;b&quot;
367 expecting &quot;%&quot;, &quot;\\label&quot;, &quot;\\nonumber&quot; or whitespace</p>
368 </aside>
369 <p>Variable-sized operators:</p>
370 <p>Inline: <span class="math problematic">\int\ \iint\ \iiint\ \iiiint\ \idotsint \oint\ \smallint\
371 \sum\ \prod\ \coprod\ \bigwedge\ \bigvee\ \bigcap\ \bigcup\ \biguplus\
372 \bigsqcup\ \bigodot\ \bigoplus\ \bigotimes</span> and Display:</p>
373 <aside class="system-message">
374 <p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 241)</p>
375 <p>TeX to MathML converter `pandoc` failed:</p>
376 <p>[WARNING] Could not convert TeX math '\int\ \iint\ \iiint\ \iiiint\ \idotsint \oint\ \smallint\</p>
377 <pre class="literal-block"> \sum\ \prod\ \coprod\ \bigwedge\ \bigvee\ \bigcap\ \bigcup\ \biguplus\
378 \bigsqcup\ \bigodot\ \bigoplus\ \bigotimes', rendering as TeX:</pre>
379 <p class="pre-wrap"> \iiiint\ \idotsint \oint\ \smallint\
380 ^
381 unexpected &quot;\\&quot;
382 expecting &quot;%&quot;, &quot;\\label&quot;, &quot;\\nonumber&quot; or whitespace</p>
383 </aside>
384 <pre class="math problematic">
385 \int\ \iint\ \iiint\ \iiiint\ \idotsint\ \oint\ \smallint\
386 \sum\ \prod\ \coprod\ \bigwedge\ \bigvee\ \bigcap\ \bigcup\
387 \biguplus\ \bigsqcup\ \bigodot\ \bigoplus\ \bigotimes
388 </pre>
389 <aside class="system-message">
390 <p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 245)</p>
391 <p>TeX to MathML converter `pandoc` failed:</p>
392 <p>[WARNING] Could not convert TeX math '\int\ \iint\ \iiint\ \iiiint\ \idotsint\ \oint\ \smallint\</p>
393 <pre class="literal-block"> \sum\ \prod\ \coprod\ \bigwedge\ \bigvee\ \bigcap\ \bigcup\
394 \biguplus\ \bigsqcup\ \bigodot\ \bigoplus\ \bigotimes', rendering as TeX:</pre>
395 <p class="pre-wrap"> \iiiint\ \idotsint\ \oint\ \smallint\
396 ^
397 unexpected &quot;\\&quot;
398 expecting &quot;%&quot;, &quot;\\label&quot;, &quot;\\nonumber&quot; or whitespace</p>
399 </aside>
400 <pre class="math problematic">
401 \int_1 f\ \intop_1 f\ \iint_1 f\ \smallint_1 f\ \sum_1\
402 \prod_1\ \bigwedge_1\ \bigcap_1\ \biguplus_1\ \bigodot_1\ \int^N\
403 \intop^N\ \iiiint^N\ \oint^N\ \smallint^N\ \sum^N\ \coprod^N\
404 \bigvee^N\ \bigcup^N\ \bigsqcup^N\ \bigotimes^N
405 </pre>
406 <aside class="system-message">
407 <p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 249)</p>
408 <p>TeX to MathML converter `pandoc` failed:</p>
409 <p>[WARNING] Could not convert TeX math '\int_1 f\ \intop_1 f\ \iint_1 f\ \smallint_1 f\ \sum_1\</p>
410 <pre class="literal-block"> \prod_1\ \bigwedge_1\ \bigcap_1\ \biguplus_1\ \bigodot_1\ \int^N\
411 \intop^N\ \iiiint^N\ \oint^N\ \smallint^N\ \sum^N\ \coprod^N\</pre>
412 <p class="pre-wrap"> \bigvee^N\ \bigcup^N\ \bigsqcup^N\ \bigotimes^N', rendering as TeX:
413 \int_1 f\ \intop_1 f\ \iint_1 f\ \smalli
414 ^
415 unexpected &quot;_&quot;
416 expecting &quot;%&quot;, &quot;\\label&quot;, &quot;\\nonumber&quot; or whitespace</p>
417 </aside>
418 <pre class="math problematic">
419 \int_1^N\ \intop_1^N\ \iint_1^N\ \iiint_1^N\ \iiiint_1^N\
420 \idotsint_1^N\ \oint_1^N\ \smallint_1^N\ \sum_1^N\ \prod_1^N\
421 \coprod_1^N\ \bigwedge_1^N\ \bigvee_1^N\ \bigcap_1^N\ \bigcup_1^N
422 \ \biguplus_1^N\ \bigsqcup_1^N\ \bigodot_1^N\ \bigoplus_1^N\
423 \bigotimes_1^N
424 </pre>
425 <aside class="system-message">
426 <p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 254)</p>
427 <p>TeX to MathML converter `pandoc` failed:</p>
428 <p>[WARNING] Could not convert TeX math '\int_1^N\ \intop_1^N\ \iint_1^N\ \iiint_1^N\ \iiiint_1^N\</p>
429 <pre class="literal-block"> \idotsint_1^N\ \oint_1^N\ \smallint_1^N\ \sum_1^N\ \prod_1^N\
430 \coprod_1^N\ \bigwedge_1^N\ \bigvee_1^N\ \bigcap_1^N\ \bigcup_1^N</pre>
431 <p class="pre-wrap"> \ \biguplus_1^N\ \bigsqcup_1^N\ \bigodot_1^N\ \bigoplus_1^N\
432 \bigotimes_1^N', rendering as TeX:
433 \int_1^N\ \intop_1^N\ \iint_1^N\ \iiint_
434 ^
435 unexpected &quot;_&quot;
436 expecting &quot;%&quot;, &quot;\\label&quot;, &quot;\\nonumber&quot; or whitespace</p>
437 </aside>
438 </section>
439 <section id="text">
440 <h2>Text</h2>
441 <p>The text may contain non-ASCII characters: <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><msub><mi>n</mi><mtext mathvariant="normal">Stoß</mtext></msub><annotation encoding="application/x-tex">n_\text{Stoß}</annotation></semantics></math>.</p>
442 <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> &quot;html&quot;.
443 In other output formats, use literal Unicode: <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mtext mathvariant="normal">ç é è ë ê ñ ů ž ©</mtext><annotation encoding="application/x-tex">\text{ç é è ë ê ñ ů ž ©}</annotation></semantics></math>
444 to get the result of the accent macros
445 <span class="math problematic">\text{\c{c} \'e \`e \&quot;e \^e \~n \r{u} \v{z} \textcircled{c}}</span>.</p>
446 <aside class="system-message">
447 <p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 266)</p>
448 <p>TeX to MathML converter `pandoc` failed:</p>
449 <p>[WARNING] Could not convert TeX math '\text{\c{c} \'e \`e \&quot;e \^e \~n \r{u} \v{z} \textcircled{c}}', rendering as TeX:</p>
450 <pre class="literal-block"> 'e \`e \&quot;e \^e \~n \r{u} \v{z} \textcirc
451 ^</pre>
452 <p class="pre-wrap"> unexpected &quot;\\&quot;
453 expecting text, &quot;}&quot;, &quot;{&quot;, &quot;$&quot;, &quot;$$&quot;, &quot;\\(&quot; or &quot;\\[&quot;</p>
454 </aside>
455 </section>
456 </main>
457 </body>
458 </html>