summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
authorMartin Haug <mhaug@live.de>2021-06-10 23:08:52 +0200
committerLaurenz <laurmaedje@gmail.com>2021-06-10 23:15:51 +0200
commitc28708aa196eaca247cdab6b5e8af9751b4f1dad (patch)
treee390e84d1a7a1eb2789680a39141c804ff3f85a1 /tests/typ
parent5611c26577c4cf6d52b9b66b7b1a32253aa23ec1 (diff)
Text decorations
Diffstat (limited to 'tests/typ')
-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.])