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

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

  • 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 '14 at 10:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.