diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2010-11-05 22:09:32 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2010-11-05 22:09:32 +0000 |
| commit | 9476770b8bb316a967c6ac89e34f77e2779b7b17 (patch) | |
| tree | f3c593dd87dad048560bb696205f227ac65de7d2 /docutils/test/functional/input/data | |
| parent | 6fb0f033ac29c4caca6953208cb55a1582d6431c (diff) | |
| download | docutils-9476770b8bb316a967c6ac89e34f77e2779b7b17.tar.gz | |
Math support:
documentation, tests, and stubs for manpage and odt writer
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@6471 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional/input/data')
| -rw-r--r-- | docutils/test/functional/input/data/math.txt | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/docutils/test/functional/input/data/math.txt b/docutils/test/functional/input/data/math.txt index 6b68e3476..0505e3ed8 100644 --- a/docutils/test/functional/input/data/math.txt +++ b/docutils/test/functional/input/data/math.txt @@ -10,24 +10,19 @@ role specificator, :math:`n! + \sin(x_n^2)` and `A_\text{c} = f(\epsilon) = \frac{1}{1 + \exp\left(\frac{\varepsilon}{k_\text{B}T}\right)} -.. In Sphinx, blank lines inside a math directive start a new math - display. - - Should we handle this: - - * in the parser (adding one node per line), - * in the writers, or - * not at all? - .. math:: N = \frac{\text{number of apples}}{7} +The determinant of the matrix + .. math:: \mathbf{M} = \left(\begin{matrix}a&b\\c&d\end{matrix}\right) -We have :math:`|\mathbf{M}| = ad - bc`. +is :math:`|\mathbf{M}| = ad - bc`. + +Sum and Integral with limits: .. math:: @@ -37,9 +32,14 @@ We have :math:`|\mathbf{M}| = ad - bc`. \sum_{n=1}^m n = \frac{m(m+1)}{2} -* tilde: :math:`\tilde{n}` -* hat: :math:`\hat{H}` -* bar: :math:`\bar{v}` +Math-Accents: + .. class:: borderless + + =============================== =========================== + :math:`\tilde{n}` ``\tilde{n}`` :math:`\hat{H}` ``\hat{H}`` + :math:`\bar{v}` ``\bar{v}`` :math:`\vec{R}` ``\vec{R}`` + :math:`\grave{a}` ``\grave{a}`` + =============================== =========================== Quantum mechanics: @@ -54,7 +54,7 @@ Math split over two lines: g(\alpha) = & (1 + \alpha + \alpha^2 + \alpha^3 + \alpha^4\\ & + \alpha^5) -Cases (realized with a matrix environment): +Cases: .. math:: |
