I'm creating a few custom icons for my latex documents that are repeated using tikz.
However, in order to align them to the text I need to know the descent to set the baseline in the correct place. I also want the descent to be calculated depending on font size.
I might need other measures from that picture too.
Here is one example.
\documentclass{article}
\usepackage{tikz}
\newcommand{\increasing}{%
\begin{tikzpicture}[baseline=0]
\draw[->] (0,0) -- (1ex,1em);
\end{tikzpicture}
}
\begin{document}
f \increasing
\end{document}
I want the arrow to be lower, so I need to set baseline=descent in the tikzpicture. How can I do that? Any documentation of the rest of the heights?

