sandbox.tex
changeset 963 d875a8378d83
parent 960 bc4086c639b6
child 965 987af9e53631
equal deleted inserted replaced
960:bc4086c639b6 963:d875a8378d83
     7 
     7 
     8 %\title{Blob Homology}
     8 %\title{Blob Homology}
     9 \title{Sandbox}
     9 \title{Sandbox}
    10 \begin{document}
    10 \begin{document}
    11 
    11 
       
    12 \newcommand{\vertex}{node[circle,fill=black,inner sep=1pt] {}}
       
    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}
    12 
    26 
    13 \begin{tikzpicture}
    27 \begin{tikzpicture}
    14 \node[circle,fill=black,inner sep=1pt] (A) at (1.73,0) {};
    28 \node[circle,fill=black,inner sep=1pt] (A) at (1.73,0) {};
    15 \node[circle,fill=black,inner sep=1pt] (B) at (-1.73,0) {};
    29 \node[circle,fill=black,inner sep=1pt] (B) at (-1.73,0) {};
    16 \draw[dashed] (A) -- (B);
    30 \draw[dashed] (A) -- (B);