summaryrefslogtreecommitdiff
path: root/docutils/test/functional/expected/math_output_mathjax.html
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2011-07-06 15:52:30 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2011-07-06 15:52:30 +0000
commit32cc07175d730dc900175ffaccdcfbeef8d6f89e (patch)
treeea00c4c2aedde2bfb7608da6a78436079d522dce /docutils/test/functional/expected/math_output_mathjax.html
parent5b15ba7d9ece762b33fc7cd65debc94dd2b4901b (diff)
downloaddocutils-32cc07175d730dc900175ffaccdcfbeef8d6f89e.tar.gz
Common directive options:
Add "name" and "class" options to admonition directives. Directive content may start on the first line also when the directive type accepts options. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@7072 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional/expected/math_output_mathjax.html')
-rw-r--r--docutils/test/functional/expected/math_output_mathjax.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/docutils/test/functional/expected/math_output_mathjax.html b/docutils/test/functional/expected/math_output_mathjax.html
index 011697c73..b4e6b114b 100644
--- a/docutils/test/functional/expected/math_output_mathjax.html
+++ b/docutils/test/functional/expected/math_output_mathjax.html
@@ -25,14 +25,16 @@ role specificator, <span class="math">
f(\epsilon) = \frac{1}{1 + \exp\left(\frac{\varepsilon}{k_\text{B}T}\right)}
\end{equation*}
</div>
-<p>A display formula can also be given as directive argument, e.g.</p>
+<p>Content may start on the first line of the directive, e.g.</p>
<div class="math">
\begin{equation*}
N = \frac{\text{number of apples}}{7}
\end{equation*}
</div>
+<p>Equations can be labeled with a reference name using the <tt class="docutils literal">:name:</tt> option.
+See <a class="reference internal" href="#eq-m">eq:M</a> and <a class="reference internal" href="#eq-schrodinger">eq:schrödinger</a> below.</p>
<p>The determinant of the matrix</p>
-<div class="math">
+<div class="math" id="eq-m">
\begin{equation*}
\mathbf{M} = \left(\begin{matrix}a&amp;b\\c&amp;d\end{matrix}\right)
\end{equation*}
@@ -55,7 +57,7 @@ For example, the following sum and integral with limits:</p>
<p>LaTeX-supported Unicode math symbols can be used in math roles and
directives:</p>
<p>The Schrödinger equation</p>
-<div class="math">
+<div class="math" id="eq-schrodinger">
\begin{equation*}
i\hbar \frac{\partial }{\partial t}\Psi = \hat{H}\Psi ,
\end{equation*}