Update to latest typst
This commit is contained in:
parent
17624d3525
commit
4bf8ea3ceb
BIN
build/main.pdf
BIN
build/main.pdf
Binary file not shown.
6
main.typ
6
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)
|
||||
|
||||
10
template.typ
10
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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user