Skip to content

Commit

Permalink
edit(typst): adjust sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
vEnhance committed Jul 12, 2024
1 parent cff3a9e commit 8be09b2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions typst/packages/local/evan/1.0.0/evan.typ
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@

// Ersatz part command (similar to Koma-Script part in scrartcl)
#let part(s) = {
set text(size:1.4em, fill:colors.partfill)
heading(numbering: none, s)

heading(numbering: none, text(size: 1.4em, fill: colors.partfill, s))
}

// Main entry point to use in a global show rule
Expand Down Expand Up @@ -128,7 +128,6 @@
// Section headers
set heading(numbering: "1.1")
show heading: it => {
set text(font:fonts.sans)
block([
#if (it.numbering != none) {
text(fill:colors.headers, "§" + counter(heading).display())
Expand All @@ -138,6 +137,9 @@
#v(0.4em)
])
}
show heading: set text(font:fonts.sans, size: 11pt)
show heading.where(level: 1): set text(size: 14pt)
show heading.where(level: 2): set text(size: 12pt)

// Hyperlinks should be pretty
show link: it => {
Expand Down

0 comments on commit 8be09b2

Please sign in to comment.