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

Vorlesung vom 28.11.2013 digitalisiert

This commit is contained in:
Martin Thoma 2013-11-28 17:28:06 +01:00
parent 0d18b6b229
commit bd5f65062d
35 changed files with 536 additions and 2 deletions

View file

@ -0,0 +1,17 @@
\newcommand\n{5}
\begin{tikzpicture}
\tikzstyle{point}=[circle,thick,draw=black,fill=black,inner sep=0pt,minimum width=4pt,minimum height=4pt]
\begin{scope}[rotate=17]
%the multiplication with floats is not possible. Thus I split the loop in two.
\foreach \number in {1,...,\n}{
\node[point] (N-\number) at ({\number*(360/\n)}:1.5cm) {};
}
\foreach \number in {1,...,\n}{
\foreach \y in {1,...,\n}{
\draw (N-\number) -- (N-\y);
}
}
\end{scope}
\end{tikzpicture}