aboutsummaryrefslogtreecommitdiff
path: root/src/data/test_content_2.typ
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-04-29 21:25:40 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2026-04-29 21:25:40 +0200
commitce40702a501c3159db89693bd7da713ae1b4c011 (patch)
tree1186ac83a59c7ce1b08b072ac82292338111824e /src/data/test_content_2.typ
parentafd538d6af0baf8a1861ff2cdef881edbfb57000 (diff)
feat(typst): embed fonts
Diffstat (limited to 'src/data/test_content_2.typ')
-rw-r--r--src/data/test_content_2.typ13
1 files changed, 3 insertions, 10 deletions
diff --git a/src/data/test_content_2.typ b/src/data/test_content_2.typ
index db02163..47666a8 100644
--- a/src/data/test_content_2.typ
+++ b/src/data/test_content_2.typ
@@ -1,12 +1,5 @@
-#set page(
- fill: none,
- margin: 2pt,
-);
+#import "_base.typ": *
-#let display(body) = context {
- let m = measure(body)
- set page(width: m.width + page.margin.length*2, height: m.height + page.margin.length*2)
- body
-}
+#show: display.with()
-#display()[$x^2$]
+$x^2$