add an option to turn off smallcaps for headings

This commit is contained in:
Gaspard Jankowiak 2026-04-16 08:16:53 +02:00
commit 7de1d44e9d

View file

@ -15,13 +15,16 @@
fontsize: 1.269em,
logo: "logo_uniforlife.svg",
lang: "de",
smallcaps_headings: true,
body
) = {
let doublerule = [#set text(1pt, bottom-edge: "descender")
#line(length: 100%, stroke: darkyellow+2pt)#line(length: 100%, stroke: luma(150)+1pt)
]
show heading: smallcaps
if smallcaps_headings {
show heading: smallcaps
}
show link: it => underline(stroke: yellow+0.2em, offset: 0.15em, evade: false, background: true)[#it]