# How to set default style for arrow tips in TikZ?

I am creating multiple TikZ pictures within one document and would like to set the default style of arrow heads for all the pictures to the latex style, i.e. like -latex does, so that I don't have to do this every time I draw an arrow.

I'm new to TikZ, but have searched and must not be choosing the correct terms.

-

You can use >=latex to specify arrow tips, and \tikzset so set it globally. This will be overridden by any local definitions of the arrow tip.

\documentclass{article}
\usepackage{tikz}
\tikzset{>=latex}
\begin{document}
\begin{tikzpicture}
\draw [->,>=stealth,red] (0,.6) -- +(1,0);
\draw [->,blue] (0,.3) -- +(1,0);
\draw [->] (0,0) -- +(1,0);
\end{tikzpicture}
\end{document}


-
Thanks, just what I needed! –  JohnD May 7 '12 at 15:38
If this answers you question please consider to mark it as ‘Accepted’ by clicking on the tickmark below the vote count. This assigns reputation points to the author of the answer (and to you!) –  Tobi May 7 '12 at 15:42
@texasAUtiger: Additionally, you can upvote answers (and questions) that you think are good, by clicking the upward-pointing triangle next to the post. –  Jake May 7 '12 at 15:42
@Tobi: I clicked on the arrow to vote it as my answer, but its appearance didn't seem to change. Does it look "answered" on your end? (Sorry, I'm new!) –  JohnD May 7 '12 at 15:46
@texasAUtiger: Seems like you accepted it :-) The tick becomes green if you click it … –  Tobi May 7 '12 at 16:49