2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-18 19:18:21 +02:00
LaTeX-examples/documents/GeoTopo/figures/topology-triangle-no-simplicial-complex.tex
Martin Thoma 7740f0147f Remove trailing spaces
The commands

find . -type f -name '*.md' -exec sed --in-place 's/[[:space:]]\+$//' {} \+

and

find . -type f -name '*.tex' -exec sed --in-place 's/[[:space:]]\+$//' {} \+

were used to do so.
2015-10-14 14:25:34 +02:00

18 lines
667 B
TeX

\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) -- (b.center) -- (c.center) -- cycle;
\draw[pattern=dots] (d.center) -- (e.center) -- (f.center) -- cycle;
\draw (p.center) -- (d.center);
\end{tikzpicture}