diff options
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$] |
