sandbox.tex
changeset 965 987af9e53631
parent 963 d875a8378d83
child 966 d9e4d7e1cbf6
equal deleted inserted replaced
964:0dbaf072e916 965:987af9e53631
     9 \title{Sandbox}
     9 \title{Sandbox}
    10 \begin{document}
    10 \begin{document}
    11 
    11 
    12 \newcommand{\vertex}{node[circle,fill=black,inner sep=1pt] {}}
    12 \newcommand{\vertex}{node[circle,fill=black,inner sep=1pt] {}}
    13 
    13 
    14 \begin{tikzpicture}
       
    15 \coordinate (P) at (0,0);
       
    16 \coordinate (Q) at (3,0);
       
    17 \coordinate (R) at (1.5,-0.5);
       
    18 \draw (P) \vertex to[out=40,in=140] node[above] {$a$} (Q) \vertex -- node[below] {\scriptsize $y \times I$} (R) \vertex to[out=-180,in=-40] node[below] {$a$} (P);
       
    19 \clip (P) to[out=40,in=140] (Q) -- (R) to[out=-180,in=-40] (P);
       
    20 \foreach \x in {1,...,9} {
       
    21 	\path (P) to[out=40,in=140] node[pos=\x/10] (PQ\x) {} (Q);
       
    22 	\path (P) to[out=-40,in=-180] node[pos=\x/10] (PR\x) {} (R);
       
    23 	\draw[green!50!brown] (PQ\x.center) -- (PR\x.center);
       
    24 }
       
    25 \end{tikzpicture}
       
    26 
    14 
    27 \begin{tikzpicture}
    15 \begin{tikzpicture}
    28 \node[circle,fill=black,inner sep=1pt] (A) at (1.73,0) {};
    16 \node[circle,fill=black,inner sep=1pt] (A) at (1.73,0) {};
    29 \node[circle,fill=black,inner sep=1pt] (B) at (-1.73,0) {};
    17 \node[circle,fill=black,inner sep=1pt] (B) at (-1.73,0) {};
    30 \draw[dashed] (A) -- (B);
    18 \draw[dashed] (A) -- (B);
    46 \end{scope}
    34 \end{scope}
    47 \end{scope}
    35 \end{scope}
    48 \begin{scope}
    36 \begin{scope}
    49 \path[clip] (0,1) circle (2);
    37 \path[clip] (0,1) circle (2);
    50 \path[clip] (0,-1) circle (2);
    38 \path[clip] (0,-1) circle (2);
    51 
    39 \foreach \n in {1,...,6} {
       
    40 	\path (B) to[out=0,in=-180] node[coordinate,pos=\n/6] (BC\n) {} (C);
       
    41 	\draw[green!50!brown] (BC\n) -- +(0,1);
       
    42 	\draw[green!50!brown] (BC\n) -- +(-1.5,-1);
       
    43 }
       
    44 \foreach \n in {0,...,6} {
       
    45 	\path (C) to[out=0,in=-180] node[coordinate,pos=\n/6] (CD\n) {} (D);
       
    46 	\path (L1) to[out=-30,in=-180] node[coordinate,pos=\n/6] (L1L2\n) {} (L2);
       
    47 	\draw[blue] (CD\n) -- (L1L2\n);
       
    48 }
       
    49 \foreach \n in {0,...,6} {
       
    50 	\path (L1) to[out=40,in=-140] node[coordinate,pos=\n/6] (L1C\n) {} (C);
       
    51 	\path (L2) to[out=50,in=-130] node[coordinate,pos=\n/6] (L2D\n) {} (D);
       
    52 	\draw[blue] (L1C\n) -- (L2D\n);
       
    53 }
    52 \end{scope}
    54 \end{scope}
    53 \end{tikzpicture}
    55 \end{tikzpicture}
    54 \end{document}
    56 \end{document}