compensate mono font size
This commit is contained in:
@@ -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)
|
||||
};
|
||||
|
Reference in New Issue
Block a user