diff --git a/README.md b/README.md index 0256752..96cf8cc 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,13 @@ # diagrams Tikz diagrams + +* Examples: [PetarV-/TikZ](https://github.com/PetarV-/TikZ) +* PDF resources: + * [Walcak](https://www.tug.org/TUGboat/tb29-1/tb91walczak.pdf) + * [Cremer](https://www.cremeronline.com/LaTeX/minimaltikz.pdf) +* Overleaf resources: + * https://www.overleaf.com/learn/latex/LaTeX_Graphics_using_TikZ%3A_A_Tutorial_for_Beginners_(Part_1)%E2%80%94Basic_Drawing + * https://www.overleaf.com/learn/latex/TikZ_package#Introduction +* other resources: + * [tikz.dev](https://tikz.dev/tutorials-guidelines) + * [tikz.netlify.app](https://tikz.netlify.app/) diff --git a/diagram.tex b/diagram.tex new file mode 100644 index 0000000..53dcfea --- /dev/null +++ b/diagram.tex @@ -0,0 +1,19 @@ +% https://tex.stackexchange.com/a/51766 +\documentclass[crop,tikz,convert={outext=.svg,command=\unexpanded{pdf2svg \infile\space\outfile}},multi=false]{standalone}[2012/04/13] + +%\usetikzlibrary{...}% tikz package already loaded by 'tikz' option + +\makeatletter + +\begin{document} + +\begin{tikzpicture} + + \draw (0,0) -- (10,10); % ... + \draw (10,0) -- (0,10); % ... + \draw (5,0) -- (0,10); % ... + \node at (5,5) {Lorem ipsum at domine standalonus}; + +\end{tikzpicture} + +\end{document}