diff --git a/example/main.pdf b/example/main.pdf index c99662d..7afca42 100644 Binary files a/example/main.pdf and b/example/main.pdf differ diff --git a/example/main/ch3_math.typ b/example/main/ch3_math.typ index 19eeb62..41d42b0 100644 --- a/example/main/ch3_math.typ +++ b/example/main/ch3_math.typ @@ -15,7 +15,11 @@ $ ) $ -#lorem(100) +#lorem(70) + +a hopefully inline math equation: $h = 3$ + +#lorem(30) $ macron(I_f)(arrow(r)) diff --git a/src/lib.typ b/src/lib.typ index 42abce9..feb7daa 100644 --- a/src/lib.typ +++ b/src/lib.typ @@ -196,7 +196,7 @@ long } } numbering("(1.1)", h1, n) }) - show math.equation: it => { + show math.equation.where(block: true): it => { set align(left) // Indent pad(left: 2em, it)