summaryrefslogtreecommitdiff
path: root/tests/typ/text
diff options
context:
space:
mode:
authorMartin Haug <mhaug@live.de>2022-06-01 11:43:03 +0200
committerMartin Haug <mhaug@live.de>2022-06-01 11:43:03 +0200
commit755d46819894f9ad5285526206892471e6e71ef8 (patch)
tree65d700531cd8a47fab4789c8feadaac08953b096 /tests/typ/text
parent4e3036afcbdf2814889030413ffa81c8cc697341 (diff)
Fix inline nodes and decorations
Also Code Review 👯‍♂️
Diffstat (limited to 'tests/typ/text')
-rw-r--r--tests/typ/text/shifts.typ7
1 files changed, 7 insertions, 0 deletions
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\]]))) \