Skip to content

Commit

Permalink
adjust heading appearance
Browse files Browse the repository at this point in the history
- use sans font for heading
- centering level2 heading
  • Loading branch information
Enter-tainer committed Sep 30, 2023
1 parent dd1da27 commit b0c6d5e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions oi-wiki-export-typst/oi-wiki-export.typ
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@
#set heading(numbering: "1.1")
#show heading: set block(spacing: 0em)
#show heading: set text(
font: ("New Computer Modern", "Noto Serif CJK SC"),
weight: 700,
font: ("New Computer Modern", "Noto Sans CJK SC"),
weight: 551,
)
#show heading.where(level: 1): set text(size: 25pt)
#show heading.where(level: 2): set text(size: 20pt)
Expand All @@ -106,6 +106,11 @@
#it
#v(.2em)
]
#show heading.where(level: 2): it => {
v(2em)
align(center)[#it]
v(2em)
}

#show emph: set text(
font: ("New Computer Modern", "LXGW Wenkai")
Expand Down

0 comments on commit b0c6d5e

Please sign in to comment.