[Tex/LaTex] Why scaling of arrow head works only for default > and not for latex, stealth, or other types

tikz-pgf

I am following the answer here where it shows how to adjust the arrow head. It works, but only for default > arrow head. When I change it to latex, stealth or any of the other type of arrow heads, the size does not change.

MWE

\documentclass[12pt]{article}
\usepackage{tikz}
\usetikzlibrary{arrows,calc,decorations.markings,math,arrows.meta}

\begin{document}    
\begin{tikzpicture}
\draw[-{>[scale=1.0]}] (0,0) -- (1,0);
\end{tikzpicture}

\begin{tikzpicture} %works ok, gets larger
\draw[-{>[scale=3.0]}] (0,0) -- (1,0);
\end{tikzpicture}

\begin{tikzpicture} %does not scale, only change shape
\draw[-{latex[scale=3.0]}] (0,0) -- (1,0);
\end{tikzpicture}

\begin{tikzpicture} %does not scale, only changes shape
\draw[-{stealth[scale=3.0]}] (0,0) -- (1,0);
\end{tikzpicture}
\end{document}

Mathematica graphics

What would the syntax be to scale the other arrow heads? Using the above layout and not using tikzset or other fancy macros. Am I doing something wrong in the above?

Best Answer

Load the TikZ library arrows.meta and use the scalable arrows that come with that library:

\documentclass[12pt]{article}
\usepackage{tikz}
\usetikzlibrary{arrows.meta,calc,decorations.markings,math,arrows.meta}

\begin{document}    
\begin{tikzpicture}
\draw[-{>[scale=1.0]}] (0,0) -- (1,0);
\end{tikzpicture}

\begin{tikzpicture} %works ok, gets larger
\draw[-{>[scale=3.0]}] (0,0) -- (1,0);
\end{tikzpicture}

\begin{tikzpicture} %does not scale, only change shape
\draw[-{Latex[scale=3.0]}] (0,0) -- (1,0);
\end{tikzpicture}

\begin{tikzpicture} %does not scale, only changes shape
\draw[-{Stealth[scale=3.0]}] (0,0) -- (1,0);
\end{tikzpicture}
\end{document}

enter image description here

Notice to difference between latex vs Latex, and stealth vs Stealth for naming the type of arrowhead.