From 5a8534a395b500a25cbc46ee15ec031c8231de59 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 4 Oct 2022 13:42:49 +0200 Subject: Parse basic math syntax --- tests/typ/math/basic.typ | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'tests/typ/math') diff --git a/tests/typ/math/basic.typ b/tests/typ/math/basic.typ index 77d2e535..a1a9d32f 100644 --- a/tests/typ/math/basic.typ +++ b/tests/typ/math/basic.typ @@ -9,11 +9,11 @@ $ a^2 + b^2 = c^2 $ --- Prove by induction: -$ \sum_{k=0}^n k = \frac{n(n+1)}{2} $ +$ sum_(k=0)^n k = (n(n+1))/2 $ --- // Test that blackboard style looks nice. -$ f: \mathbb{N} \rightarrow \mathbb{R} $ +$ f: NN arrow RR $ --- #set math(family: "IBM Plex Sans") @@ -22,9 +22,5 @@ $ f: \mathbb{N} \rightarrow \mathbb{R} $ $a$ --- -// Error: 1-10 expected '}' found EOF -$\sqrt{x$ - ---- -// Error: 2:1 expected dollar sign +// Error: 1:3 expected dollar sign $a -- cgit v1.2.3