summaryrefslogtreecommitdiff
path: root/tests/typ/coma.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-06-26 15:47:37 +0200
committerLaurenz <laurmaedje@gmail.com>2021-06-26 15:47:37 +0200
commitd53c933e4d56e6c0484d81814779ddb1597ee032 (patch)
tree493aa2f8397a26b11a1137d2882994686b5ac7de /tests/typ/coma.typ
parent784018124d13a4cfb050b8bf1fecd283cdc309db (diff)
Add box and block functions
Diffstat (limited to 'tests/typ/coma.typ')
-rw-r--r--tests/typ/coma.typ6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/typ/coma.typ b/tests/typ/coma.typ
index 810d61b8..b1eefc9f 100644
--- a/tests/typ/coma.typ
+++ b/tests/typ/coma.typ
@@ -10,10 +10,10 @@
#let university = [*Technische Universität {city}*]
#let faculty = [*Fakultät II, Institut for Mathematik*]
-// The `rect` function just places content into a rectangular container. When
+// The `box` function just places content into a rectangular container. When
// the only argument to a function is a template, the parentheses can be omitted
// (i.e. `f[a]` is the same as `f([a])`).
-#rect[
+#box[
// Backslash adds a forced line break.
#university \
#faculty \
@@ -21,7 +21,7 @@
Dr. Max Mustermann \
Ola Nordmann, John Doe
]
-#align(right, rect[*WiSe 2019/2020* \ Woche 3])
+#align(right, box[*WiSe 2019/2020* \ Woche 3])
// Adds vertical spacing.
#v(6mm)