summaryrefslogtreecommitdiff
path: root/tests/root/math.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/root/math.txt')
-rw-r--r--tests/root/math.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/root/math.txt b/tests/root/math.txt
new file mode 100644
index 00000000..36b24494
--- /dev/null
+++ b/tests/root/math.txt
@@ -0,0 +1,22 @@
+Test math extensions
+====================
+
+This is inline math: :math:`a^2 + b^2 = c^2`.
+
+.. math:: a^2 + b^2 = c^2
+
+.. math::
+
+ a^2 + b^2 = c^2
+
+.. math::
+ :label: foo
+
+ e^{i\pi} = 1
+
+.. math::
+ :label:
+
+ e^{ix} = \cos x + i\sin x
+
+Referencing equation :eq:`foo`.