1

In the following MWE, why does the segments don't go up to the points I have defined?

\documentclass{article}
\usepackage{tikz}

\begin{document}

\begin{tikzpicture}
\node (A) at (0,0) {};
\node (B) at (2,4) {};
\node (C) at (5,0) {};
\draw (A) -- (B) -- (C) -- cycle;
\end{tikzpicture}

\end{document}

enter image description here

leandriis
  • 62,593
Colas
  • 6,772
  • 4
  • 46
  • 96

1 Answers1

2
\documentclass[tikz,border=\dimexpr355pt/113\relax]{standalone}
\begin{document}
\begin{tikzpicture}
\draw (0,0) coordinate (A) -- (2,4) coordinate (B) -- (5,0) coordinate (C) -- cycle;
\end{tikzpicture}
\end{document}

enter image description here

Display Name
  • 46,933