1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458
|
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="utf-8" />
<meta name="generator" content="Docutils 0.21.2: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Math Conversion Tests</title>
<link rel="stylesheet" href="../../../docutils/writers/html5_polyglot/minimal.css" type="text/css" />
<link rel="stylesheet" href="../../../docutils/writers/html5_polyglot/plain.css" type="text/css" />
</head>
<body>
<main id="math-conversion-tests">
<h1 class="title">Math Conversion Tests</h1>
<section id="math-alphabet-mathvariant">
<h2>Math alphabet / Mathvariant</h2>
<p>TeX's <em>math alphabet</em> macros change font features of (some) letters and
digits. Non-alphanumerical symbols, function names, and mathematical text
are left unchanged.</p>
<dl class="field-list simple">
<dt>default<span class="colon">:</span></dt>
<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
\quad \forall x \in \mathbb{R}</annotation></semantics></math></p>
</dd>
<dt>mathrm<span class="colon">:</span></dt>
<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
\quad \forall x \in \mathbb{R}}</annotation></semantics></math></p>
</dd>
<dt>mathbf<span class="colon">:</span></dt>
<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
\quad \forall x \in \mathbb{R}}</annotation></semantics></math></p>
</dd>
<dt>mathit<span class="colon">:</span></dt>
<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
\quad \forall x \in \mathbb{R}}</annotation></semantics></math></p>
</dd>
<dt>mathbfit<span class="colon">:</span></dt>
<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
\quad \forall x \in \mathbb{R}}</annotation></semantics></math></p>
</dd>
<dt>mathbb<span class="colon">:</span></dt>
<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
\quad \forall x \in \mathbb{R}}</annotation></semantics></math></p>
</dd>
<dt>mathcal<span class="colon">:</span></dt>
<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
\quad \forall x \in \mathbb{R}}</annotation></semantics></math></p>
</dd>
<dt>mathscr<span class="colon">:</span></dt>
<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
\quad \forall x \in \mathbb{R}}</annotation></semantics></math></p>
</dd>
<dt>mathfrak<span class="colon">:</span></dt>
<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
\quad \forall x \in \mathbb{R}}</annotation></semantics></math></p>
</dd>
<dt>mathsf<span class="colon">:</span></dt>
<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
\quad \forall x \in \mathbb{R}}</annotation></semantics></math></p>
</dd>
<dt>mathsfit<span class="colon">:</span></dt>
<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
\quad \forall x \in \mathbb{R}}</annotation></semantics></math></p>
</dd>
<dt>mathsfbfit<span class="colon">:</span></dt>
<dd><p><span class="math problematic">\mathsfbfit{V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma
\quad \forall x \in \mathbb{R}}</span></p>
<aside class="system-message">
<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>
<p>TeX to MathML converter `pandoc` failed:</p>
<p>[WARNING] Could not convert TeX math '\mathsfbfit{V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma</p>
<pre class="literal-block"> \quad \forall x \in \mathbb{R}}', rendering as TeX:
\mathsfbfit{V_R x \pm \cos(\alpha_\text{</pre>
<p class="pre-wrap"> ^
unexpected "{"
expecting "%", "\\label", "\\nonumber" or whitespace</p>
</aside>
</dd>
<dt>mathbfsfit<span class="colon">:</span></dt>
<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
\quad \forall x \in \mathbb{R}}</annotation></semantics></math></p>
</dd>
<dt>mathtt<span class="colon">:</span></dt>
<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
\quad \forall x \in \mathbb{R}}</annotation></semantics></math></p>
</dd>
</dl>
<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,
characters from the <a class="reference external" href="http://www.unicode.org/charts/PDF/U1EE00.pdf">Mathematical Alphanumeric Symbols</a> Unicode block
are used.</p>
<p>The mathvariants <em>bold-script</em>, <em>bold-fraktur</em>, and <em>sans-bold</em> are
rarely used. They are currently not supported by Docutils's native MathML
output. In LaTeX, <span class="docutils literal">\mathbfscr</span> and <span class="docutils literal">\mathbffrac</span> is supported by the
<a class="reference external" href="https://www.ctan.org/pkg/mathalpha">mathalpha</a> package.</p>
<p>Bold variants of any symbol can be achieved in combination with the
<span class="docutils literal">\boldsymbol</span> command, e.g.</p>
<dl class="field-list simple">
<dt>bold-fraktur<span class="colon">:</span></dt>
<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>
</dd>
</dl>
<p>Note, that <span class="docutils literal">\boldsymbol</span> emboldens also non-alphanumerical symbols.</p>
<section id="complex-example">
<h3>Complex Example</h3>
<p>From the <a class="reference external" href="https://www.ctan.org/pkg/baskervaldx">baskervaldx</a> package documentation:</p>
<dl>
<dt>Simplest form of the <em>Central Limit Theorem</em>:</dt>
<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>
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>.
Then</p>
<div>
<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)
\to\mathfrak{N}(y)
\coloneq \int_{-\infty}^y
\frac{\mathrm{e}^{-t^2/2}}{\sqrt{2\mathrm{\pi}}}\, \mathrm{d}t
\quad\mbox{as $n\to\infty$,}</annotation></semantics></math>
</div>
<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>
<div>
<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">,
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)
\to \int_{-\infty}^\infty f(t)
\frac{\mathrm{e}^{-t^2/2}}{\sqrt{2\mathrm{\pi}}}\, \mathrm{d}t
\quad\mbox{as $n\to\infty$,
for every $f\in\mathrm{b} \mathcal{C}(\mathbb{R})$.}</annotation></semantics></math>
</div>
</dd>
</dl>
</section>
</section>
<section id="inferred-mrow-s-in-mathml">
<h2>Inferred <mrow>s in MathML</h2>
<p>The elements <msqrt>, <mstyle>, <merror>, <mpadded>, <mphantom>, <menclose>,
<mtd>, <mscarry>, and <math> treat their contents as a single inferred mrow
formed from all their children.</p>
<pre class="math problematic">
a = \sqrt 2 + x,\quad
b = \sqrt{1+x^2},\quad
c = \sqrt\frac{\sin(x)}{23},
</pre>
<aside class="system-message">
<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 91)</p>
<p>TeX to MathML converter `pandoc` failed:</p>
<p>[WARNING] Could not convert TeX math 'a = \sqrt 2 + x,\quad</p>
<pre class="literal-block"> b = \sqrt{1+x^2},\quad
c = \sqrt\frac{\sin(x)}{23},', rendering as TeX:</pre>
<p class="pre-wrap"> c = \sqrt\frac{\sin(x)}{23},
^
unexpected "{"
expecting "%", "\\label", "\\nonumber" or whitespace</p>
</aside>
<p>inline: <span class="math problematic">a = \sqrt 2 + x, b = \sqrt{1+x^2}, c = \sqrt\frac{\sin(x)}{23}</span>.</p>
<aside class="system-message">
<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 95)</p>
<p>TeX to MathML converter `pandoc` failed:</p>
<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>
<pre class="literal-block"> ^2}, c = \sqrt\frac{\sin(x)}{23}
^</pre>
<p class="pre-wrap"> unexpected "{"
expecting "%", "\\label", "\\nonumber" or whitespace</p>
</aside>
</section>
<section id="scripts-and-limits">
<h2>Scripts and Limits</h2>
<p>Accents should be nearer to the base:
<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>,
<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>
<p>Sub- and superscript may be given in any order:
<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>
<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>
</section>
<section id="nested-groups">
<h2>Nested groups</h2>
<p>tex-token returns "{" for nested groups:</p>
<div>
<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
ignored by LaTeX)</mtext></mrow></mrow><annotation encoding="application/x-tex">\text{das ist ein {toller} text (unescaped \{ and \} is
ignored by LaTeX)}</annotation></semantics></math>
</div>
</section>
<section id="big-delimiters-and-symbols">
<h2>Big delimiters and symbols</h2>
<p>Compare automatic sizing with fixed sizes:</p>
<!-- math: \left( \frac{\frac1x}{\frac{1}{n}}\right) &= \Biggl(\text{Bigg}\Biggr)\\ -->
<pre class="math problematic">
\left( 3 \right)
\left( f(x) \right)
\left( \bar x \right)
\left( \overline x \right)
\left( n_i \right) &= () \\
\left( \underline x \right) &= \bigl(\text{big}\bigr)\\
\left( 3^2 \right)
\left( \sqrt{3} \right)
\left( \sqrt{3^2} \right)
\left( \sum \right)
\left( \bigotimes \right)
\left( \prod \right) &= \Bigl(\text{Big}\Bigr)\\
\left( \frac{3 }{2} \right)
\left( \frac{3^2}{2^4} \right)
\binom{3 }{2}
\begin{pmatrix} a & b \\ c & d \end{pmatrix}
\left( \frac{1}{\sqrt 2} \right)
\left( \int \right)
\left( \int_0 \right)
\left( \int^1 \right)
\left( \int_0^1 \right) &= \biggl(\text{bigg}\biggr)\\
\left( \frac{\sqrt 2}{2} \right)
\left( \sum_0 \right)
\left( \sum^1 \right)
\left( \sum_0^1 \right)
\left( \frac{\frac1x}{\frac{1}{n}}\right) &= \Biggl(\text{Bigg}\Biggr)\\
\left( \intop_0 \right)
\left( \intop^1 \right)
\left( \intop_0^1 \right)
</pre>
<aside class="system-message">
<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>
<p>TeX to MathML converter `pandoc` failed:</p>
<p>[WARNING] Could not convert TeX math '\begin{aligned}</p>
<pre class="literal-block"> \left( 3 \right)
\left( f(x) \right)</pre>
<p class="pre-wrap"> \left( \bar x \right)
\left( \overline x \right)
\left( n_i \right) &= () \\
\left( \underline x \right) &= \bigl(\text{big}\bigr)\\
\left( 3^2 \right)
\left( \sqrt{3} \right)
\left( \sqrt{3^2} \right)
\left( \sum \right)
\left( \bigotimes \right)
\left( \prod \right) &= \Bigl(\text{Big}\Bigr)\\
\left( \frac{3 }{2} \right)
\left( \frac{3^2}{2^4} \right)
\binom{3 }{2}
\begin{pmatrix} a & b \\ c & d \end{pmatrix}
\left( \frac{1}{\sqrt 2} \right)
\left( \int \right)
\left( \int_0 \right)
\left( \int^1 \right)
\left( \int_0^1 \right) &= \biggl(\text{bigg}\biggr)\\
\left( \frac{\sqrt 2}{2} \right)
\left( \sum_0 \right)
\left( \sum^1 \right)
\left( \sum_0^1 \right)
\left( \frac{\frac1x}{\frac{1}{n}}\right) &= \Biggl(\text{Bigg}\Biggr)\\
\left( \intop_0 \right)
\left( \intop^1 \right)
\left( \intop_0^1 \right)\end{aligned}', rendering as TeX:
\right) &= \Bigl(\text{Big}\Bigr
^
unexpected "\\"
expecting "&", "\\\\", white space or "\\end"</p>
</aside>
<p>And in text:</p>
<dl class="field-list simple">
<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>
<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)
\left( f(x) \right)
\left( \bar x \right)
\left( \overline x \right)
\left( n_i \right)
\left( \sum \right)
\left( \sum_0 \right)
\left( \prod \right)</annotation></semantics></math></p>
</dd>
<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>
<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)
\left( 3^2 \right)
\binom{3}{2}
\left(\begin{smallmatrix} a & b \\
c & d \end{smallmatrix} \right)
\left( \bigotimes \right)</annotation></semantics></math></p>
</dd>
<dt><span class="math problematic">\Bigl(\text{Big}\Bigr)</span><span class="colon">:</span></dt>
<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)
\left( \sqrt{3^2} \right)
\left( \frac{3}{2} \right)
\left( \frac{3^2}{2^4} \right)
\left( \frac{\sqrt 2}{2} \right)
\left( \int \right)
\left( \int_0 \right)
\left( \int^1 \right)
\left( \int_0^1 \right)
\left( \sum^1 \right)
\left( \sum_0^1 \right)
\left( \frac{\frac1x}{\frac{1}{n}}\right)</annotation></semantics></math></p>
<aside class="system-message">
<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 177)</p>
<p>TeX to MathML converter `pandoc` failed:</p>
<p>[WARNING] Could not convert TeX math '\Bigl(\text{Big}\Bigr)', rendering as TeX:</p>
<pre class="literal-block"> \Bigl(\text{Big}\Bigr)
^</pre>
<p class="pre-wrap"> unexpected "("
expecting "%", "\\label", "\\nonumber" or whitespace</p>
</aside>
</dd>
</dl>
<p>Test <span class="docutils literal">\left</span>, <span class="docutils literal">\right</span>, and the bigl/bigr, … size commands
with all extensible delimiters.</p>
<p>pairing:</p>
<div>
<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)
\quad
\left.[ b \right] \ \bigl[ b \Bigr] \ \biggl[ b \Biggr]
\quad
\left.\{ b \right\} \ \bigl\{ b \Bigr\} \ \biggl\{ b \Biggr\}
\quad
\left.\langle b \right\rangle \ \bigl\langle b \Bigr\rangle \ \biggl\langle b \Biggr\rangle</annotation></semantics></math>
</div>
<div>
<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
\quad
\left.\lfloor b \right\rfloor \ \bigl\lfloor b \Bigr\rfloor \ \biggl\lfloor b \Biggr\rfloor
\quad
\left.\lvert b \right\rvert \ \bigl\lvert b \Bigr\rvert \ \biggl\lvert b \Biggr\rvert
\quad
\left.\lVert b \right\rVert \ \bigl\lVert b \Bigr\rVert \ \biggl\lVert b \Biggr\rVert</annotation></semantics></math>
</div>
<pre class="math problematic">
\left.\lgroup b \right\rgroup \ \bigl\lgroup b \Bigr\rgroup \ \biggl\lgroup b \Biggr\rgroup
\quad
\left.\lmoustache b \right\rmoustache \ \bigl\lmoustache b \Bigr\rmoustache \ \biggl\lmoustache b \Biggr\rmoustache
\quad
\left./ b \right\backslash \ \bigl/ b \Bigr\backslash \ \biggl/ b \Biggr\backslash
</pre>
<aside class="system-message">
<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>
<p>TeX to MathML converter `pandoc` failed:</p>
<p>[WARNING] Could not convert TeX math '\left.\lgroup b \right\rgroup \ \bigl\lgroup b \Bigr\rgroup \ \biggl\lgroup b \Biggr\rgroup</p>
<pre class="literal-block"> \quad
\left.\lmoustache b \right\rmoustache \ \bigl\lmoustache b \Bigr\rmoustache \ \biggl\lmoustache b \Biggr\rmoustache</pre>
<p class="pre-wrap"> \quad
\left./ b \right\backslash \ \bigl/ b \Bigr\backslash \ \biggl/ b \Biggr\backslash', rendering as TeX:
up b \right\rgroup \ \bigl\lgroup b \Big
^
unexpected "\\"
expecting "%", "\\label", "\\nonumber" or whitespace</p>
</aside>
<p>non-pairing:</p>
<div>
<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|
\quad
\left.\vert b \right\vert \ \bigl\vert b \Bigr\vert \ \biggl\vert b \Biggr\vert
\quad
\left.\| b \right\| \ \bigl\| b \Bigr\| \ \biggl\| b \Biggr\|
\quad
\left.\Vert b \right\Vert \ \bigl\Vert b \Bigr\Vert \ \biggl\Vert b \Biggr\Vert</annotation></semantics></math>
</div>
<pre class="math problematic">
\left.\arrowvert b \right\arrowvert \ \bigl\arrowvert b \Bigr\arrowvert \ \biggl\arrowvert b \Biggr\arrowvert
\quad
\left.\Arrowvert b \right\Arrowvert \ \bigl\Arrowvert b \Bigr\Arrowvert \ \biggl\Arrowvert b \Biggr\Arrowvert
\quad
\left.\bracevert b \right\bracevert \ \bigl\bracevert b \Bigr\bracevert \ \biggl\bracevert b \Biggr\bracevert
</pre>
<aside class="system-message">
<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>
<p>TeX to MathML converter `pandoc` failed:</p>
<p>[WARNING] Could not convert TeX math '\left.\arrowvert b \right\arrowvert \ \bigl\arrowvert b \Bigr\arrowvert \ \biggl\arrowvert b \Biggr\arrowvert</p>
<pre class="literal-block"> \quad
\left.\Arrowvert b \right\Arrowvert \ \bigl\Arrowvert b \Bigr\Arrowvert \ \biggl\Arrowvert b \Biggr\Arrowvert</pre>
<p class="pre-wrap"> \quad
\left.\bracevert b \right\bracevert \ \bigl\bracevert b \Bigr\bracevert \ \biggl\bracevert b \Biggr\bracevert', rendering as TeX:
\left.\arrowvert b \right\arrowvert \ \b
^
unexpected "b"
expecting "%", "\\label", "\\nonumber" or whitespace</p>
</aside>
<p>Variable-sized operators:</p>
<p>Inline: <span class="math problematic">\int\ \iint\ \iiint\ \iiiint\ \idotsint \oint\ \smallint\
\sum\ \prod\ \coprod\ \bigwedge\ \bigvee\ \bigcap\ \bigcup\ \biguplus\
\bigsqcup\ \bigodot\ \bigoplus\ \bigotimes</span> and Display:</p>
<aside class="system-message">
<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>
<p>TeX to MathML converter `pandoc` failed:</p>
<p>[WARNING] Could not convert TeX math '\int\ \iint\ \iiint\ \iiiint\ \idotsint \oint\ \smallint\</p>
<pre class="literal-block"> \sum\ \prod\ \coprod\ \bigwedge\ \bigvee\ \bigcap\ \bigcup\ \biguplus\
\bigsqcup\ \bigodot\ \bigoplus\ \bigotimes', rendering as TeX:</pre>
<p class="pre-wrap"> \iiiint\ \idotsint \oint\ \smallint\
^
unexpected "\\"
expecting "%", "\\label", "\\nonumber" or whitespace</p>
</aside>
<pre class="math problematic">
\int\ \iint\ \iiint\ \iiiint\ \idotsint\ \oint\ \smallint\
\sum\ \prod\ \coprod\ \bigwedge\ \bigvee\ \bigcap\ \bigcup\
\biguplus\ \bigsqcup\ \bigodot\ \bigoplus\ \bigotimes
</pre>
<aside class="system-message">
<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>
<p>TeX to MathML converter `pandoc` failed:</p>
<p>[WARNING] Could not convert TeX math '\int\ \iint\ \iiint\ \iiiint\ \idotsint\ \oint\ \smallint\</p>
<pre class="literal-block"> \sum\ \prod\ \coprod\ \bigwedge\ \bigvee\ \bigcap\ \bigcup\
\biguplus\ \bigsqcup\ \bigodot\ \bigoplus\ \bigotimes', rendering as TeX:</pre>
<p class="pre-wrap"> \iiiint\ \idotsint\ \oint\ \smallint\
^
unexpected "\\"
expecting "%", "\\label", "\\nonumber" or whitespace</p>
</aside>
<pre class="math problematic">
\int_1 f\ \intop_1 f\ \iint_1 f\ \smallint_1 f\ \sum_1\
\prod_1\ \bigwedge_1\ \bigcap_1\ \biguplus_1\ \bigodot_1\ \int^N\
\intop^N\ \iiiint^N\ \oint^N\ \smallint^N\ \sum^N\ \coprod^N\
\bigvee^N\ \bigcup^N\ \bigsqcup^N\ \bigotimes^N
</pre>
<aside class="system-message">
<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>
<p>TeX to MathML converter `pandoc` failed:</p>
<p>[WARNING] Could not convert TeX math '\int_1 f\ \intop_1 f\ \iint_1 f\ \smallint_1 f\ \sum_1\</p>
<pre class="literal-block"> \prod_1\ \bigwedge_1\ \bigcap_1\ \biguplus_1\ \bigodot_1\ \int^N\
\intop^N\ \iiiint^N\ \oint^N\ \smallint^N\ \sum^N\ \coprod^N\</pre>
<p class="pre-wrap"> \bigvee^N\ \bigcup^N\ \bigsqcup^N\ \bigotimes^N', rendering as TeX:
\int_1 f\ \intop_1 f\ \iint_1 f\ \smalli
^
unexpected "_"
expecting "%", "\\label", "\\nonumber" or whitespace</p>
</aside>
<pre class="math problematic">
\int_1^N\ \intop_1^N\ \iint_1^N\ \iiint_1^N\ \iiiint_1^N\
\idotsint_1^N\ \oint_1^N\ \smallint_1^N\ \sum_1^N\ \prod_1^N\
\coprod_1^N\ \bigwedge_1^N\ \bigvee_1^N\ \bigcap_1^N\ \bigcup_1^N
\ \biguplus_1^N\ \bigsqcup_1^N\ \bigodot_1^N\ \bigoplus_1^N\
\bigotimes_1^N
</pre>
<aside class="system-message">
<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>
<p>TeX to MathML converter `pandoc` failed:</p>
<p>[WARNING] Could not convert TeX math '\int_1^N\ \intop_1^N\ \iint_1^N\ \iiint_1^N\ \iiiint_1^N\</p>
<pre class="literal-block"> \idotsint_1^N\ \oint_1^N\ \smallint_1^N\ \sum_1^N\ \prod_1^N\
\coprod_1^N\ \bigwedge_1^N\ \bigvee_1^N\ \bigcap_1^N\ \bigcup_1^N</pre>
<p class="pre-wrap"> \ \biguplus_1^N\ \bigsqcup_1^N\ \bigodot_1^N\ \bigoplus_1^N\
\bigotimes_1^N', rendering as TeX:
\int_1^N\ \intop_1^N\ \iint_1^N\ \iiint_
^
unexpected "_"
expecting "%", "\\label", "\\nonumber" or whitespace</p>
</aside>
</section>
<section id="text">
<h2>Text</h2>
<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>
<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".
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>
to get the result of the accent macros
<span class="math problematic">\text{\c{c} \'e \`e \"e \^e \~n \r{u} \v{z} \textcircled{c}}</span>.</p>
<aside class="system-message">
<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>
<p>TeX to MathML converter `pandoc` failed:</p>
<p>[WARNING] Could not convert TeX math '\text{\c{c} \'e \`e \"e \^e \~n \r{u} \v{z} \textcircled{c}}', rendering as TeX:</p>
<pre class="literal-block"> 'e \`e \"e \^e \~n \r{u} \v{z} \textcirc
^</pre>
<p class="pre-wrap"> unexpected "\\"
expecting text, "}", "{", "$", "$$", "\\(" or "\\["</p>
</aside>
</section>
</main>
</body>
</html>
|