fork download
  1. \documentclass[dvipdfmx,margin=1mm]{standalone}
  2. \usepackage{tikz}
  3. \usetikzlibrary{shapes.geometric}
  4. \begin{document}
  5. \begin{tikzpicture}[
  6. foo/.style={inner sep=0,minimum size=0.6mm,fill=black,circle},
  7. bar/.style={draw,shape=isosceles triangle,anchor=apex,shape border rotate=90,minimum width=0.6cm,minimum height=1cm},
  8. ]
  9. \node [foo,label=above:$\alpha$] (a) at (0,2) {};
  10. \node [foo,label=above:$\beta$] (b) at (1,1) {};
  11. \node [foo,label=above:$\gamma$] (c) at (2,0) {};
  12.  
  13. \node [bar] at (0,2) {};
  14. \node [bar] at (1,1) {};
  15. \node [bar] at (2,0) {};
  16.  
  17. \draw (a) -- (b);
  18. \draw (b) -- (c);
  19. \end{tikzpicture}
  20. \end{document}
Not running #stdin #stdout 0s 0KB
stdin
Standard input is empty
stdout
Standard output is empty