Skip to content

Commit cf45fc2

Browse files
committed
Added instruction for creating the figures
1 parent 4fbc427 commit cf45fc2

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,26 @@ Various cheat sheets for matplotlib
33

44
# How to compile
55

6-
You need to create a `fonts` repository with:
6+
1. You need to create a `fonts` repository with:
77

88
* `fonts/roboto/*` : See https://fonts.google.com/specimen/Roboto
99
* `fonts/source-code-pro/*` : See https://fonts.google.com/specimen/Source+Code+Pro
1010
* `fonts/source-sans-pro/*` : See https://fonts.google.com/specimen/Source+Sans+Pro
1111
* `fonts/source-serif-pro/*` : See https://fonts.google.com/specimen/Source+Serif+Pro
1212

13-
Then: `xelatex cheatsheet-basic.tex`
13+
2. You need to generate all the figures:
14+
15+
```
16+
$ cd scripts
17+
$ for script in *.py; do python $script; done
18+
$ cd ..
19+
```
20+
21+
3. Compile the sheet
22+
```
23+
$ xelatex cheatsheet-basic.tex
24+
$ xelatex cheatsheet-basic.tex
25+
```
26+
1427

1528

0 commit comments

Comments
 (0)