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
|
#leftcolumn
|
||||||
|
|
||||||
// Go back to the top of the page
|
// Go back to the top of the page
|
||||||
#style(styles => {
|
#context {
|
||||||
let size = measure(leftcolumn, styles)
|
let size = measure(leftcolumn)
|
||||||
v(-size.height - 0.75cm)
|
v(-size.height - 0.75cm)
|
||||||
})
|
}
|
||||||
|
|
||||||
// Include content
|
// Include content
|
||||||
#v(1.2cm)
|
#v(1.2cm)
|
||||||
|
|||||||
10
template.typ
10
template.typ
@ -118,8 +118,8 @@
|
|||||||
#note
|
#note
|
||||||
]
|
]
|
||||||
|
|
||||||
layout(size =>
|
layout(size => {
|
||||||
style(styles => {
|
context {
|
||||||
let size = measure({
|
let size = measure({
|
||||||
block(
|
block(
|
||||||
width: size.width,
|
width: size.width,
|
||||||
@ -129,9 +129,9 @@
|
|||||||
[], [], content
|
[], [], content
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}, styles)
|
})
|
||||||
|
|
||||||
let offset = measure(left, styles)
|
let offset = measure(left)
|
||||||
|
|
||||||
grid(
|
grid(
|
||||||
gutter: 1em,
|
gutter: 1em,
|
||||||
@ -149,8 +149,8 @@
|
|||||||
content
|
content
|
||||||
)
|
)
|
||||||
v(-4pt)
|
v(-4pt)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// A score box between 1 and 5.
|
// A score box between 1 and 5.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user