forked from pencelheimer/typst_nure_template
feat(style func): added show rules for heading(level: 3)
This commit is contained in:
BIN
lab_example.pdf
BIN
lab_example.pdf
Binary file not shown.
12
template.typ
12
template.typ
@ -197,6 +197,18 @@
|
|||||||
v(spacing * 2, weak: true)
|
v(spacing * 2, weak: true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
show heading.where(level: 3): it => {
|
||||||
|
set text(size: 14pt, weight: "regular")
|
||||||
|
|
||||||
|
v(spacing * 2, weak: true)
|
||||||
|
block(width: 100%, spacing: 0em)[
|
||||||
|
#h(1.25cm)
|
||||||
|
#counter(heading).display(it.numbering)
|
||||||
|
#it.body
|
||||||
|
]
|
||||||
|
v(spacing * 2, weak: true)
|
||||||
|
}
|
||||||
|
|
||||||
// listings {{{2
|
// listings {{{2
|
||||||
show raw: it => {
|
show raw: it => {
|
||||||
let new_spacing = 0.5em
|
let new_spacing = 0.5em
|
||||||
|
Reference in New Issue
Block a user