make numbered equations non-default

This commit is contained in:
dogeystamp 2024-01-17 19:20:37 -05:00
parent 1cf97509a2
commit 32626b7e36
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
2 changed files with 5 additions and 1 deletions

View File

@ -42,3 +42,8 @@
body
}
#let numbered_eq = (body) => {
set math.equation(numbering: "(1)")
body
}

View File

@ -101,7 +101,6 @@
set text(size: normal-size, font: font, weight: "regular", lang: settings.lang)
show link: body => text(fill: rgb("#777777"), weight: "bold", body)
show math.equation: eq => eq
set math.equation(numbering: "(1)")
show figure: fig => {
show: pad.with(x: 1em)
show image: pad.with(y: 0.5em)