Ian Jauslin
summaryrefslogtreecommitdiff
blob: 6b392afe0ed3db2bc5e30f2b6544e51d92a5200d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
\documentclass{standalone}

\usepackage{tikz}

% sqrt(3)
\def\sqrtTh{1.732}
% pi
\def\pival{3.14159}

\begin{document}
\begin{tikzpicture}
  \draw(0,0)--(2*\pival/3,2*\pival/\sqrtTh)--(4*\pival/3,0)--(2*\pival/3,-2*\pival/\sqrtTh)--cycle;

  \fill(2*\pival/3,2*\pival/3/\sqrtTh)circle(0.05);
  \fill(2*\pival/3,-2*\pival/3/\sqrtTh)circle(0.05);
\end{tikzpicture}
\end{document}