summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2019-10-17 12:55:34 +0200
committerLaurenz <laurmaedje@gmail.com>2019-10-17 12:55:34 +0200
commit1987e5861cf2c033e3a540a5ef7c0f7106016929 (patch)
treedcbf2d32c88d394e63b60e7473b2f6ba79fc83e3 /tests
parentf22f9513aea21408ebf6febd01912e630e9ad5e6 (diff)
Create basic box and line-break functions 📦
Diffstat (limited to 'tests')
-rw-r--r--tests/layouts/boxes.typ10
-rw-r--r--tests/layouts/styles.typ7
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/layouts/boxes.typ b/tests/layouts/boxes.typ
new file mode 100644
index 00000000..055e09fe
--- /dev/null
+++ b/tests/layouts/boxes.typ
@@ -0,0 +1,10 @@
+{size:400pt*250pt}
+
+[box][
+ *Technical University Berlin* [n]
+ *Faculty II, Institute for Mathematics* [n]
+ Secretary Example [n]
+ Prof. Dr. Example [n]
+ Assistant #1, Assistant #2, Assistant #3
+]
+[align: right][*WiSe 2019/2020* [n] Week 1]
diff --git a/tests/layouts/styles.typ b/tests/layouts/styles.typ
index b3f67132..c76feb21 100644
--- a/tests/layouts/styles.typ
+++ b/tests/layouts/styles.typ
@@ -17,3 +17,10 @@ This is not italic anymore, but still bold.
[bold]
This is completely reset. 😀
+
+[box][
+ [italic]
+ Styles are scoped by boxes.
+]
+
+Outside of the box: No effect.