summaryrefslogtreecommitdiff
path: root/tests/typ/text
diff options
context:
space:
mode:
Diffstat (limited to 'tests/typ/text')
-rw-r--r--tests/typ/text/decorations.typ19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/typ/text/decorations.typ b/tests/typ/text/decorations.typ
new file mode 100644
index 00000000..3e298ece
--- /dev/null
+++ b/tests/typ/text/decorations.typ
@@ -0,0 +1,19 @@
+// Test text decorations.
+
+---
+#strike[Statements dreamt up by the utterly deranged.]
+
+Sometimes, we work #strike(extent: 5%, strength: 10pt)[in secret].
+There might be #strike(extent: 5%, strength: 10pt, color: #abcdef88)[redacted]
+things.
+
+---
+#underline(color: #fc0030)[Critical information is conveyed here.]
+#underline[
+ Still important, but not #underline(strength: 0pt)[mission ]critical.
+]
+
+#font(color: #fc0030, underline[Change with the wind.])
+
+---
+#overline(underline[Running amongst the wolves.])