diff --git a/README.md b/README.md index 61bb116..9bd87d1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,20 @@ # diagrams Tikz diagrams +## pdflatex + +* install dependencies (apt installable) + * `texlive` + * `texlive-latex-extra` + * `pdf2svg` +* make a tikz diagram `diagram.tex` +* compile to svg `pdflatex -shell-escape diagram.tex` - output: + * `digram.aux` - + * `digram.svg` + * `digram.log` + * `digram.log` +* WSL compile and open `pdflatex -shell-escape diagram.tex && explorer.exe diagram.svg` + * Examples: [PetarV-/TikZ](https://github.com/PetarV-/TikZ) * Overleaf resources: * https://www.overleaf.com/learn/latex/LaTeX_Graphics_using_TikZ%3A_A_Tutorial_for_Beginners_(Part_1)%E2%80%94Basic_Drawing `<---- this good`