typst styling

This commit is contained in:
anarsec 2024-04-15 16:16:59 +00:00
parent 6679c65ba9
commit 679f46f7c6
No known key found for this signature in database
3 changed files with 12 additions and 10 deletions

View file

@ -18,16 +18,16 @@
page()[
#place(
center + top,
dy: 150pt,
dy: 250pt,
image(frontimage)
)
#place(
center + horizon,
dy: 40pt,
center + top,
dy: 150pt,
)[
#set text(font: "Jost")
#text(25pt, title)
#text(35pt, title)
#{
if subtitle != "None" {
@ -37,7 +37,8 @@
]
#place(
center + bottom
center + bottom,
dy: -20pt,
)[
#set text(font: "Jost")
#text(18pt)[Series: #category]
@ -70,18 +71,18 @@
#v(10pt)
]
show heading.where(level: 3): it => block(width: 100%)[
#set text(size: 12pt, font: "Jost", style: "italic")
#set text(size: 14pt, font: "Jost", style: "italic")
#text(it.body)
#v(10pt)
]
show heading.where(level: 4): it => block(width: 100%)[
#set text(size: 11pt, font: "Jost")
#text(it.body)
#text(underline(it.body))
#v(10pt)
]
// table of contents
outline(indent: 20pt, depth: 3)
outline(indent: 20pt, depth: 2)
// format links
show link: it => {
@ -131,6 +132,7 @@
content
set page(numbering: none)
set heading(outlined: false)
// back cover inside
page()[