From 73ab4702e6e9d58d7f378e6543fcc51a709b5456 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Mon, 19 Jun 2023 20:40:36 -0400 Subject: [PATCH] main.typ: change fonts Math is now default, rest is IBM Plex Sans --- README.md | 5 +---- main.typ | 9 ++++----- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 5527039..37d06aa 100644 --- a/README.md +++ b/README.md @@ -40,10 +40,7 @@ Example usage (this is test.typ in the above tree:) #source_code("test") ``` -Need fonts: -- Fira Math -- JetBrains Mono -- Roboto +Fonts should be included in Typst itself. Some settings are available in `main.typ`. diff --git a/main.typ b/main.typ index ed323a2..f05f307 100644 --- a/main.typ +++ b/main.typ @@ -8,10 +8,9 @@ #let me = "dogeystamp" -#let font = "Roboto" -#let heading_font = "Roboto" -#let math_font = "Fira Math" -#let mono_font = "JetBrains Mono" +#let font = "IBM Plex Sans" +#let heading_font = "IBM Plex Sans" +#let mono_font = "DejaVu Sans Mono" #let gen_title( title: none, @@ -56,7 +55,7 @@ ) = { set text(size: normal-size, font: font, weight: "light") show link: body => text(fill: rgb("#777777"), weight: "bold", body) - show math.equation: eq => text(font: math_font, eq) + show math.equation: eq => eq set table(inset: 10pt) show heading: set text(font: heading_font, weight: "black") show raw.where(block: true): txt => pad(