2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00

TikZ'ed image

This commit is contained in:
Martin Thoma 2014-01-22 08:11:04 +01:00
parent d8cced3a57
commit ae3f4e8133
12 changed files with 55 additions and 37 deletions

View file

@ -0,0 +1,9 @@
\begin{tikzpicture}
\tkzSetUpPoint[shape=circle,size=10,color=black,fill=black]
\tkzSetUpLine[line width=1]
\tkzDefPoints{0/0/A, 4/0/B, 4/2/C, 0/2/D, 3/2/E, 4/1/F, 1/0/G, 1/-1/H}
\tkzDrawPolygon[fill=black!20](A,B,C,D)
\tkzDrawPolygon[orange,fill=orange!20](E,C,F)
\tkzDrawPolygon[orange,fill=orange!20](A,G,H)
\tkzDrawPoints(A,B,C,D)
\end{tikzpicture}

View file

@ -0,0 +1,9 @@
\begin{tikzpicture}
\tkzSetUpPoint[shape=circle,size=10,color=black,fill=black]
\tkzSetUpLine[line width=1]
\tkzDefPoints{0/0/A, 4/0/B, 4/2/C, 0/2/D}
\tkzDrawPolygon(A,B,C,D)
\tkzDrawPolygon[pattern=north east lines](A,B,C)
\tkzDrawPolygon[pattern=north west lines](C,D,A)
\tkzDrawPoints(A,B,C,D)
\end{tikzpicture}