mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
The commands find . -type f -name '*.md' -exec sed --in-place 's/[[:space:]]\+$//' {} \+ and find . -type f -name '*.tex' -exec sed --in-place 's/[[:space:]]\+$//' {} \+ were used to do so.
21 lines
695 B
TeX
21 lines
695 B
TeX
\documentclass[varwidth=true, border=2pt]{standalone}
|
|
\usepackage{ifthen}
|
|
\usepackage{tikz}
|
|
\usetikzlibrary{calc}
|
|
|
|
\begin{document}
|
|
\tikzstyle{vertex}=[draw,black,fill=blue,circle,minimum size=10pt,inner sep=0pt]
|
|
\tikzstyle{edge}=[very thick]
|
|
\begin{tikzpicture}
|
|
\node (a)[vertex,fill=lime] at (1,0) {};
|
|
\node (b)[vertex,fill=red] at (0,1) {};
|
|
\node (c)[vertex,fill=lime] at (1,2) {};
|
|
\node (d)[vertex,fill=blue] at (2,2) {};
|
|
\node (e)[vertex,fill=red] at (3,1) {};
|
|
\node (f)[vertex,fill=blue] at (2,0) {};
|
|
|
|
\draw[edge] (a) -- (b) -- (c) -- (d) -- (e) -- (f) -- (a) -- cycle;
|
|
\draw[edge] (b) -- (f);
|
|
\draw[edge] (b) -- (d);
|
|
\end{tikzpicture}
|
|
\end{document}
|