💄 add diagram code
This commit is contained in:
parent
39b4899c48
commit
5dfdcbaef5
2 changed files with 30 additions and 0 deletions
11
README.md
11
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/)
|
||||
|
|
|
|||
19
diagram.tex
Normal file
19
diagram.tex
Normal file
|
|
@ -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}
|
||||
Loading…
Add table
Add a link
Reference in a new issue