hamilton-nicht-euler.tex 544 B

12345678910111213141516171819202122
  1. \documentclass[varwidth=true, border=2pt]{standalone}
  2. \usepackage{tikz}
  3. \usetikzlibrary{arrows,positioning}
  4. \tikzset{
  5. %Define standard arrow tip
  6. >=stealth',
  7. % Define arrow style
  8. pil/.style={->,thick}
  9. }
  10. \begin{document}
  11. \begin{tikzpicture}
  12. \node (a)[vertex] at (0,0) {};
  13. \node (b)[vertex] at (0,1) {};
  14. \node (c)[vertex] at (1,0) {};
  15. \node (d)[vertex] at (0,1) {};
  16. \foreach \from/\to in {a/b,b/c,c/d,d/a,a/c,b/d}
  17. \draw[line width=2pt] (\from) -- (\to);
  18. \end{tikzpicture}
  19. \end{document}