diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-28 21:50:21 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-28 21:50:21 +0200 |
| commit | 2f2014fb9cf9b22593088f0fcc16b8b9d8a436ae (patch) | |
| tree | 24b602f1d1d07f4aaf34479c26e47e32e2b11ee9 /template.typ | |
| parent | 80ca399d821cd6380c37e507f2b1b13007174221 (diff) | |
feat(typst): template
Diffstat (limited to 'template.typ')
| -rw-r--r-- | template.typ | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/template.typ b/template.typ new file mode 100644 index 0000000..2eca2c0 --- /dev/null +++ b/template.typ @@ -0,0 +1,12 @@ +#set page( + fill: none, + margin: 2pt, +); + +#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 +} + +#display()[$pi^2$] |
