| 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 xmlns="http://www.w3.org/1998/Math/MathML"> |
| 23 |
<mrow> |
| 24 |
<msub> |
| 25 |
<mi>V</mi> |
| 26 |
<mi>R</mi> |
| 27 |
</msub> |
| 28 |
<mi>x</mi> |
| 29 |
<mo>±</mo> |
| 30 |
<mi>cos</mi> |
| 31 |
<mo stretchy="false">(</mo> |
| 32 |
<msub> |
| 33 |
<mi>α</mi> |
| 34 |
<mtext>out</mtext> |
| 35 |
</msub> |
| 36 |
<mo stretchy="false">)</mo> |
| 37 |
<mo>≈</mo> |
| 38 |
<mn>3</mn> |
| 39 |
<mi mathvariant="normal">Γ</mi> |
| 40 |
<mo lspace="1.000em">∀</mo> |
| 41 |
<mi>x</mi> |
| 42 |
<mo>∈</mo> |
| 43 |
<mi mathvariant="double-struck">R</mi> |
| 44 |
</mrow> |
| 45 |
</math></p> |
| 46 |
</dd> |
| 47 |
<dt>mathrm<span class="colon">:</span></dt> |
| 48 |
<dd><p><math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 49 |
<mrow> |
| 50 |
<msub> |
| 51 |
<mi mathvariant="normal">V</mi> |
| 52 |
<mi mathvariant="normal">R</mi> |
| 53 |
</msub> |
| 54 |
<mi mathvariant="normal">x</mi> |
| 55 |
<mo>±</mo> |
| 56 |
<mi>cos</mi> |
| 57 |
<mo stretchy="false">(</mo> |
| 58 |
<msub> |
| 59 |
<mi>α</mi> |
| 60 |
<mtext>out</mtext> |
| 61 |
</msub> |
| 62 |
<mo stretchy="false">)</mo> |
| 63 |
<mo>≈</mo> |
| 64 |
<mn>3</mn> |
| 65 |
<mi mathvariant="normal">Γ</mi> |
| 66 |
<mo lspace="1.000em">∀</mo> |
| 67 |
<mi mathvariant="normal">x</mi> |
| 68 |
<mo>∈</mo> |
| 69 |
<mi mathvariant="double-struck">R</mi> |
| 70 |
</mrow> |
| 71 |
</math></p> |
| 72 |
</dd> |
| 73 |
<dt>mathbf<span class="colon">:</span></dt> |
| 74 |
<dd><p><math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 75 |
<mrow> |
| 76 |
<msub> |
| 77 |
<mi mathvariant="bold">V</mi> |
| 78 |
<mi mathvariant="bold">R</mi> |
| 79 |
</msub> |
| 80 |
<mi mathvariant="bold">x</mi> |
| 81 |
<mo>±</mo> |
| 82 |
<mi>cos</mi> |
| 83 |
<mo stretchy="false">(</mo> |
| 84 |
<msub> |
| 85 |
<mi>α</mi> |
| 86 |
<mtext>out</mtext> |
| 87 |
</msub> |
| 88 |
<mo stretchy="false">)</mo> |
| 89 |
<mo>≈</mo> |
| 90 |
<mn mathvariant="bold">3</mn> |
| 91 |
<mi mathvariant="bold">Γ</mi> |
| 92 |
<mo lspace="1.000em">∀</mo> |
| 93 |
<mi mathvariant="bold">x</mi> |
| 94 |
<mo>∈</mo> |
| 95 |
<mi mathvariant="double-struck">R</mi> |
| 96 |
</mrow> |
| 97 |
</math></p> |
| 98 |
</dd> |
| 99 |
<dt>mathit<span class="colon">:</span></dt> |
| 100 |
<dd><p><math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 101 |
<mrow> |
| 102 |
<msub> |
| 103 |
<mi>V</mi> |
| 104 |
<mi>R</mi> |
| 105 |
</msub> |
| 106 |
<mi>x</mi> |
| 107 |
<mo>±</mo> |
| 108 |
<mi>cos</mi> |
| 109 |
<mo stretchy="false">(</mo> |
| 110 |
<msub> |
| 111 |
<mi>α</mi> |
| 112 |
<mtext>out</mtext> |
| 113 |
</msub> |
| 114 |
<mo stretchy="false">)</mo> |
| 115 |
<mo>≈</mo> |
| 116 |
<mn mathvariant="italic">3</mn> |
| 117 |
<mi>Γ</mi> |
| 118 |
<mo lspace="1.000em">∀</mo> |
| 119 |
<mi>x</mi> |
| 120 |
<mo>∈</mo> |
| 121 |
<mi mathvariant="double-struck">R</mi> |
| 122 |
</mrow> |
| 123 |
</math></p> |
| 124 |
</dd> |
| 125 |
<dt>mathbfit<span class="colon">:</span></dt> |
| 126 |
<dd><p><span class="math problematic">\mathbfit{V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma |
| 127 |
\quad \forall x \in \mathbb{R}}</span></p> |
| 128 |
<aside class="system-message"> |
| 129 |
<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 21)</p> |
| 130 |
<p>TeX to MathML converter `blahtexml` failed:</p> |
| 131 |
<p class="pre-wrap">Unrecognised command "\mathbfit"</p> |
| 132 |
</aside> |
| 133 |
</dd> |
| 134 |
<dt>mathbb<span class="colon">:</span></dt> |
| 135 |
<dd><p><span class="math problematic">\mathbb{V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma |
| 136 |
\quad \forall x \in \mathbb{R}}</span></p> |
| 137 |
<aside class="system-message"> |
| 138 |
<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 23)</p> |
| 139 |
<p>TeX to MathML converter `blahtexml` failed:</p> |
| 140 |
<p class="pre-wrap">The symbol "x" is not available in the font "bb"</p> |
| 141 |
</aside> |
| 142 |
</dd> |
| 143 |
<dt>mathcal<span class="colon">:</span></dt> |
| 144 |
<dd><p><span class="math problematic">\mathcal{V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma |
| 145 |
\quad \forall x \in \mathbb{R}}</span></p> |
| 146 |
<aside class="system-message"> |
| 147 |
<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 25)</p> |
| 148 |
<p>TeX to MathML converter `blahtexml` failed:</p> |
| 149 |
<p class="pre-wrap">The symbol "x" is not available in the font "cal"</p> |
| 150 |
</aside> |
| 151 |
</dd> |
| 152 |
<dt>mathscr<span class="colon">:</span></dt> |
| 153 |
<dd><p><span class="math problematic">\mathscr{V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma |
| 154 |
\quad \forall x \in \mathbb{R}}</span></p> |
| 155 |
<aside class="system-message"> |
| 156 |
<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 27)</p> |
| 157 |
<p>TeX to MathML converter `blahtexml` failed:</p> |
| 158 |
<p class="pre-wrap">Unrecognised command "\mathscr"</p> |
| 159 |
</aside> |
| 160 |
</dd> |
| 161 |
<dt>mathfrak<span class="colon">:</span></dt> |
| 162 |
<dd><p><span class="math problematic">\mathfrak{V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma |
| 163 |
\quad \forall x \in \mathbb{R}}</span></p> |
| 164 |
<aside class="system-message"> |
| 165 |
<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 29)</p> |
| 166 |
<p>TeX to MathML converter `blahtexml` failed:</p> |
| 167 |
<p class="pre-wrap">The symbol "\Gamma" is not available in the font "frak"</p> |
| 168 |
</aside> |
| 169 |
</dd> |
| 170 |
<dt>mathsf<span class="colon">:</span></dt> |
| 171 |
<dd><p><math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 172 |
<mrow> |
| 173 |
<msub> |
| 174 |
<mi mathvariant="sans-serif">V</mi> |
| 175 |
<mi mathvariant="sans-serif">R</mi> |
| 176 |
</msub> |
| 177 |
<mi mathvariant="sans-serif">x</mi> |
| 178 |
<mo>±</mo> |
| 179 |
<mi>cos</mi> |
| 180 |
<mo stretchy="false">(</mo> |
| 181 |
<msub> |
| 182 |
<mi>α</mi> |
| 183 |
<mtext>out</mtext> |
| 184 |
</msub> |
| 185 |
<mo stretchy="false">)</mo> |
| 186 |
<mo>≈</mo> |
| 187 |
<mn mathvariant="sans-serif">3</mn> |
| 188 |
<mi mathvariant="sans-serif">Γ</mi> |
| 189 |
<mo lspace="1.000em">∀</mo> |
| 190 |
<mi mathvariant="sans-serif">x</mi> |
| 191 |
<mo>∈</mo> |
| 192 |
<mi mathvariant="double-struck">R</mi> |
| 193 |
</mrow> |
| 194 |
</math></p> |
| 195 |
</dd> |
| 196 |
<dt>mathsfit<span class="colon">:</span></dt> |
| 197 |
<dd><p><span class="math problematic">\mathsfit{V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma |
| 198 |
\quad \forall x \in \mathbb{R}}</span></p> |
| 199 |
<aside class="system-message"> |
| 200 |
<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 33)</p> |
| 201 |
<p>TeX to MathML converter `blahtexml` failed:</p> |
| 202 |
<p class="pre-wrap">Unrecognised command "\mathsfit"</p> |
| 203 |
</aside> |
| 204 |
</dd> |
| 205 |
<dt>mathsfbfit<span class="colon">:</span></dt> |
| 206 |
<dd><p><span class="math problematic">\mathsfbfit{V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma |
| 207 |
\quad \forall x \in \mathbb{R}}</span></p> |
| 208 |
<aside class="system-message"> |
| 209 |
<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 35)</p> |
| 210 |
<p>TeX to MathML converter `blahtexml` failed:</p> |
| 211 |
<p class="pre-wrap">Unrecognised command "\mathsfbfit"</p> |
| 212 |
</aside> |
| 213 |
</dd> |
| 214 |
<dt>mathbfsfit<span class="colon">:</span></dt> |
| 215 |
<dd><p><span class="math problematic">\mathbfsfit{V_R x \pm \cos(\alpha_\text{out}) \approx 3 \Gamma |
| 216 |
\quad \forall x \in \mathbb{R}}</span></p> |
| 217 |
<aside class="system-message"> |
| 218 |
<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 37)</p> |
| 219 |
<p>TeX to MathML converter `blahtexml` failed:</p> |
| 220 |
<p class="pre-wrap">Unrecognised command "\mathbfsfit"</p> |
| 221 |
</aside> |
| 222 |
</dd> |
| 223 |
<dt>mathtt<span class="colon">:</span></dt> |
| 224 |
<dd><p><math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 225 |
<mrow> |
| 226 |
<msub> |
| 227 |
<mi mathvariant="monospace">V</mi> |
| 228 |
<mi mathvariant="monospace">R</mi> |
| 229 |
</msub> |
| 230 |
<mi mathvariant="monospace">x</mi> |
| 231 |
<mo>±</mo> |
| 232 |
<mi>cos</mi> |
| 233 |
<mo stretchy="false">(</mo> |
| 234 |
<msub> |
| 235 |
<mi>α</mi> |
| 236 |
<mtext>out</mtext> |
| 237 |
</msub> |
| 238 |
<mo stretchy="false">)</mo> |
| 239 |
<mo>≈</mo> |
| 240 |
<mn mathvariant="monospace">3</mn> |
| 241 |
<mi mathvariant="monospace">Γ</mi> |
| 242 |
<mo lspace="1.000em">∀</mo> |
| 243 |
<mi mathvariant="monospace">x</mi> |
| 244 |
<mo>∈</mo> |
| 245 |
<mi mathvariant="double-struck">R</mi> |
| 246 |
</mrow> |
| 247 |
</math></p> |
| 248 |
</dd> |
| 249 |
</dl> |
| 250 |
<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, |
| 251 |
characters from the <a class="reference external" href="http://www.unicode.org/charts/PDF/U1EE00.pdf">Mathematical Alphanumeric Symbols</a> Unicode block |
| 252 |
are used.</p> |
| 253 |
<p>The mathvariants <em>bold-script</em>, <em>bold-fraktur</em>, and <em>sans-bold</em> are |
| 254 |
rarely used. They are currently not supported by Docutils's native MathML |
| 255 |
output. In LaTeX, <span class="docutils literal">\mathbfscr</span> and <span class="docutils literal">\mathbffrac</span> is supported by the |
| 256 |
<a class="reference external" href="https://www.ctan.org/pkg/mathalpha">mathalpha</a> package.</p> |
| 257 |
<p>Bold variants of any symbol can be achieved in combination with the |
| 258 |
<span class="docutils literal">\boldsymbol</span> command, e.g.</p> |
| 259 |
<dl class="field-list simple"> |
| 260 |
<dt>bold-fraktur<span class="colon">:</span></dt> |
| 261 |
<dd><p><math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 262 |
<mrow> |
| 263 |
<msub> |
| 264 |
<mi mathvariant="bold-fraktur">V</mi> |
| 265 |
<mi mathvariant="bold-fraktur">R</mi> |
| 266 |
</msub> |
| 267 |
<mi mathvariant="bold-fraktur">x</mi> |
| 268 |
</mrow> |
| 269 |
</math></p> |
| 270 |
</dd> |
| 271 |
</dl> |
| 272 |
<p>Note, that <span class="docutils literal">\boldsymbol</span> emboldens also non-alphanumerical symbols.</p> |
| 273 |
<section id="complex-example"> |
| 274 |
<h3>Complex Example</h3> |
| 275 |
<p>From the <a class="reference external" href="https://www.ctan.org/pkg/baskervaldx">baskervaldx</a> package documentation:</p> |
| 276 |
<dl> |
| 277 |
<dt>Simplest form of the <em>Central Limit Theorem</em>:</dt> |
| 278 |
<dd><p>Let <math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 279 |
<mrow> |
| 280 |
<msub> |
| 281 |
<mi>X</mi> |
| 282 |
<mn>1</mn> |
| 283 |
</msub> |
| 284 |
<mo>,</mo> |
| 285 |
<msub> |
| 286 |
<mi>X</mi> |
| 287 |
<mn>2</mn> |
| 288 |
</msub> |
| 289 |
<mo>,</mo> |
| 290 |
<mo>⋯</mo> |
| 291 |
</mrow> |
| 292 |
</math> be a sequence of iid random variables with mean <math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 293 |
<mn>0</mn> |
| 294 |
</math> |
| 295 |
and variance <math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 296 |
<mn>1</mn> |
| 297 |
</math> on a probability space <math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 298 |
<mrow> |
| 299 |
<mo stretchy="false">(</mo> |
| 300 |
<mi mathvariant="normal">Ω</mi> |
| 301 |
<mo>,</mo> |
| 302 |
<mi mathvariant="script">F</mi> |
| 303 |
<mo>,</mo> |
| 304 |
<mi mathvariant="double-struck">P</mi> |
| 305 |
<mo stretchy="false">)</mo> |
| 306 |
</mrow> |
| 307 |
</math>. |
| 308 |
Then</p> |
| 309 |
<pre class="math problematic"> |
| 310 |
\mathbb{P}\left(\frac{X_1+\cdots+X_n}{\sqrt{n}} \le y\right) |
| 311 |
\to\mathfrak{N}(y) |
| 312 |
\coloneq \int_{-\infty}^y |
| 313 |
\frac{\mathrm{e}^{-t^2/2}}{\sqrt{2\mathrm{\pi}}}\, \mathrm{d}t |
| 314 |
\quad\mbox{as $n\to\infty$,} |
| 315 |
</pre> |
| 316 |
<aside class="system-message"> |
| 317 |
<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 69)</p> |
| 318 |
<p>TeX to MathML converter `blahtexml` failed:</p> |
| 319 |
<p class="pre-wrap">Unrecognised command "\coloneq"</p> |
| 320 |
</aside> |
| 321 |
<p>or, equivalently, letting <span class="math problematic">S_n\coloneq\sum_1^n X_k</span>,</p> |
| 322 |
<aside class="system-message"> |
| 323 |
<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 75)</p> |
| 324 |
<p>TeX to MathML converter `blahtexml` failed:</p> |
| 325 |
<p class="pre-wrap">Unrecognised command "\coloneq"</p> |
| 326 |
</aside> |
| 327 |
<pre class="math problematic"> |
| 328 |
\mathbb{E} f\left(S_n/\sqrt{n}\right) |
| 329 |
\to \int_{-\infty}^\infty f(t) |
| 330 |
\frac{\mathrm{e}^{-t^2/2}}{\sqrt{2\mathrm{\pi}}}\, \mathrm{d}t |
| 331 |
\quad\mbox{as $n\to\infty$, |
| 332 |
for every $f\in\mathrm{b} \mathcal{C}(\mathbb{R})$.} |
| 333 |
</pre> |
| 334 |
<aside class="system-message"> |
| 335 |
<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 77)</p> |
| 336 |
<p>TeX to MathML converter `blahtexml` failed:</p> |
| 337 |
<p class="pre-wrap">The command "$" is illegal in text mode (perhaps you intended to use "\$" instead?)</p> |
| 338 |
</aside> |
| 339 |
</dd> |
| 340 |
</dl> |
| 341 |
</section> |
| 342 |
</section> |
| 343 |
<section id="inferred-mrow-s-in-mathml"> |
| 344 |
<h2>Inferred <mrow>s in MathML</h2> |
| 345 |
<p>The elements <msqrt>, <mstyle>, <merror>, <mpadded>, <mphantom>, <menclose>, |
| 346 |
<mtd>, <mscarry>, and <math> treat their contents as a single inferred mrow |
| 347 |
formed from all their children.</p> |
| 348 |
<div> |
| 349 |
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block"> |
| 350 |
<mrow> |
| 351 |
<mi>a</mi> |
| 352 |
<mo>=</mo> |
| 353 |
<msqrt> |
| 354 |
<mn>2</mn> |
| 355 |
</msqrt> |
| 356 |
<mo>+</mo> |
| 357 |
<mi>x</mi> |
| 358 |
<mo rspace="1.167em">,</mo> |
| 359 |
<mi>b</mi> |
| 360 |
<mo>=</mo> |
| 361 |
<msqrt> |
| 362 |
<mn>1</mn> |
| 363 |
<mo>+</mo> |
| 364 |
<msup> |
| 365 |
<mi>x</mi> |
| 366 |
<mn>2</mn> |
| 367 |
</msup> |
| 368 |
</msqrt> |
| 369 |
<mo rspace="1.167em">,</mo> |
| 370 |
<mi>c</mi> |
| 371 |
<mo>=</mo> |
| 372 |
<msqrt> |
| 373 |
<mfrac> |
| 374 |
<mrow> |
| 375 |
<mi>sin</mi> |
| 376 |
<mo stretchy="false">(</mo> |
| 377 |
<mi>x</mi> |
| 378 |
<mo stretchy="false">)</mo> |
| 379 |
</mrow> |
| 380 |
<mn>23</mn> |
| 381 |
</mfrac> |
| 382 |
</msqrt> |
| 383 |
<mo>,</mo> |
| 384 |
</mrow> |
| 385 |
</math> |
| 386 |
</div> |
| 387 |
<p>inline: <math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 388 |
<mrow> |
| 389 |
<mi>a</mi> |
| 390 |
<mo>=</mo> |
| 391 |
<msqrt> |
| 392 |
<mn>2</mn> |
| 393 |
</msqrt> |
| 394 |
<mo>+</mo> |
| 395 |
<mi>x</mi> |
| 396 |
<mo>,</mo> |
| 397 |
<mi>b</mi> |
| 398 |
<mo>=</mo> |
| 399 |
<msqrt> |
| 400 |
<mn>1</mn> |
| 401 |
<mo>+</mo> |
| 402 |
<msup> |
| 403 |
<mi>x</mi> |
| 404 |
<mn>2</mn> |
| 405 |
</msup> |
| 406 |
</msqrt> |
| 407 |
<mo>,</mo> |
| 408 |
<mi>c</mi> |
| 409 |
<mo>=</mo> |
| 410 |
<msqrt> |
| 411 |
<mfrac> |
| 412 |
<mrow> |
| 413 |
<mi>sin</mi> |
| 414 |
<mo stretchy="false">(</mo> |
| 415 |
<mi>x</mi> |
| 416 |
<mo stretchy="false">)</mo> |
| 417 |
</mrow> |
| 418 |
<mn>23</mn> |
| 419 |
</mfrac> |
| 420 |
</msqrt> |
| 421 |
</mrow> |
| 422 |
</math>.</p> |
| 423 |
</section> |
| 424 |
<section id="scripts-and-limits"> |
| 425 |
<h2>Scripts and Limits</h2> |
| 426 |
<p>Accents should be nearer to the base: |
| 427 |
<math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 428 |
<mrow> |
| 429 |
<mover> |
| 430 |
<mi>a</mi> |
| 431 |
<mo accent="true">¯</mo> |
| 432 |
</mover> |
| 433 |
<mover> |
| 434 |
<mi>a</mi> |
| 435 |
<mo stretchy="true" accent="true">¯</mo> |
| 436 |
</mover> |
| 437 |
<mo>,</mo> |
| 438 |
<mover> |
| 439 |
<mi>l</mi> |
| 440 |
<mo accent="true">¯</mo> |
| 441 |
</mover> |
| 442 |
<mover> |
| 443 |
<mi>l</mi> |
| 444 |
<mo stretchy="true" accent="true">¯</mo> |
| 445 |
</mover> |
| 446 |
<mo>,</mo> |
| 447 |
<mover> |
| 448 |
<mi>i</mi> |
| 449 |
<mo accent="true">¯</mo> |
| 450 |
</mover> |
| 451 |
<mover> |
| 452 |
<mi>i</mi> |
| 453 |
<mo stretchy="true" accent="true">¯</mo> |
| 454 |
</mover> |
| 455 |
</mrow> |
| 456 |
</math>, |
| 457 |
<math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 458 |
<mover> |
| 459 |
<mi>r</mi> |
| 460 |
<mo stretchy="true" accent="true">⃗</mo> |
| 461 |
</mover> |
| 462 |
</math> <math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 463 |
<mover> |
| 464 |
<mi>r</mi> |
| 465 |
<mo stretchy="true" accent="true">→</mo> |
| 466 |
</mover> |
| 467 |
</math>.</p> |
| 468 |
<p>Sub- and superscript may be given in any order: |
| 469 |
<math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 470 |
<mrow> |
| 471 |
<msubsup> |
| 472 |
<mi>x</mi> |
| 473 |
<mi>i</mi> |
| 474 |
<mi>j</mi> |
| 475 |
</msubsup> |
| 476 |
<mo>=</mo> |
| 477 |
<msubsup> |
| 478 |
<mi>x</mi> |
| 479 |
<mi>i</mi> |
| 480 |
<mi>j</mi> |
| 481 |
</msubsup> |
| 482 |
</mrow> |
| 483 |
</math> and <math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 484 |
<mrow> |
| 485 |
<msubsup> |
| 486 |
<mo stretchy="false">∫</mo> |
| 487 |
<mn>0</mn> |
| 488 |
<mn>1</mn> |
| 489 |
</msubsup> |
| 490 |
<mo>=</mo> |
| 491 |
<msubsup> |
| 492 |
<mo stretchy="false">∫</mo> |
| 493 |
<mn>0</mn> |
| 494 |
<mn>1</mn> |
| 495 |
</msubsup> |
| 496 |
</mrow> |
| 497 |
</math>.</p> |
| 498 |
<p>Double exponent: <math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 499 |
<msup> |
| 500 |
<mi>x</mi> |
| 501 |
<msup> |
| 502 |
<mn>10</mn> |
| 503 |
<mn>4</mn> |
| 504 |
</msup> |
| 505 |
</msup> |
| 506 |
</math>, <math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 507 |
<msub> |
| 508 |
<mi>r</mi> |
| 509 |
<msub> |
| 510 |
<mi>T</mi> |
| 511 |
<mi>in</mi> |
| 512 |
</msub> |
| 513 |
</msub> |
| 514 |
</math> and <math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 515 |
<msubsup> |
| 516 |
<mi>x</mi> |
| 517 |
<mi>i</mi> |
| 518 |
<msup> |
| 519 |
<mi>n</mi> |
| 520 |
<mn>2</mn> |
| 521 |
</msup> |
| 522 |
</msubsup> |
| 523 |
</math>.</p> |
| 524 |
</section> |
| 525 |
<section id="nested-groups"> |
| 526 |
<h2>Nested groups</h2> |
| 527 |
<p>tex-token returns "{" for nested groups:</p> |
| 528 |
<div> |
| 529 |
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block"> |
| 530 |
<mtext>das ist ein toller text (unescaped { and } is ignored by LaTeX)</mtext> |
| 531 |
</math> |
| 532 |
</div> |
| 533 |
</section> |
| 534 |
<section id="big-delimiters-and-symbols"> |
| 535 |
<h2>Big delimiters and symbols</h2> |
| 536 |
<p>Compare automatic sizing with fixed sizes:</p> |
| 537 |
|
| 538 |
<pre class="math problematic"> |
| 539 |
\left( 3 \right) |
| 540 |
\left( f(x) \right) |
| 541 |
\left( \bar x \right) |
| 542 |
\left( \overline x \right) |
| 543 |
\left( n_i \right) &= () \\ |
| 544 |
\left( \underline x \right) &= \bigl(\text{big}\bigr)\\ |
| 545 |
\left( 3^2 \right) |
| 546 |
\left( \sqrt{3} \right) |
| 547 |
\left( \sqrt{3^2} \right) |
| 548 |
\left( \sum \right) |
| 549 |
\left( \bigotimes \right) |
| 550 |
\left( \prod \right) &= \Bigl(\text{Big}\Bigr)\\ |
| 551 |
\left( \frac{3 }{2} \right) |
| 552 |
\left( \frac{3^2}{2^4} \right) |
| 553 |
\binom{3 }{2} |
| 554 |
\begin{pmatrix} a & b \\ c & d \end{pmatrix} |
| 555 |
\left( \frac{1}{\sqrt 2} \right) |
| 556 |
\left( \int \right) |
| 557 |
\left( \int_0 \right) |
| 558 |
\left( \int^1 \right) |
| 559 |
\left( \int_0^1 \right) &= \biggl(\text{bigg}\biggr)\\ |
| 560 |
\left( \frac{\sqrt 2}{2} \right) |
| 561 |
\left( \sum_0 \right) |
| 562 |
\left( \sum^1 \right) |
| 563 |
\left( \sum_0^1 \right) |
| 564 |
\left( \frac{\frac1x}{\frac{1}{n}}\right) &= \Biggl(\text{Bigg}\Biggr)\\ |
| 565 |
\left( \intop_0 \right) |
| 566 |
\left( \intop^1 \right) |
| 567 |
\left( \intop_0^1 \right) |
| 568 |
</pre> |
| 569 |
<aside class="system-message"> |
| 570 |
<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 127)</p> |
| 571 |
<p>TeX to MathML converter `blahtexml` failed:</p> |
| 572 |
<p class="pre-wrap">Unrecognised command "\intop"</p> |
| 573 |
</aside> |
| 574 |
<p>And in text:</p> |
| 575 |
<dl class="field-list simple"> |
| 576 |
<dt><math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 577 |
<mrow> |
| 578 |
<mo stretchy="false">(</mo> |
| 579 |
<mo stretchy="false">)</mo> |
| 580 |
</mrow> |
| 581 |
</math><span class="colon">:</span></dt> |
| 582 |
<dd><p><math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 583 |
<mrow> |
| 584 |
<mrow> |
| 585 |
<mo stretchy="true">(</mo> |
| 586 |
<mrow> |
| 587 |
<mn>3</mn> |
| 588 |
</mrow> |
| 589 |
<mo stretchy="true">)</mo> |
| 590 |
</mrow> |
| 591 |
<mspace width="0.167em"/> |
| 592 |
<mrow> |
| 593 |
<mo stretchy="true">(</mo> |
| 594 |
<mrow> |
| 595 |
<mi>f</mi> |
| 596 |
<mo stretchy="false">(</mo> |
| 597 |
<mi>x</mi> |
| 598 |
<mo stretchy="false">)</mo> |
| 599 |
</mrow> |
| 600 |
<mo stretchy="true">)</mo> |
| 601 |
</mrow> |
| 602 |
<mspace width="0.167em"/> |
| 603 |
<mrow> |
| 604 |
<mo stretchy="true">(</mo> |
| 605 |
<mrow> |
| 606 |
<mover> |
| 607 |
<mi>x</mi> |
| 608 |
<mo accent="true">¯</mo> |
| 609 |
</mover> |
| 610 |
</mrow> |
| 611 |
<mo stretchy="true">)</mo> |
| 612 |
</mrow> |
| 613 |
<mspace width="0.167em"/> |
| 614 |
<mrow> |
| 615 |
<mo stretchy="true">(</mo> |
| 616 |
<mrow> |
| 617 |
<mover> |
| 618 |
<mi>x</mi> |
| 619 |
<mo stretchy="true" accent="true">¯</mo> |
| 620 |
</mover> |
| 621 |
</mrow> |
| 622 |
<mo stretchy="true">)</mo> |
| 623 |
</mrow> |
| 624 |
<mspace width="0.167em"/> |
| 625 |
<mrow> |
| 626 |
<mo stretchy="true">(</mo> |
| 627 |
<mrow> |
| 628 |
<msub> |
| 629 |
<mi>n</mi> |
| 630 |
<mi>i</mi> |
| 631 |
</msub> |
| 632 |
</mrow> |
| 633 |
<mo stretchy="true">)</mo> |
| 634 |
</mrow> |
| 635 |
<mspace width="0.167em"/> |
| 636 |
<mrow> |
| 637 |
<mo stretchy="true">(</mo> |
| 638 |
<mrow> |
| 639 |
<mo stretchy="false">∑</mo> |
| 640 |
</mrow> |
| 641 |
<mo stretchy="true">)</mo> |
| 642 |
</mrow> |
| 643 |
<mspace width="0.167em"/> |
| 644 |
<mrow> |
| 645 |
<mo stretchy="true">(</mo> |
| 646 |
<mrow> |
| 647 |
<msub> |
| 648 |
<mo stretchy="false">∑</mo> |
| 649 |
<mn>0</mn> |
| 650 |
</msub> |
| 651 |
</mrow> |
| 652 |
<mo stretchy="true">)</mo> |
| 653 |
</mrow> |
| 654 |
<mspace width="0.167em"/> |
| 655 |
<mrow> |
| 656 |
<mo stretchy="true">(</mo> |
| 657 |
<mrow> |
| 658 |
<mo stretchy="false">∏</mo> |
| 659 |
</mrow> |
| 660 |
<mo stretchy="true">)</mo> |
| 661 |
</mrow> |
| 662 |
</mrow> |
| 663 |
</math></p> |
| 664 |
</dd> |
| 665 |
<dt><math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 666 |
<mrow> |
| 667 |
<mo stretchy="true" minsize="1.2em" maxsize="1.2em">(</mo> |
| 668 |
<mtext>big</mtext> |
| 669 |
<mo stretchy="true" minsize="1.2em" maxsize="1.2em">)</mo> |
| 670 |
</mrow> |
| 671 |
</math><span class="colon">:</span></dt> |
| 672 |
<dd><p><math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 673 |
<mrow> |
| 674 |
<mrow> |
| 675 |
<mo stretchy="true">(</mo> |
| 676 |
<mrow> |
| 677 |
<munder> |
| 678 |
<mi>x</mi> |
| 679 |
<mo stretchy="true" accent="true">¯</mo> |
| 680 |
</munder> |
| 681 |
</mrow> |
| 682 |
<mo stretchy="true">)</mo> |
| 683 |
</mrow> |
| 684 |
<mspace width="0.167em"/> |
| 685 |
<mrow> |
| 686 |
<mo stretchy="true">(</mo> |
| 687 |
<mrow> |
| 688 |
<msup> |
| 689 |
<mn>3</mn> |
| 690 |
<mn>2</mn> |
| 691 |
</msup> |
| 692 |
</mrow> |
| 693 |
<mo stretchy="true">)</mo> |
| 694 |
</mrow> |
| 695 |
<mspace width="0.167em"/> |
| 696 |
<mrow> |
| 697 |
<mo stretchy="true">(</mo> |
| 698 |
<mrow> |
| 699 |
<mfrac linethickness="0"> |
| 700 |
<mn>3</mn> |
| 701 |
<mn>2</mn> |
| 702 |
</mfrac> |
| 703 |
</mrow> |
| 704 |
<mo stretchy="true">)</mo> |
| 705 |
</mrow> |
| 706 |
<mspace width="0.167em"/> |
| 707 |
<mrow> |
| 708 |
<mo stretchy="true">(</mo> |
| 709 |
<mrow> |
| 710 |
<mstyle scriptlevel="1"> |
| 711 |
<mtable> |
| 712 |
<mtr> |
| 713 |
<mtd> |
| 714 |
<mi>a</mi> |
| 715 |
</mtd> |
| 716 |
<mtd> |
| 717 |
<mi>b</mi> |
| 718 |
</mtd> |
| 719 |
</mtr> |
| 720 |
<mtr> |
| 721 |
<mtd> |
| 722 |
<mi>c</mi> |
| 723 |
</mtd> |
| 724 |
<mtd> |
| 725 |
<mi>d</mi> |
| 726 |
</mtd> |
| 727 |
</mtr> |
| 728 |
</mtable> |
| 729 |
</mstyle> |
| 730 |
</mrow> |
| 731 |
<mo stretchy="true">)</mo> |
| 732 |
</mrow> |
| 733 |
<mspace width="0.167em"/> |
| 734 |
<mrow> |
| 735 |
<mo stretchy="true">(</mo> |
| 736 |
<mrow> |
| 737 |
<mo stretchy="false">⨂</mo> |
| 738 |
</mrow> |
| 739 |
<mo stretchy="true">)</mo> |
| 740 |
</mrow> |
| 741 |
</mrow> |
| 742 |
</math></p> |
| 743 |
</dd> |
| 744 |
<dt><math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 745 |
<mrow> |
| 746 |
<mo stretchy="true" minsize="1.8em" maxsize="1.8em">(</mo> |
| 747 |
<mtext>Big</mtext> |
| 748 |
<mo stretchy="true" minsize="1.8em" maxsize="1.8em">)</mo> |
| 749 |
</mrow> |
| 750 |
</math><span class="colon">:</span></dt> |
| 751 |
<dd><p><math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 752 |
<mrow> |
| 753 |
<mrow> |
| 754 |
<mo stretchy="true">(</mo> |
| 755 |
<mrow> |
| 756 |
<msqrt> |
| 757 |
<mn>3</mn> |
| 758 |
</msqrt> |
| 759 |
</mrow> |
| 760 |
<mo stretchy="true">)</mo> |
| 761 |
</mrow> |
| 762 |
<mspace width="0.167em"/> |
| 763 |
<mrow> |
| 764 |
<mo stretchy="true">(</mo> |
| 765 |
<mrow> |
| 766 |
<msqrt> |
| 767 |
<msup> |
| 768 |
<mn>3</mn> |
| 769 |
<mn>2</mn> |
| 770 |
</msup> |
| 771 |
</msqrt> |
| 772 |
</mrow> |
| 773 |
<mo stretchy="true">)</mo> |
| 774 |
</mrow> |
| 775 |
<mspace width="0.167em"/> |
| 776 |
<mrow> |
| 777 |
<mo stretchy="true">(</mo> |
| 778 |
<mrow> |
| 779 |
<mfrac> |
| 780 |
<mn>3</mn> |
| 781 |
<mn>2</mn> |
| 782 |
</mfrac> |
| 783 |
</mrow> |
| 784 |
<mo stretchy="true">)</mo> |
| 785 |
</mrow> |
| 786 |
<mspace width="0.167em"/> |
| 787 |
<mrow> |
| 788 |
<mo stretchy="true">(</mo> |
| 789 |
<mrow> |
| 790 |
<mfrac> |
| 791 |
<msup> |
| 792 |
<mn>3</mn> |
| 793 |
<mn>2</mn> |
| 794 |
</msup> |
| 795 |
<msup> |
| 796 |
<mn>2</mn> |
| 797 |
<mn>4</mn> |
| 798 |
</msup> |
| 799 |
</mfrac> |
| 800 |
</mrow> |
| 801 |
<mo stretchy="true">)</mo> |
| 802 |
</mrow> |
| 803 |
<mspace width="0.167em"/> |
| 804 |
<mrow> |
| 805 |
<mo stretchy="true">(</mo> |
| 806 |
<mrow> |
| 807 |
<mfrac> |
| 808 |
<msqrt> |
| 809 |
<mn>2</mn> |
| 810 |
</msqrt> |
| 811 |
<mn>2</mn> |
| 812 |
</mfrac> |
| 813 |
</mrow> |
| 814 |
<mo stretchy="true">)</mo> |
| 815 |
</mrow> |
| 816 |
<mspace width="0.167em"/> |
| 817 |
<mrow> |
| 818 |
<mo stretchy="true">(</mo> |
| 819 |
<mrow> |
| 820 |
<mo stretchy="false">∫</mo> |
| 821 |
</mrow> |
| 822 |
<mo stretchy="true">)</mo> |
| 823 |
</mrow> |
| 824 |
<mspace width="0.167em"/> |
| 825 |
<mrow> |
| 826 |
<mo stretchy="true">(</mo> |
| 827 |
<mrow> |
| 828 |
<msub> |
| 829 |
<mo stretchy="false">∫</mo> |
| 830 |
<mn>0</mn> |
| 831 |
</msub> |
| 832 |
</mrow> |
| 833 |
<mo stretchy="true">)</mo> |
| 834 |
</mrow> |
| 835 |
<mspace width="0.167em"/> |
| 836 |
<mrow> |
| 837 |
<mo stretchy="true">(</mo> |
| 838 |
<mrow> |
| 839 |
<msup> |
| 840 |
<mo stretchy="false">∫</mo> |
| 841 |
<mn>1</mn> |
| 842 |
</msup> |
| 843 |
</mrow> |
| 844 |
<mo stretchy="true">)</mo> |
| 845 |
</mrow> |
| 846 |
<mspace width="0.167em"/> |
| 847 |
<mrow> |
| 848 |
<mo stretchy="true">(</mo> |
| 849 |
<mrow> |
| 850 |
<msubsup> |
| 851 |
<mo stretchy="false">∫</mo> |
| 852 |
<mn>0</mn> |
| 853 |
<mn>1</mn> |
| 854 |
</msubsup> |
| 855 |
</mrow> |
| 856 |
<mo stretchy="true">)</mo> |
| 857 |
</mrow> |
| 858 |
<mspace width="0.167em"/> |
| 859 |
<mrow> |
| 860 |
<mo stretchy="true">(</mo> |
| 861 |
<mrow> |
| 862 |
<msup> |
| 863 |
<mo stretchy="false">∑</mo> |
| 864 |
<mn>1</mn> |
| 865 |
</msup> |
| 866 |
</mrow> |
| 867 |
<mo stretchy="true">)</mo> |
| 868 |
</mrow> |
| 869 |
<mspace width="0.167em"/> |
| 870 |
<mrow> |
| 871 |
<mo stretchy="true">(</mo> |
| 872 |
<mrow> |
| 873 |
<msubsup> |
| 874 |
<mo stretchy="false">∑</mo> |
| 875 |
<mn>0</mn> |
| 876 |
<mn>1</mn> |
| 877 |
</msubsup> |
| 878 |
</mrow> |
| 879 |
<mo stretchy="true">)</mo> |
| 880 |
</mrow> |
| 881 |
<mspace width="0.167em"/> |
| 882 |
<mrow> |
| 883 |
<mo stretchy="true">(</mo> |
| 884 |
<mrow> |
| 885 |
<mfrac> |
| 886 |
<mfrac> |
| 887 |
<mn>1</mn> |
| 888 |
<mi>x</mi> |
| 889 |
</mfrac> |
| 890 |
<mfrac> |
| 891 |
<mn>1</mn> |
| 892 |
<mi>n</mi> |
| 893 |
</mfrac> |
| 894 |
</mfrac> |
| 895 |
</mrow> |
| 896 |
<mo stretchy="true">)</mo> |
| 897 |
</mrow> |
| 898 |
</mrow> |
| 899 |
</math></p> |
| 900 |
</dd> |
| 901 |
</dl> |
| 902 |
<p>Test <span class="docutils literal">\left</span>, <span class="docutils literal">\right</span>, and the bigl/bigr, … size commands |
| 903 |
with all extensible delimiters.</p> |
| 904 |
<p>pairing:</p> |
| 905 |
<div> |
| 906 |
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block"> |
| 907 |
<mrow> |
| 908 |
<mrow> |
| 909 |
<mrow> |
| 910 |
<mo stretchy="false">(</mo> |
| 911 |
<mi>b</mi> |
| 912 |
</mrow> |
| 913 |
<mo stretchy="true">)</mo> |
| 914 |
</mrow> |
| 915 |
<mo lspace="0.500em" stretchy="true" minsize="1.2em" maxsize="1.2em">(</mo> |
| 916 |
<mi>b</mi> |
| 917 |
<mo rspace="0.333em" stretchy="true" minsize="1.8em" maxsize="1.8em">)</mo> |
| 918 |
<mo lspace="0" stretchy="true" minsize="2.4em" maxsize="2.4em">(</mo> |
| 919 |
<mi>b</mi> |
| 920 |
<mo rspace="1.167em" stretchy="true" minsize="3em" maxsize="3em">)</mo> |
| 921 |
<mrow> |
| 922 |
<mrow> |
| 923 |
<mo stretchy="false">[</mo> |
| 924 |
<mi>b</mi> |
| 925 |
</mrow> |
| 926 |
<mo stretchy="true">]</mo> |
| 927 |
</mrow> |
| 928 |
<mo lspace="0.500em" stretchy="true" minsize="1.2em" maxsize="1.2em">[</mo> |
| 929 |
<mi>b</mi> |
| 930 |
<mo rspace="0.333em" stretchy="true" minsize="1.8em" maxsize="1.8em">]</mo> |
| 931 |
<mo lspace="0" stretchy="true" minsize="2.4em" maxsize="2.4em">[</mo> |
| 932 |
<mi>b</mi> |
| 933 |
<mo rspace="1.167em" stretchy="true" minsize="3em" maxsize="3em">]</mo> |
| 934 |
<mrow> |
| 935 |
<mrow> |
| 936 |
<mo stretchy="false">{</mo> |
| 937 |
<mi>b</mi> |
| 938 |
</mrow> |
| 939 |
<mo stretchy="true">}</mo> |
| 940 |
</mrow> |
| 941 |
<mo lspace="0.500em" stretchy="true" minsize="1.2em" maxsize="1.2em">{</mo> |
| 942 |
<mi>b</mi> |
| 943 |
<mo rspace="0.333em" stretchy="true" minsize="1.8em" maxsize="1.8em">}</mo> |
| 944 |
<mo lspace="0" stretchy="true" minsize="2.4em" maxsize="2.4em">{</mo> |
| 945 |
<mi>b</mi> |
| 946 |
<mo rspace="1.167em" stretchy="true" minsize="3em" maxsize="3em">}</mo> |
| 947 |
<mrow> |
| 948 |
<mrow> |
| 949 |
<mo stretchy="false">〈</mo> |
| 950 |
<mi>b</mi> |
| 951 |
</mrow> |
| 952 |
<mo stretchy="true">〉</mo> |
| 953 |
</mrow> |
| 954 |
<mo lspace="0.500em" stretchy="true" minsize="1.2em" maxsize="1.2em">〈</mo> |
| 955 |
<mi>b</mi> |
| 956 |
<mo rspace="0.333em" stretchy="true" minsize="1.8em" maxsize="1.8em">〉</mo> |
| 957 |
<mo lspace="0" stretchy="true" minsize="2.4em" maxsize="2.4em">〈</mo> |
| 958 |
<mi>b</mi> |
| 959 |
<mo stretchy="true" minsize="3em" maxsize="3em">〉</mo> |
| 960 |
</mrow> |
| 961 |
</math> |
| 962 |
</div> |
| 963 |
<div> |
| 964 |
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block"> |
| 965 |
<mrow> |
| 966 |
<mrow> |
| 967 |
<mrow> |
| 968 |
<mo stretchy="false">⌈</mo> |
| 969 |
<mi>b</mi> |
| 970 |
</mrow> |
| 971 |
<mo stretchy="true">⌉</mo> |
| 972 |
</mrow> |
| 973 |
<mo lspace="0.500em" stretchy="true" minsize="1.2em" maxsize="1.2em">⌈</mo> |
| 974 |
<mi>b</mi> |
| 975 |
<mo rspace="0.333em" stretchy="true" minsize="1.8em" maxsize="1.8em">⌉</mo> |
| 976 |
<mo lspace="0" stretchy="true" minsize="2.4em" maxsize="2.4em">⌈</mo> |
| 977 |
<mi>b</mi> |
| 978 |
<mo rspace="1.167em" stretchy="true" minsize="3em" maxsize="3em">⌉</mo> |
| 979 |
<mrow> |
| 980 |
<mrow> |
| 981 |
<mo stretchy="false">⌊</mo> |
| 982 |
<mi>b</mi> |
| 983 |
</mrow> |
| 984 |
<mo stretchy="true">⌋</mo> |
| 985 |
</mrow> |
| 986 |
<mo lspace="0.500em" stretchy="true" minsize="1.2em" maxsize="1.2em">⌊</mo> |
| 987 |
<mi>b</mi> |
| 988 |
<mo rspace="0.333em" stretchy="true" minsize="1.8em" maxsize="1.8em">⌋</mo> |
| 989 |
<mo lspace="0" stretchy="true" minsize="2.4em" maxsize="2.4em">⌊</mo> |
| 990 |
<mi>b</mi> |
| 991 |
<mo rspace="1.167em" stretchy="true" minsize="3em" maxsize="3em">⌋</mo> |
| 992 |
<mrow> |
| 993 |
<mrow> |
| 994 |
<mo stretchy="false">|</mo> |
| 995 |
<mi>b</mi> |
| 996 |
</mrow> |
| 997 |
<mo stretchy="true">|</mo> |
| 998 |
</mrow> |
| 999 |
<mo lspace="0.500em" stretchy="true" minsize="1.2em" maxsize="1.2em">|</mo> |
| 1000 |
<mi>b</mi> |
| 1001 |
<mo rspace="0.333em" stretchy="true" minsize="1.8em" maxsize="1.8em">|</mo> |
| 1002 |
<mo lspace="0" stretchy="true" minsize="2.4em" maxsize="2.4em">|</mo> |
| 1003 |
<mi>b</mi> |
| 1004 |
<mo rspace="1.167em" stretchy="true" minsize="3em" maxsize="3em">|</mo> |
| 1005 |
<mrow> |
| 1006 |
<mrow> |
| 1007 |
<mo>∥</mo> |
| 1008 |
<mi>b</mi> |
| 1009 |
</mrow> |
| 1010 |
<mo stretchy="true">∥</mo> |
| 1011 |
</mrow> |
| 1012 |
<mo lspace="0.500em" stretchy="true" minsize="1.2em" maxsize="1.2em">∥</mo> |
| 1013 |
<mi>b</mi> |
| 1014 |
<mo rspace="0.333em" stretchy="true" minsize="1.8em" maxsize="1.8em">∥</mo> |
| 1015 |
<mo lspace="0" stretchy="true" minsize="2.4em" maxsize="2.4em">∥</mo> |
| 1016 |
<mi>b</mi> |
| 1017 |
<mo stretchy="true" minsize="3em" maxsize="3em">∥</mo> |
| 1018 |
</mrow> |
| 1019 |
</math> |
| 1020 |
</div> |
| 1021 |
<pre class="math problematic"> |
| 1022 |
\left.\lgroup b \right\rgroup \ \bigl\lgroup b \Bigr\rgroup \ \biggl\lgroup b \Biggr\rgroup |
| 1023 |
\quad |
| 1024 |
\left.\lmoustache b \right\rmoustache \ \bigl\lmoustache b \Bigr\rmoustache \ \biggl\lmoustache b \Biggr\rmoustache |
| 1025 |
\quad |
| 1026 |
\left./ b \right\backslash \ \bigl/ b \Bigr\backslash \ \biggl/ b \Biggr\backslash |
| 1027 |
</pre> |
| 1028 |
<aside class="system-message"> |
| 1029 |
<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 199)</p> |
| 1030 |
<p>TeX to MathML converter `blahtexml` failed:</p> |
| 1031 |
<p class="pre-wrap">Unrecognised command "\lgroup"</p> |
| 1032 |
</aside> |
| 1033 |
<p>non-pairing:</p> |
| 1034 |
<div> |
| 1035 |
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block"> |
| 1036 |
<mrow> |
| 1037 |
<mrow> |
| 1038 |
<mrow> |
| 1039 |
<mo stretchy="false">|</mo> |
| 1040 |
<mi>b</mi> |
| 1041 |
</mrow> |
| 1042 |
<mo stretchy="true">|</mo> |
| 1043 |
</mrow> |
| 1044 |
<mo lspace="0.500em" stretchy="true" minsize="1.2em" maxsize="1.2em">|</mo> |
| 1045 |
<mi>b</mi> |
| 1046 |
<mo rspace="0.333em" stretchy="true" minsize="1.8em" maxsize="1.8em">|</mo> |
| 1047 |
<mo lspace="0" stretchy="true" minsize="2.4em" maxsize="2.4em">|</mo> |
| 1048 |
<mi>b</mi> |
| 1049 |
<mo rspace="1.167em" stretchy="true" minsize="3em" maxsize="3em">|</mo> |
| 1050 |
<mrow> |
| 1051 |
<mrow> |
| 1052 |
<mo stretchy="false">|</mo> |
| 1053 |
<mi>b</mi> |
| 1054 |
</mrow> |
| 1055 |
<mo stretchy="true">|</mo> |
| 1056 |
</mrow> |
| 1057 |
<mo lspace="0.500em" stretchy="true" minsize="1.2em" maxsize="1.2em">|</mo> |
| 1058 |
<mi>b</mi> |
| 1059 |
<mo rspace="0.333em" stretchy="true" minsize="1.8em" maxsize="1.8em">|</mo> |
| 1060 |
<mo lspace="0" stretchy="true" minsize="2.4em" maxsize="2.4em">|</mo> |
| 1061 |
<mi>b</mi> |
| 1062 |
<mo rspace="1.167em" stretchy="true" minsize="3em" maxsize="3em">|</mo> |
| 1063 |
<mrow> |
| 1064 |
<mrow> |
| 1065 |
<mo>∥</mo> |
| 1066 |
<mi>b</mi> |
| 1067 |
</mrow> |
| 1068 |
<mo stretchy="true">∥</mo> |
| 1069 |
</mrow> |
| 1070 |
<mo lspace="0.500em" stretchy="true" minsize="1.2em" maxsize="1.2em">∥</mo> |
| 1071 |
<mi>b</mi> |
| 1072 |
<mo rspace="0.333em" stretchy="true" minsize="1.8em" maxsize="1.8em">∥</mo> |
| 1073 |
<mo lspace="0" stretchy="true" minsize="2.4em" maxsize="2.4em">∥</mo> |
| 1074 |
<mi>b</mi> |
| 1075 |
<mo rspace="1.167em" stretchy="true" minsize="3em" maxsize="3em">∥</mo> |
| 1076 |
<mrow> |
| 1077 |
<mrow> |
| 1078 |
<mo>∥</mo> |
| 1079 |
<mi>b</mi> |
| 1080 |
</mrow> |
| 1081 |
<mo stretchy="true">∥</mo> |
| 1082 |
</mrow> |
| 1083 |
<mo lspace="0.500em" stretchy="true" minsize="1.2em" maxsize="1.2em">∥</mo> |
| 1084 |
<mi>b</mi> |
| 1085 |
<mo rspace="0.333em" stretchy="true" minsize="1.8em" maxsize="1.8em">∥</mo> |
| 1086 |
<mo lspace="0" stretchy="true" minsize="2.4em" maxsize="2.4em">∥</mo> |
| 1087 |
<mi>b</mi> |
| 1088 |
<mo stretchy="true" minsize="3em" maxsize="3em">∥</mo> |
| 1089 |
</mrow> |
| 1090 |
</math> |
| 1091 |
</div> |
| 1092 |
<pre class="math problematic"> |
| 1093 |
\left.\arrowvert b \right\arrowvert \ \bigl\arrowvert b \Bigr\arrowvert \ \biggl\arrowvert b \Biggr\arrowvert |
| 1094 |
\quad |
| 1095 |
\left.\Arrowvert b \right\Arrowvert \ \bigl\Arrowvert b \Bigr\Arrowvert \ \biggl\Arrowvert b \Biggr\Arrowvert |
| 1096 |
\quad |
| 1097 |
\left.\bracevert b \right\bracevert \ \bigl\bracevert b \Bigr\bracevert \ \biggl\bracevert b \Biggr\bracevert |
| 1098 |
</pre> |
| 1099 |
<aside class="system-message"> |
| 1100 |
<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 224)</p> |
| 1101 |
<p>TeX to MathML converter `blahtexml` failed:</p> |
| 1102 |
<p class="pre-wrap">Unrecognised command "\arrowvert"</p> |
| 1103 |
</aside> |
| 1104 |
<p>Variable-sized operators:</p> |
| 1105 |
<p>Inline: <span class="math problematic">\int\ \iint\ \iiint\ \iiiint\ \idotsint \oint\ \smallint\ |
| 1106 |
\sum\ \prod\ \coprod\ \bigwedge\ \bigvee\ \bigcap\ \bigcup\ \biguplus\ |
| 1107 |
\bigsqcup\ \bigodot\ \bigoplus\ \bigotimes</span> and Display:</p> |
| 1108 |
<aside class="system-message"> |
| 1109 |
<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 241)</p> |
| 1110 |
<p>TeX to MathML converter `blahtexml` failed:</p> |
| 1111 |
<p class="pre-wrap">Unrecognised command "\idotsint"</p> |
| 1112 |
</aside> |
| 1113 |
<pre class="math problematic"> |
| 1114 |
\int\ \iint\ \iiint\ \iiiint\ \idotsint\ \oint\ \smallint\ |
| 1115 |
\sum\ \prod\ \coprod\ \bigwedge\ \bigvee\ \bigcap\ \bigcup\ |
| 1116 |
\biguplus\ \bigsqcup\ \bigodot\ \bigoplus\ \bigotimes |
| 1117 |
</pre> |
| 1118 |
<aside class="system-message"> |
| 1119 |
<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 245)</p> |
| 1120 |
<p>TeX to MathML converter `blahtexml` failed:</p> |
| 1121 |
<p class="pre-wrap">Unrecognised command "\idotsint"</p> |
| 1122 |
</aside> |
| 1123 |
<pre class="math problematic"> |
| 1124 |
\int_1 f\ \intop_1 f\ \iint_1 f\ \smallint_1 f\ \sum_1\ |
| 1125 |
\prod_1\ \bigwedge_1\ \bigcap_1\ \biguplus_1\ \bigodot_1\ \int^N\ |
| 1126 |
\intop^N\ \iiiint^N\ \oint^N\ \smallint^N\ \sum^N\ \coprod^N\ |
| 1127 |
\bigvee^N\ \bigcup^N\ \bigsqcup^N\ \bigotimes^N |
| 1128 |
</pre> |
| 1129 |
<aside class="system-message"> |
| 1130 |
<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 249)</p> |
| 1131 |
<p>TeX to MathML converter `blahtexml` failed:</p> |
| 1132 |
<p class="pre-wrap">Unrecognised command "\intop"</p> |
| 1133 |
</aside> |
| 1134 |
<pre class="math problematic"> |
| 1135 |
\int_1^N\ \intop_1^N\ \iint_1^N\ \iiint_1^N\ \iiiint_1^N\ |
| 1136 |
\idotsint_1^N\ \oint_1^N\ \smallint_1^N\ \sum_1^N\ \prod_1^N\ |
| 1137 |
\coprod_1^N\ \bigwedge_1^N\ \bigvee_1^N\ \bigcap_1^N\ \bigcup_1^N |
| 1138 |
\ \biguplus_1^N\ \bigsqcup_1^N\ \bigodot_1^N\ \bigoplus_1^N\ |
| 1139 |
\bigotimes_1^N |
| 1140 |
</pre> |
| 1141 |
<aside class="system-message"> |
| 1142 |
<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 254)</p> |
| 1143 |
<p>TeX to MathML converter `blahtexml` failed:</p> |
| 1144 |
<p class="pre-wrap">Unrecognised command "\intop"</p> |
| 1145 |
</aside> |
| 1146 |
</section> |
| 1147 |
<section id="text"> |
| 1148 |
<h2>Text</h2> |
| 1149 |
<p>The text may contain non-ASCII characters: <math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 1150 |
<msub> |
| 1151 |
<mi>n</mi> |
| 1152 |
<mtext>Stoß</mtext> |
| 1153 |
</msub> |
| 1154 |
</math>.</p> |
| 1155 |
<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". |
| 1156 |
In other output formats, use literal Unicode: <math xmlns="http://www.w3.org/1998/Math/MathML"> |
| 1157 |
<mtext>ç é è ë ê ñ ů ž ©</mtext> |
| 1158 |
</math> |
| 1159 |
to get the result of the accent macros |
| 1160 |
<span class="math problematic">\text{\c{c} \'e \`e \"e \^e \~n \r{u} \v{z} \textcircled{c}}</span>.</p> |
| 1161 |
<aside class="system-message"> |
| 1162 |
<p class="system-message-title">System Message: WARNING/2 (<span class="docutils literal">../../functional/input/data/math_experiments.rst</span>, line 266)</p> |
| 1163 |
<p>TeX to MathML converter `blahtexml` failed:</p> |
| 1164 |
<p class="pre-wrap">Unrecognised command "\c"</p> |
| 1165 |
</aside> |
| 1166 |
</section> |
| 1167 |
</main> |
| 1168 |
</body> |
| 1169 |
</html> |