diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-04-13 10:39:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-13 08:39:45 +0000 |
| commit | 020294fca9a7065d4b9cf4e677f606ebaaa29b00 (patch) | |
| tree | c0027ad22046e2726c22298461327823d6b88d53 /tests/typ/math/content.typ | |
| parent | 72dd79210602ecc799726fc096b078afbb47f299 (diff) | |
Better test runner (#3922)
Diffstat (limited to 'tests/typ/math/content.typ')
| -rw-r--r-- | tests/typ/math/content.typ | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/tests/typ/math/content.typ b/tests/typ/math/content.typ deleted file mode 100644 index 739377ae..00000000 --- a/tests/typ/math/content.typ +++ /dev/null @@ -1,33 +0,0 @@ -// Test arbitrary content in math. - ---- -// Test images and font fallback. -#let monkey = move(dy: 0.2em, image("/assets/images/monkey.svg", height: 1em)) -$ sum_(i=#emoji.apple)^#emoji.apple.red i + monkey/2 $ - ---- -// Test tables. -$ x := #table(columns: 2)[x][y]/mat(1, 2, 3) - = #table[A][B][C] $ ---- -// Test non-equation math directly in content. -#math.attach($a$, t: [b]) - ---- -// Test font switch. -#let here = text.with(font: "Noto Sans") -$#here[f] := #here[Hi there]$. - ---- -// Test boxes without a baseline act as if the baseline is at the base -#{ - box(stroke: 0.2pt, $a #box(stroke: 0.2pt, $a$)$) - h(12pt) - box(stroke: 0.2pt, $a #box(stroke: 0.2pt, $g$)$) - h(12pt) - box(stroke: 0.2pt, $g #box(stroke: 0.2pt, $g$)$) -} - ---- -// Test boxes with a baseline are respected -#box(stroke: 0.2pt, $a #box(baseline:0.5em, stroke: 0.2pt, $a$)$) |
