2

This question already has an answer here:

why do i get two heads with this code? how can i get rid of that one at the end?

\documentclass[a4paper,10pt]{article}
\usepackage[latin1]{inputenc}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}
  [
    important line/.style={thick,shorten <=4pt,->}
  ]


  \draw[important line] (8.5,1.5) coordinate (A)  edge node[above,sloped] {\tiny text}  (7,2.7)
        coordinate (B) node[] {};

\end{tikzpicture}
\end{document}

two heads

marked as duplicate by Jake, egreg, Werner, jub0bs, Svend Tveskæg Jan 16 '14 at 16:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Short answer: Replace \draw by \path. – Jake Jan 16 '14 at 16:34

Browse other questions tagged or ask your own question.