summaryrefslogtreecommitdiff
path: root/tests/rst-reader.rst
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rst-reader.rst')
-rw-r--r--tests/rst-reader.rst29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/rst-reader.rst b/tests/rst-reader.rst
index 519f0080c..cfebd2054 100644
--- a/tests/rst-reader.rst
+++ b/tests/rst-reader.rst
@@ -536,3 +536,32 @@ Footnotes
Not in note.
+Math
+====
+
+Some inline math :math:`E=mc^2`\ . Now some
+display math:
+
+.. math:: E=mc^2
+
+.. math::
+
+ E = mc^2
+
+.. math::
+
+ E = mc^2
+
+ \alpha = \beta
+
+.. math::
+ :label hithere
+ :nowrap
+
+ E &= mc^2\\
+ F &= \pi E
+
+ F &= \gamma \alpha^2
+
+All done.
+