aboutsummaryrefslogtreecommitdiff
path: root/src/data/_base.typ
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-04-30 19:20:16 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2026-04-30 19:20:16 +0200
commita9e8d0e9c929bec830b086e473ef1362e1f873d9 (patch)
tree9ff2e2c2f49f5ca918c976dde000e0ee61a7b8bf /src/data/_base.typ
parenta36f5482ad90d6899d56e016666a2ca09240abd6 (diff)
refactor(typst): generalize template
Diffstat (limited to 'src/data/_base.typ')
-rw-r--r--src/data/_base.typ14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/data/_base.typ b/src/data/_base.typ
deleted file mode 100644
index fa5b362..0000000
--- a/src/data/_base.typ
+++ /dev/null
@@ -1,14 +0,0 @@
-#let display(body) = context {
- show math.equation: set text(font: "New Computer Modern Math")
- show math.text: set text(font: "New Computer Modern")
-
- let margin = 4pt
- let m = measure(body)
- set page(
- fill: none,
- margin: margin,
- width: m.width + margin*2,
- height: m.height + margin*2,
- )
- body
-}