diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-11-18 15:33:06 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-11-19 22:40:42 +0100 |
| commit | 1937d746abf19a5c1142db546912dbed0e6711fb (patch) | |
| tree | 287a7462720698347361be5d34d61cf7bf3dce45 /tests/typ | |
| parent | 9b8c1dc19fcda399f00e486460b4cc521d1a460b (diff) | |
Show everything!
Diffstat (limited to 'tests/typ')
| -rw-r--r-- | tests/typ/style/show-text.typ | 11 | ||||
| -rw-r--r-- | tests/typ/text/shifts.typ | 12 |
2 files changed, 6 insertions, 17 deletions
diff --git a/tests/typ/style/show-text.typ b/tests/typ/style/show-text.typ index 138b9b02..124d2ed2 100644 --- a/tests/typ/style/show-text.typ +++ b/tests/typ/style/show-text.typ @@ -14,17 +14,6 @@ Die Zeitung Der Spiegel existiert. TeX, LaTeX, LuaTeX and LuaLaTeX! --- -// Test out-of-order guarding. -#show "Good": [Typst!] -#show "Typst": [Fun!] -#show "Fun": [Good!] -#show enum: [] - -Good \ -Fun \ -Typst \ - ---- // Test that replacements happen exactly once. #show "A": [BB] #show "B": [CC] diff --git a/tests/typ/text/shifts.typ b/tests/typ/text/shifts.typ index b70425c4..01a83f6e 100644 --- a/tests/typ/text/shifts.typ +++ b/tests/typ/text/shifts.typ @@ -1,19 +1,19 @@ // Test sub- and superscipt shifts. --- -#table(columns: 3, - [Typo.], [Fallb.], [Synth], - [x#super[1]], [x#super[5n]], [x#super[2 #square(width: 6pt)]], - [x#sub[1]], [x#sub[5n]], [x#sub[2 #square(width: 6pt)]], +#table( + columns: 3, + [Typo.], [Fallb.], [Synth], + [x#super[1]], [x#super[5n]], [x#super[2 #square(width: 6pt)]], + [x#sub[1]], [x#sub[5n]], [x#sub[2 #square(width: 6pt)]], ) --- #set super(typographic: false, baseline: -0.25em, size: 0.7em) -n#super[1], n#sub[2], ... n#super[N] +n#super[1], n#sub[2], ... n#super[N] --- #set underline(stroke: 0.5pt, offset: 0.15em) - #underline[The claim#super[\[4\]]] has been disputed. \ The claim#super[#underline[\[4\]]] has been disputed. \ It really has been#super(box(text(baseline: 0pt, underline[\[4\]]))) \ |
