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:
parent
d8cced3a57
commit
ae3f4e8133
12 changed files with 55 additions and 37 deletions
17
tikz/rectangle-2/rectangle-2.2.tex
Normal file
17
tikz/rectangle-2/rectangle-2.2.tex
Normal file
|
@ -0,0 +1,17 @@
|
|||
\documentclass[varwidth=true, border=2pt]{standalone}
|
||||
\usepackage{tkz-euclide}
|
||||
\usepackage{tikz}
|
||||
\usetikzlibrary{patterns}
|
||||
|
||||
\begin{document}
|
||||
\usetkzobj{all}
|
||||
\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}
|
||||
\end{document}
|
Loading…
Add table
Add a link
Reference in a new issue