aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-09-03 22:15:22 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-09-03 22:15:22 +0200
commit1c38c7bb28d1da6852b41eb72d0ec55e64cfa15e (patch)
tree5e985647101ae6903b5be23e094fa46a1305174d
parent7e6e73b123d741eb419e3391fb27c2cc00271bac (diff)
add fonts to style.md
-rw-r--r--projdoc.cls3
-rw-r--r--style.md23
2 files changed, 25 insertions, 1 deletions
diff --git a/projdoc.cls b/projdoc.cls
index 4d4f3b8..cc34f70 100644
--- a/projdoc.cls
+++ b/projdoc.cls
@@ -36,7 +36,8 @@
% font style
\setmainfont{TeX Gyre Schola}
\setmathfont{TeX Gyre Schola Math}
-\setmonofont[Scale=0.85]{JetBrainsMono Nerd Font}
+\setsansfont{Inter}
+\setmonofont[Scale=0.85]{JetBrains Mono}
% fix fonts w/ siunitx
\sisetup{detect-all = true}
diff --git a/style.md b/style.md
index 83410e2..bbddddf 100644
--- a/style.md
+++ b/style.md
@@ -1,3 +1,26 @@
+# Fonts
+
+The documents use the following fonts. All of these are free and open source,
+and are likely available from your system's package manager if you are using
+Linux.
+
+If the documents fail to compile after installing these fonts, please check if
+you are using a LaTeX compiler with support for the `fontspec` package (i.e.
+`xelatex` or `lualatex`). The included `latexmkrc` file \*should\* cover LaTeX
+workshop and VimTeX.
+
+|Family|Usage|Typeface|
+|-|-|-|
+|serif|Body text (default)|[TeX Gyre Schola][texgyreschola]|
+|math|Math|[TeX Gyre Schola Math][texgyreschola-math]|
+|sans-serif|Figures|[Inter][inter]|
+|monospace|URLs, code listings|[JetBrains Mono][jetbrains-mono]|
+
+[inter]: https://rsms.me/inter
+[texgyreschola]: https://www.gust.org.pl/projects/e-foundry/tex-gyre/schola/index_html
+[texgyreschola-math]: https://www.gust.org.pl/projects/e-foundry/tg-math/download/index_html#Schola_Math
+[jetbrains-mono]: https://www.jetbrains.com/lp/mono
+
# Spelling
All documentation is written in U.S. English