0

The following:

\documentclass{article}

\usepackage{tikz}

\begin{document}

\begin{tikzpicture}
\node (dl) at (-1,0) {dl};
\node (dm) at (0,0) {dm};
\node (dr) at (1,0) {dr};
\node (ul) at (-1,1) {ul};
\node (um) at (0,1) {um};
\node (ur) at (1,1) {ur};
\draw (dm) -- (ul) -- (dl) -- (um) -- (dr) -- (ur) -- cycle; 
\end{tikzpicture}

\end{document}

produces

enter image description here

If I understand the manual correctly, -- cycle; in the code should produce additional line joining "ur" back to "dm". Why is it not there?

2

Browse other questions tagged or ask your own question.