# Mimic "LaTeX font arrow" in TikZ

Is it possible to make TikZ identify the LaTeX font used in the current document and (say through defining a proper "mimic style") make it automatically draw arrows with the "same" shape?

MWE:

\documentclass[border=10pt]{standalone}
\usepackage{tikz,fourier}
\begin{document}
\tikz{\draw [->] (0,0) -- (1,0);}
$\rightarrow$
\end{document}


How can the TikZ arrow be made to match, just given the current font configuration?

• It does not seem clear to me what you mean by "mimetize" (mimic?) the same shape. Mar 30 '17 at 14:31
• @strpeter I mean "looking as close as possible". Mar 30 '17 at 14:33
• So can you give a visualized example? I simply do not get your point. Mar 30 '17 at 14:35
• The shape of an arrow (say \rightarrow) depends on the font used, I would like TikZ to recognize this font, and adapt its arrows accordingly. Mar 30 '17 at 14:39
• This needs a massive amount of effort if you want all fonts. Mar 30 '17 at 14:47

\documentclass[border=10pt]{standalone}
\usepackage{tikz-cd,fourier}
\begin{document}

\tikzset{
fourier to/.tip={Glyph[glyph math command=rightarrow]},
fourier notowns/.tip={Glyph[glyph math command=notowns]},
}

\tikz[line width=.53pt]\draw[fourier notowns-fourier to](0,0)to[bend right](1,0);

\end{document}