summaryrefslogtreecommitdiff
path: root/testdata/osmlparser/math_ranges.osml
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/osmlparser/math_ranges.osml')
-rw-r--r--testdata/osmlparser/math_ranges.osml6
1 files changed, 6 insertions, 0 deletions
diff --git a/testdata/osmlparser/math_ranges.osml b/testdata/osmlparser/math_ranges.osml
new file mode 100644
index 0000000..a6ac4dd
--- /dev/null
+++ b/testdata/osmlparser/math_ranges.osml
@@ -0,0 +1,6 @@
+\import[ontology]{./math}
+\begin{math}
+ \sum^{10}_{i=5} \\
+ \int^{\var{x} -> 1}_{\var{x} -> -1} \sqrt{x^{2} - 1} dx &= \frac{π}{2}\\
+ \fun{f}{x, y} |-> \frac{x^{2}}{2} + y^{2}
+\end{math}