diff --git a/build/main.pdf b/build/main.pdf index cd6cada..20d4913 100644 Binary files a/build/main.pdf and b/build/main.pdf differ diff --git a/main.typ b/main.typ index 57d860e..183febe 100644 --- a/main.typ +++ b/main.typ @@ -18,10 +18,10 @@ #leftcolumn // Go back to the top of the page -#style(styles => { - let size = measure(leftcolumn, styles) +#context { + let size = measure(leftcolumn) v(-size.height - 0.75cm) -}) +} // Include content #v(1.2cm) diff --git a/template.typ b/template.typ index a304b85..ce1678f 100644 --- a/template.typ +++ b/template.typ @@ -118,8 +118,8 @@ #note ] - layout(size => - style(styles => { + layout(size => { + context { let size = measure({ block( width: size.width, @@ -129,9 +129,9 @@ [], [], content ) ) - }, styles) + }) - let offset = measure(left, styles) + let offset = measure(left) grid( gutter: 1em, @@ -149,8 +149,8 @@ content ) v(-4pt) - }) - ) + } + }) } // A score box between 1 and 5.