Cheatsheet (download pdf) | |
---|---|
Beginner handout (download pdf) | Intermediate handout (download pdf) | Tips handout (download pdf) |
---|---|---|
fonts
repository with:fonts/roboto/*
: See https://fonts.google.com/specimen/Robotofonts/roboto-slab/*
: See https://fonts.google.com/specimen/Roboto+Slabfonts/source-code-pro/*
: See https://fonts.google.com/specimen/Source+Code+Profonts/source-sans-pro/*
: See https://fonts.google.com/specimen/Source+Sans+Profonts/source-serif-pro/*
: See https://fonts.google.com/specimen/Source+Serif+Profonts/eb-garamond/*
: See https://bitbucket.org/georgd/eb-garamond/src/master
fonts/pacifico/*
: See https://fonts.google.com/download?family=Pacifico
On Linux, with make
installed, the fonts can be set up with the following command:
make -C fonts
The fonts can be made discoverable by matplotlib
(through fontconfig
) by creating the following in $HOME/.config/fontconfig/fonts.conf
(see here):
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<dir>/path/to/cheatsheets/fonts/</dir>
...
</fontconfig>
$ cd scripts
$ for script in *.py; do python $script; done
$ cd ..
$ xelatex cheatsheets.tex
$ xelatex cheatsheets.tex