diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2012-10-18 23:13:45 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2012-10-18 23:13:45 +0000 |
| commit | 0844d2176e095a22e0927779e7f74712fc96cb8c (patch) | |
| tree | b649b7aa51e67e2d34f862659e71307cdb5eb699 /docutils/test/functional/expected/math_output_latex.html | |
| parent | 50610b7869cd1408346968644b0a498723883ba6 (diff) | |
| download | docutils-0844d2176e095a22e0927779e7f74712fc96cb8c.tar.gz | |
Customizable MathJax URL (based on patch by Dmitry Shachnev).
Also: No line break after opening inline math tag.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7532 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional/expected/math_output_latex.html')
| -rw-r--r-- | docutils/test/functional/expected/math_output_latex.html | 48 |
1 files changed, 16 insertions, 32 deletions
diff --git a/docutils/test/functional/expected/math_output_latex.html b/docutils/test/functional/expected/math_output_latex.html index c8605bab8..6a0d5cef1 100644 --- a/docutils/test/functional/expected/math_output_latex.html +++ b/docutils/test/functional/expected/math_output_latex.html @@ -12,10 +12,8 @@ <h1 class="title">Mathematics</h1> <p>Docutils supports inline math with the prefix or postfix <tt class="docutils literal">:math:</tt> -role specificator, <tt class="math"> -n! + \sin(x_n^2)</tt> - and <tt class="math"> -A_\text{c} = +role specificator, <tt class="math">n! + \sin(x_n^2)</tt> + and <tt class="math">A_\text{c} = \frac{\pi}{4} d^2</tt> , as well as displayed math via the <cite>math</cite> directive:</p> @@ -32,8 +30,7 @@ See <a class="reference internal" href="#eq-m">eq:M</a> and <a class="reference <pre class="math" id="eq-m"> \mathbf{M} = \left(\begin{matrix}a&b\\c&d\end{matrix}\right) </pre> -<p>is <tt class="math"> -|\mathbf{M}| = ad - bc</tt> +<p>is <tt class="math">|\mathbf{M}| = ad - bc</tt> .</p> <p>More than one display math block can be put in one math directive. For example, the following sum and integral with limits:</p> @@ -49,8 +46,7 @@ directives:</p> <pre class="math" id="eq-schrodinger"> i\hbar \frac{\partial }{\partial t}\Psi = \hat{H}\Psi , </pre> -<p>with the <em>wave function</em> <tt class="math"> -\Psi </tt> +<p>with the <em>wave function</em> <tt class="math">\Psi </tt> , describes how the quantum state of a physical system changes in time.</p> <dl class="docutils"> @@ -62,44 +58,32 @@ physical system changes in time.</p> <col width="33%" /> </colgroup> <tbody valign="top"> -<tr><td><tt class="math"> -\acute{a}</tt> +<tr><td><tt class="math">\acute{a}</tt> <tt class="docutils literal">\acute{a}</tt></td> -<td><tt class="math"> -\dot{t}</tt> +<td><tt class="math">\dot{t}</tt> <tt class="docutils literal">\dot{t}</tt></td> -<td><tt class="math"> -\hat{\gamma}</tt> +<td><tt class="math">\hat{\gamma}</tt> <tt class="docutils literal"><span class="pre">\hat{\gamma}</span></tt></td> </tr> -<tr><td><tt class="math"> -\grave{a}</tt> +<tr><td><tt class="math">\grave{a}</tt> <tt class="docutils literal">\grave{a}</tt></td> -<td><tt class="math"> -\ddot{t}</tt> +<td><tt class="math">\ddot{t}</tt> <tt class="docutils literal">\ddot{t}</tt></td> -<td><tt class="math"> -\tilde{\alpha}</tt> +<td><tt class="math">\tilde{\alpha}</tt> <tt class="docutils literal"><span class="pre">\tilde{\alpha}</span></tt></td> </tr> -<tr><td><tt class="math"> -\breve{x}</tt> +<tr><td><tt class="math">\breve{x}</tt> <tt class="docutils literal">\breve{x}</tt></td> -<td><tt class="math"> -\dddot{t}</tt> +<td><tt class="math">\dddot{t}</tt> <tt class="docutils literal">\dddot{t}</tt></td> -<td><tt class="math"> -\vec{\imath}</tt> +<td><tt class="math">\vec{\imath}</tt> <tt class="docutils literal"><span class="pre">\vec{\imath}</span></tt></td> </tr> -<tr><td><tt class="math"> -\check{a}</tt> +<tr><td><tt class="math">\check{a}</tt> <tt class="docutils literal">\check{a}</tt></td> -<td><tt class="math"> -\bar{a}</tt> +<td><tt class="math">\bar{a}</tt> <tt class="docutils literal">\bar{a}</tt></td> -<td><tt class="math"> -\vec{R}</tt> +<td><tt class="math">\vec{R}</tt> <tt class="docutils literal">\vec{R}</tt></td> </tr> </tbody> |
