From a9e8d0e9c929bec830b086e473ef1362e1f873d9 Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Thu, 30 Apr 2026 19:20:16 +0200 Subject: refactor(typst): generalize template --- src/eval/template_math_content.typ | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 src/eval/template_math_content.typ (limited to 'src/eval/template_math_content.typ') diff --git a/src/eval/template_math_content.typ b/src/eval/template_math_content.typ deleted file mode 100644 index b4faf43..0000000 --- a/src/eval/template_math_content.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()[$!!$] -- cgit v1.2.3