2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00
LaTeX-examples/documents/GeoTopo/figures/topology-triangle-simplicial-complex.tex

21 lines
841 B
TeX
Raw Normal View History

2013-11-26 12:48:52 +01:00
\begin{tikzpicture}
\tikzstyle{point}=[circle,thick,draw=black,fill=black,inner sep=0pt,minimum width=4pt,minimum height=4pt]
\node (a)[point] at (0,0) {};
\node (b)[point] at (3,0) {};
\node (c)[point] at (2,2) {};
\begin{scope}[yshift=2cm]
\node (d)[point] at (1,1) {};
\node (e)[point] at (0,2) {};
\node (f)[point] at (4,2) {};
\end{scope}
\node (p)[point,label={[label distance=0cm]5:$P$}] at (1.5,0.5) {};
\draw[pattern=north east lines] (a.center) -- (p.center) -- (b.center) -- cycle;
\draw[pattern=north west lines] (a.center) -- (p.center) -- (c.center) -- cycle;
\draw[pattern=vertical lines] (b.center) -- (p.center) -- (c.center) -- cycle;
\draw[pattern=dots] (d.center) -- (e.center) -- (f.center) -- cycle;
\draw (p.center) -- (d.center);
\end{tikzpicture}