summaryrefslogtreecommitdiff
path: root/tests/typ/coma.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-10-13 18:33:10 +0200
committerLaurenz <laurmaedje@gmail.com>2021-10-23 20:22:47 +0200
commit1e74f7c407e42174b631cb7477f3c88252da7e25 (patch)
tree53c0510b6503c434c9ba470b188d9e737ce1c3cf /tests/typ/coma.typ
parent5f4dde0a6b32c7620b29af30f69591cf3995af9b (diff)
New `ShapeNode`
Replaces `BackgroundNode` and `FixedNode`
Diffstat (limited to 'tests/typ/coma.typ')
-rw-r--r--tests/typ/coma.typ18
1 files changed, 6 insertions, 12 deletions
diff --git a/tests/typ/coma.typ b/tests/typ/coma.typ
index 8f47a749..54f80cf6 100644
--- a/tests/typ/coma.typ
+++ b/tests/typ/coma.typ
@@ -10,18 +10,12 @@
#let university = [*Technische Universität {city}*]
#let faculty = [*Fakultät II, Institut for Mathematik*]
-// 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])`).
-#box[
- // Backslash adds a forced line break.
- #university \
- #faculty \
- Sekretariat MA \
- Dr. Max Mustermann \
- Ola Nordmann, John Doe
-]
-#align(right, box[*WiSe 2019/2020* \ Woche 3])
+// Backslashs add forced line breaks.
+#university #align(right)[*WiSe 2019/2020*] \
+#faculty #align(right)[Woche 3] \
+Sekretariat MA \
+Dr. Max Mustermann \
+Ola Nordmann, John Doe
// Adds vertical spacing.
#v(6mm)