备忘单
1.0.0
备忘单(下载 pdf) | |
---|---|
初学者讲义(下载 pdf) | 中级讲义(下载 pdf) | 提示讲义(下载 pdf) |
---|---|---|
fonts
存储库:fonts/roboto/*
:请参阅 https://fonts.google.com/specimen/Roboto 或 https://github.com/googlefonts/roboto/tree/master/src/hintedfonts/roboto-slab/*
:参见 https://fonts.google.com/specimen/Roboto+Slab 或 https://github.com/googlefonts/robotoslab/tree/master/fonts/staticfonts/source-code-pro/*
:请参阅 https://fonts.google.com/specimen/Source+Code+Pro 或 https://github.com/adobe-fonts/source-code-pro/tree/release /OTFfonts/source-sans-pro/*
:请参阅 https://fonts.google.com/specimen/Source+Sans+Pro 或 https://github.com/adobe-fonts/source-sans-pro/tree/release /OTFfonts/source-serif-pro/*
:请参阅 https://fonts.google.com/specimen/Source+Serif+Pro 或 https://github.com/adobe-fonts/source-serif-pro/tree/release /OTFfonts/eb-garamond/*
:参见 https://bitbucket.org/georgd/eb-garamond/src/masterfonts/pacifico/*
:参见 https://fonts.google.com/download?family=Pacifico在 Linux 上,安装了make
后,可以使用以下命令设置字体:
make -C fonts
通过在$HOME/.config/fontconfig/fonts.conf
中创建以下内容, matplotlib
(通过fontconfig
)可以发现字体(请参见此处):
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