diff options
| author | Martin Haug <mhaug@live.de> | 2022-06-01 11:43:03 +0200 |
|---|---|---|
| committer | Martin Haug <mhaug@live.de> | 2022-06-01 11:43:03 +0200 |
| commit | 755d46819894f9ad5285526206892471e6e71ef8 (patch) | |
| tree | 65d700531cd8a47fab4789c8feadaac08953b096 /tests | |
| parent | 4e3036afcbdf2814889030413ffa81c8cc697341 (diff) | |
Fix inline nodes and decorations
Also Code Review 👯♂️
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/text/baseline.png | bin | 6212 -> 6204 bytes | |||
| -rw-r--r-- | tests/ref/text/shifts.png | bin | 2958 -> 7907 bytes | |||
| -rw-r--r-- | tests/typ/text/shifts.typ | 7 |
3 files changed, 7 insertions, 0 deletions
diff --git a/tests/ref/text/baseline.png b/tests/ref/text/baseline.png Binary files differindex 7baa0167..37bb1949 100644 --- a/tests/ref/text/baseline.png +++ b/tests/ref/text/baseline.png diff --git a/tests/ref/text/shifts.png b/tests/ref/text/shifts.png Binary files differindex 52e897fd..c1e9dec6 100644 --- a/tests/ref/text/shifts.png +++ b/tests/ref/text/shifts.png diff --git a/tests/typ/text/shifts.typ b/tests/typ/text/shifts.typ index 624db7e1..b70425c4 100644 --- a/tests/typ/text/shifts.typ +++ b/tests/typ/text/shifts.typ @@ -10,3 +10,10 @@ --- #set super(typographic: false, baseline: -0.25em, size: 0.7em) 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\]]))) \ |
