diff options
author | Robert Alessi <alessi@robertalessi.net> | 2019-11-22 12:21:58 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2019-11-22 12:21:58 +0100 |
commit | fc608922f98d89c6f312060f7bad3dbdfcd9429e (patch) | |
tree | 46cb0cc887f3ef889e3242215cd9118b04376f55 | |
parent | 4853d6934049e74d29df01af33488c678ffb32d6 (diff) | |
download | courses-fc608922f98d89c6f312060f7bad3dbdfcd9429e.tar.gz |
use NewComputerModern
-rw-r--r-- | _preamble.tex | 3 | ||||
-rw-r--r-- | makefile | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/_preamble.tex b/_preamble.tex index 8e43b1d..d2ce244 100644 --- a/_preamble.tex +++ b/_preamble.tex | |||
@@ -3,6 +3,9 @@ | |||
3 | 3 | ||
4 | \usepackage{fontspec} | 4 | \usepackage{fontspec} |
5 | % \setmainfont{Old Standard} | 5 | % \setmainfont{Old Standard} |
6 | \babelfont{rm}{NewComputerModern} | ||
7 | \babelfont{sf}{NewComputerModern Sans} | ||
8 | \babelfont{tt}{NewComputerModern Mono} | ||
6 | \addtokomafont{disposition}{\rmfamily} | 9 | \addtokomafont{disposition}{\rmfamily} |
7 | 10 | ||
8 | \usepackage{csquotes} | 11 | \usepackage{csquotes} |
@@ -4,7 +4,7 @@ findopts := $(foreach ext,$(exts),-or -iname "*.$(ext)") | |||
4 | all: pdf | 4 | all: pdf |
5 | 5 | ||
6 | pdf: clean | 6 | pdf: clean |
7 | find ./* -type f | grep -v '/_.*.tex' | grep 'tex$$' > texfiles | 7 | find ./* -type f | grep -v '/_.*.tex' | grep -v 'sandbox' | grep 'tex$$' > texfiles |
8 | while read l ; do \ | 8 | while read l ; do \ |
9 | latexmk -quiet -cd -lualatex -e '$$lualatex=q/lualatex %O --shell-escape %S/' $$l ; \ | 9 | latexmk -quiet -cd -lualatex -e '$$lualatex=q/lualatex %O --shell-escape %S/' $$l ; \ |
10 | done < texfiles | 10 | done < texfiles |