compensate mono font size

This commit is contained in:
2025-10-06 18:21:55 +02:00
parent aeb112f5a1
commit a90543cdbd
2 changed files with 10 additions and 3 deletions

View File

@@ -4,6 +4,7 @@
#let base_font = "Inter";
#let mono_font = "Noto Sans Mono";
#let mono_font_compensation = 1.3em;
#let serif_font = "Merriweather";
#let tul_logomark_size = 6.5em;
@@ -71,7 +72,7 @@
};
// other
show raw: set text(font: mono_font);
show raw: set text(font: mono_font, size: mono_font_compensation);
show raw.where(block: true): it => {
block(it, fill: rgb("#eee"), inset: 1em)
};