diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/text/deco.png | bin | 48180 -> 55102 bytes | |||
| -rw-r--r-- | tests/typ/text/deco.typ | 16 |
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/ref/text/deco.png b/tests/ref/text/deco.png Binary files differindex 006c969f..104c5a12 100644 --- a/tests/ref/text/deco.png +++ b/tests/ref/text/deco.png diff --git a/tests/typ/text/deco.typ b/tests/typ/text/deco.typ index b79b80b2..dbf86a86 100644 --- a/tests/typ/text/deco.typ +++ b/tests/typ/text/deco.typ @@ -57,3 +57,19 @@ We can also specify a customized value #set highlight(top-edge: "bounds", bottom-edge: "bounds") #highlight[abc] #highlight[abc #sym.integral] + +--- +// Test underline background +#set underline(background: true, stroke: (thickness: 0.5em, paint: red, cap: "round")) +#underline[This is in the background] + +--- +// Test overline background +#set overline(background: true, stroke: (thickness: 0.5em, paint: red, cap: "round")) +#overline[This is in the background] + + +--- +// Test strike background +#set strike(background: true, stroke: 5pt + red) +#strike[This is in the background] |
