summaryrefslogtreecommitdiff
path: root/tests/typ/example-coma.typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2020-12-27 20:45:20 +0100
committerLaurenz <laurmaedje@gmail.com>2020-12-27 20:45:20 +0100
commitba3d43f7b2a18984be27f3d472884a19f3adce4c (patch)
tree1c6ffa31145fb69c19319440969d2037b27b584f /tests/typ/example-coma.typ
parent750d220bb080be077cd7ede6d18d485b1c3fb0c9 (diff)
Refresh function call and dictionary syntax
- No colon between function name and arguments, just whitespace - "Named" arguments (previously "keyword" arguments) use colon instead of equals sign
Diffstat (limited to 'tests/typ/example-coma.typ')
-rw-r--r--tests/typ/example-coma.typ14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/typ/example-coma.typ b/tests/typ/example-coma.typ
index d41032c1..d559a6fb 100644
--- a/tests/typ/example-coma.typ
+++ b/tests/typ/example-coma.typ
@@ -1,6 +1,6 @@
// Test integration of syntax, page setup, box layout and alignment.
-[page: width=450pt, height=300pt, margins=1cm]
+[page width: 450pt, height: 300pt, margins: 1cm]
[box][
*Technische Universität Berlin* \
@@ -9,17 +9,17 @@
Dr. Max Mustermann \
Ola Nordmann, John Doe
]
-[align: right >> box][*WiSe 2019/2020* \ Woche 3]
+[align right | box][*WiSe 2019/2020* \ Woche 3]
-[v: 6mm]
+[v 6mm]
-[align: center][
- #### 3. Übungsblatt Computerorientierte Mathematik II [v: 2mm]
- *Abgabe: 03.05.2019* (bis 10:10 Uhr in MA 001) [v: 2mm]
+[align center][
+ #### 3. Übungsblatt Computerorientierte Mathematik II [v 2mm]
+ *Abgabe: 03.05.2019* (bis 10:10 Uhr in MA 001) [v 2mm]
*Alle Antworten sind zu beweisen.*
]
-*1. Aufgabe* [align: right][(1 + 1 + 2 Punkte)]
+*1. Aufgabe* [align right][(1 + 1 + 2 Punkte)]
Ein _Binärbaum_ ist ein Wurzelbaum, in dem jeder Knoten ≤ 2 Kinder hat.
Die Tiefe eines Knotens _v_ ist die Länge des eindeutigen Weges von der Wurzel