blob: 177e018870356e13032bde6fcddcb578384c3fd1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
// Test implicit alignment math.
---
// Test alignment step functions.
#set page(width: 225pt)
$
"a" &= c \
&= c + 1 & "By definition" \
&= d + 100 + 1000 \
&= x && "Even longer" \
$
---
// Test post-fix alignment.
$
& "right" \
"a very long line" \
"left" \
$
---
// Test no alignment.
$
"right" \
"a very long line" \
"left" \
$
---
// Test #460 equations.
$
a &=b & quad c&=d \
e &=f & g&=h
$
|