Skip to content

Commit

Permalink
Switch to JetBrains-Mono for codeblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtz-j committed Sep 8, 2024
1 parent 1fe345a commit 6d9c373
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
extraFonts = with pkgs; [
noto-fonts
open-sans
iosevka
jetbrains-mono
];
extraCompileFlags = [ "--root" "./" ];
mainFile = "template/thesis.typ";
Expand All @@ -77,7 +77,7 @@
paths = with pkgs; [
noto-fonts
open-sans
iosevka
jetbrains-mono
];
};
};
Expand Down
4 changes: 2 additions & 2 deletions lib.typ
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@
set text(font: ("Charter"), size: 11pt)

// Set raw text font.
// Default is Iosevka at 9pt with JetBrains Mono fallback.
show raw: set text(font: ("Iosevka", "JetBrains Mono"), size: 9pt)
// Default is JetBrains Mono at 9tp with DejaVu Sans Mono as fallback
show raw: set text(font: ("JetBrains Mono", "DejaVu Sans Mono"), size: 9pt)

// Configure page size and margins.
set page(
Expand Down

0 comments on commit 6d9c373

Please sign in to comment.