aboutsummaryrefslogtreecommitdiff
path: root/src/eval
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval')
-rw-r--r--src/eval/template_math_block.typ8
-rw-r--r--src/eval/template_math_content.typ3
2 files changed, 6 insertions, 5 deletions
diff --git a/src/eval/template_math_block.typ b/src/eval/template_math_block.typ
index ecadae1..b36f063 100644
--- a/src/eval/template_math_block.typ
+++ b/src/eval/template_math_block.typ
@@ -1,8 +1,8 @@
-#show math.equation: set text(font: "New Computer Modern Math")
-#show math.text: set text(font: "New Computer Modern")
-
#let display(body) = context {
- let margin = 2pt
+ 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,
diff --git a/src/eval/template_math_content.typ b/src/eval/template_math_content.typ
index cd31ef6..b4faf43 100644
--- a/src/eval/template_math_content.typ
+++ b/src/eval/template_math_content.typ
@@ -1,7 +1,8 @@
#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 = 2pt
+ let margin = 4pt
let m = measure(body)
set page(
fill: none,