liftung-torus-r.tex 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. % The following answers were used to create this image:
  2. % - http://tex.stackexchange.com/a/45824/5645 - Grid
  3. % - http://tex.stackexchange.com/a/373/5645 - Torus
  4. \documentclass[border=2pt]{standalone}
  5. \usepackage{amsmath,amssymb}
  6. \usepackage{tikz}
  7. \usetikzlibrary{patterns,arrows,positioning}
  8. \begin{document}
  9. \begin{tikzpicture}
  10. \tikzstyle{point}=[circle,thick,draw=black,fill=black,inner sep=0pt,minimum width=4pt,minimum height=4pt]
  11. \newcommand*{\xMin}{0}%
  12. \newcommand*{\xMax}{6}%
  13. \newcommand*{\yMin}{0}%
  14. \newcommand*{\yMax}{6}%
  15. \draw (-3.5,0) .. controls (-3.5,2) and (-1.5,2.5) .. (0,2.5);
  16. \draw[xscale=-1] (-3.5,0) .. controls (-3.5,2) and (-1.5,2.5) .. (0,2.5);
  17. \draw[rotate=180] (-3.5,0) .. controls (-3.5,2) and (-1.5,2.5) .. (0,2.5);
  18. \draw[yscale=-1] (-3.5,0) .. controls (-3.5,2) and (-1.5,2.5) .. (0,2.5);
  19. \draw (-2,.2) .. controls (-1.5,-0.3) and (-1,-0.5) .. (0,-.5) .. controls (1,-0.5) and (1.5,-0.3) .. (2,0.2);
  20. \draw (-1.75,0) .. controls (-1.5,0.3) and (-1,0.5) .. (0,.5) .. controls (1,0.5) and (1.5,0.3) .. (1.75,0);
  21. \begin{scope}[shift={(5,-3)}]
  22. \foreach \i in {\xMin,...,\xMax} {
  23. \draw [very thin,gray] (\i,\yMin) -- (\i,\yMax) node [below] at (\i,\yMin) {$\i$};
  24. }
  25. \foreach \i in {\yMin,...,\yMax} {
  26. \draw [very thin,gray] (\xMin,\i) -- (\xMax,\i) node [left] at (\xMin,\i) {$\i$};
  27. }
  28. \node (P)[point,red] at (1.2,2.2) {};
  29. \node (Q)[point,red] at (1.2,1.6) {};
  30. \draw[ultra thick, red] (P) -- (Q);
  31. \begin{scope}[shift={(2,1)}]
  32. \node (P)[point,red] at (1.2,2.2) {};
  33. \node (Q)[point,red] at (1.2,1.6) {};
  34. \draw[ultra thick, red] (P) -- (Q);
  35. \end{scope}
  36. \draw (-1, -0.5) node[below] {$T \xrightarrow{\text{Liften}} \mathbb{R}^2 / \mathbb{Z}^2$};
  37. \draw[red,dashed] (-5,1.5) ellipse (0.5cm and 1cm);
  38. \draw[red] (-5,2.5) arc (-270:-90:0.5 and 1) ;
  39. \end{scope}
  40. \end{tikzpicture}
  41. \end{document}