diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/math-lr-mid-class.png | bin | 0 -> 556 bytes | |||
| -rw-r--r-- | tests/ref/math-lr-mid-size-nested-equation.png | bin | 900 -> 920 bytes | |||
| -rw-r--r-- | tests/ref/math-lr-mid-size.png | bin | 2210 -> 2251 bytes | |||
| -rw-r--r-- | tests/ref/math-lr-mid.png | bin | 1399 -> 1413 bytes | |||
| -rw-r--r-- | tests/suite/math/delimited.typ | 8 |
5 files changed, 8 insertions, 0 deletions
diff --git a/tests/ref/math-lr-mid-class.png b/tests/ref/math-lr-mid-class.png Binary files differnew file mode 100644 index 00000000..6487578d --- /dev/null +++ b/tests/ref/math-lr-mid-class.png diff --git a/tests/ref/math-lr-mid-size-nested-equation.png b/tests/ref/math-lr-mid-size-nested-equation.png Binary files differindex df010668..750ad14c 100644 --- a/tests/ref/math-lr-mid-size-nested-equation.png +++ b/tests/ref/math-lr-mid-size-nested-equation.png diff --git a/tests/ref/math-lr-mid-size.png b/tests/ref/math-lr-mid-size.png Binary files differindex 12b4c086..07d33722 100644 --- a/tests/ref/math-lr-mid-size.png +++ b/tests/ref/math-lr-mid-size.png diff --git a/tests/ref/math-lr-mid.png b/tests/ref/math-lr-mid.png Binary files differindex 42e6da70..8af85b00 100644 --- a/tests/ref/math-lr-mid.png +++ b/tests/ref/math-lr-mid.png diff --git a/tests/suite/math/delimited.typ b/tests/suite/math/delimited.typ index 794ffd8a..b8656151 100644 --- a/tests/suite/math/delimited.typ +++ b/tests/suite/math/delimited.typ @@ -77,6 +77,14 @@ $ lr(body) quad lr(size: #1em, body) quad lr(size: #(1em+20%), body) $ +--- math-lr-mid-class --- +// Test that `mid` creates a Relation, but that can be overridden. +$ (a | b) $ +$ (a mid(|) b) $ +$ (a class("unary", |) b) $ +$ (a class("unary", mid(|)) b) $ +$ (a mid(class("unary", |)) b) $ + --- math-lr-unbalanced --- // Test unbalanced delimiters. $ 1/(2 (x) $ |
