diff options
Diffstat (limited to 'tests/typ/text')
| -rw-r--r-- | tests/typ/text/deco.typ | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/typ/text/deco.typ b/tests/typ/text/deco.typ index 071208ac..5e9de5b3 100644 --- a/tests/typ/text/deco.typ +++ b/tests/typ/text/deco.typ @@ -20,12 +20,14 @@ --- #let redact = strike.with(10pt, extent: 0.05em) -#let highlight = strike.with( - stroke: rgb("abcdef88"), - thickness: 10pt, - extent: 0.05em, -) +#let highlight = strike.with(stroke: 10pt + rgb("abcdef88"), extent: 0.05em) // Abuse thickness and transparency for redacting and highlighting stuff. Sometimes, we work #redact[in secret]. There might be #highlight[redacted] things. + underline() + +--- +// Test stroke folding. +#set underline(stroke: 2pt, offset: 2pt) +#underline(text(red, [DANGER!])) |
