summaryrefslogtreecommitdiff
path: root/testdata/integration/user_defined_syntax/math_various.in.osml
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-04-14 01:33:19 +0200
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2016-04-25 22:24:18 +0200
commitf8bca0e161705fc99fffd248ed4be897e940b2df (patch)
treee53a3180e221e5bf251421390396aa9d99c47c18 /testdata/integration/user_defined_syntax/math_various.in.osml
parent866965ac772d7894eab39eba63074e08a86db976 (diff)
Allow non-Greedy short form to eat normal commands.
E.g. with regrads to the math ontology, this change allows syntax like \(a^\frac{1}{2}\) which is also valid in TeX (added corresponding tests).
Diffstat (limited to 'testdata/integration/user_defined_syntax/math_various.in.osml')
-rw-r--r--testdata/integration/user_defined_syntax/math_various.in.osml3
1 files changed, 2 insertions, 1 deletions
diff --git a/testdata/integration/user_defined_syntax/math_various.in.osml b/testdata/integration/user_defined_syntax/math_various.in.osml
index f251bff..8433777 100644
--- a/testdata/integration/user_defined_syntax/math_various.in.osml
+++ b/testdata/integration/user_defined_syntax/math_various.in.osml
@@ -3,5 +3,6 @@
\sum_{i=5}^10 \\
\int_{\var{x} -> -1}^{\var{x} -> 1} \sqrt{x^{2} - 1} dx &= \frac{π}{2}\\
\fun{f}{x, y} |-> \frac{x^{2}}{2} + y^2\\
- $ a ^ 2 + \var{b}^2 &= $c^{2}
+ $ a ^ 2 + \var{b}^2 &= $c^{2} \\
+ a^\frac{1}{2} &= \sqrt{a}
\end{math}