How to change arrow tip in tikz -
is there simple way increase size of arrow tip using like:
\tikzset{myptr/.style=->, ????} without designing new arrow style scratch?
one solution, quick, scale arrow head number %2 in following:
\documentclass[multi=false,tikz,border=2mm]{standalone} \usetikzlibrary{arrows,decorations.markings} \begin{document} \begin{tikzpicture} %1 \draw [->,>=stealth] (0,.5) -- (2,.5); %2 \draw [decoration={markings,mark=at position 1 {\arrow[scale=3,>=stealth]{>}}},postaction={decorate}] (0,0) -- (2,0); \end{tikzpicture} \end{document} this produces:

(sorry excessive zoom).
much more in answers this question , in this answer, used source.
addendum
\tikzset approach. code:
\documentclass[multi=false,tikz,border=2mm]{standalone} \usetikzlibrary{arrows,decorations.markings} \begin{document} \begin{tikzpicture} \tikzset{myptr/.style={decoration={markings,mark=at position 1 % {\arrow[scale=3,>=stealth]{>}}},postaction={decorate}}} %1 \draw [->,>=stealth] (0,.5) -- (2,.5); %2 \draw [myptr] (0,0) -- (2,0); \end{tikzpicture} \end{document} produces same output above 1 (source: pgf manual, section 2.8).
obviously can use -latex instead of stealth.
Comments
Post a Comment