summaryrefslogtreecommitdiff
path: root/testdata/integration/user_defined_syntax/math_various.out.osxml
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.out.osxml
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.out.osxml')
-rw-r--r--testdata/integration/user_defined_syntax/math_various.out.osxml21
1 files changed, 21 insertions, 0 deletions
diff --git a/testdata/integration/user_defined_syntax/math_various.out.osxml b/testdata/integration/user_defined_syntax/math_various.out.osxml
index 37b8ef8..efaed3e 100644
--- a/testdata/integration/user_defined_syntax/math_various.out.osxml
+++ b/testdata/integration/user_defined_syntax/math_various.out.osxml
@@ -105,5 +105,26 @@
</math:power>
</math:field>
</math:equation>
+ <math:equation>
+ <math:field>
+ <math:text>a</math:text>
+ <math:power>
+ <math:frac>
+ <denominator>
+ <math:number>1</math:number>
+ </denominator>
+ <nominator>
+ <math:number>2</math:number>
+ </nominator>
+ </math:frac>
+ </math:power>
+ </math:field>
+ <math:field>
+ <math:equals/>
+ <math:sqrt base="2">
+ <math:text>a</math:text>
+ </math:sqrt>
+ </math:field>
+ </math:equation>
</math:math>
</document>