1

I'd like to have symbols below and above an arrow. The best result so far is accomplished using

\stackrel{\tau}{\underset{\equiv}{\rightarrowtriangle}}}}

rendered

However, the vertical distance between the symbols is quite large, which also causes this construct to be quite high. How can I decrease these distances? Using \vspace seems to be wrong, as I intend to use the construct in different environments (and font sizes).

1 Answer 1

2

With stacks, you can tell it the gap separation with an optional argument.

\documentclass{article}
\usepackage{amsmath}
\usepackage{stackengine}
\stackMath
\usepackage{stmaryrd}
\begin{document}
$\stackon[1pt]{\stackunder[1pt]{\rightarrowtriangle}{\scriptstyle\equiv}}{\scriptstyle\tau}$
vs.
$\stackrel{\tau}{\underset{\equiv}{\rightarrowtriangle}}$
\end{document}

enter image description here

1
  • That's it! Just for reference, I actually use this: \newcommand{\predPath}[2][]{\stackon[.05ex]{\stackunder[.05ex]{\rightarrowtriangle}{\scriptstyle #1\ }}{\scriptstyle #2\,}}
    – C-Otto
    Apr 30, 2014 at 10:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .