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



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


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


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, 2014 at 10:56

You must log in to answer this question.

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