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).


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


enter image description here

| improve this answer | |
  • 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.