aboutsummaryrefslogtreecommitdiff
path: root/src/eval/template_math_block.typ
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval/template_math_block.typ')
-rw-r--r--src/eval/template_math_block.typ16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/eval/template_math_block.typ b/src/eval/template_math_block.typ
deleted file mode 100644
index b36f063..0000000
--- a/src/eval/template_math_block.typ
+++ /dev/null
@@ -1,16 +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
-}
-
-#display()[$ !! $]