I want to use a variant of |<->|
in my draw command, but I want the tips to be the stealth
arrow head. Unfortunately, |stealth-stealth|
isn't understood in the draw options command.
How can I have stealth arrow heads?
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\draw[|stealth-stealth|] (0, 0) -- (1, 0);
\draw[| stealth-stealth |] (0, 0) -- (1, 0);
\end{tikzpicture}
\end{document}
\documentclass[tikz]{standalone} \begin{document} \begin{tikzpicture} \begin{scope}[>=stealth] \draw[|<->|] (0, 0) -- (1, 0); \draw[|<->|] (0, 0) -- (1, 0); \end{scope} \end{tikzpicture} \end{document}
?stealth
?