[Tex/LaTex] Create longer arrows

arrowshorizontal alignmentrelation-symbolssymbols

I currently use two relation symbols as shown below. However, as I need to put in quite a bit of information above and, in the first case, also below the arrow, I'd like to have longer arrows. In my setting the example below already shows the longest possible items I need to put above/below.

It would be nice to have \tau\tau' on the line of the arrow, with the arrow head strictly to the right. A bit more line extending to the left would also be nice.

One idea is to horizontally stretch the arrow symbol. However, I guess this would also stretch the arrow head.
Another idea might be to combine several symbols – as creating a long line should be doable.

However, I am not experienced with this and would like to read your input on this.

arrows

Best Answer

I'm not a fan of MnSymbol. Here's a set of macros without it; the pitchfork is obtained by rotating the symbol in amssymb:

\documentclass{article}
\usepackage{amsmath,amssymb,graphicx,stmaryrd}

\newcommand{\rightpitch}{%
  \mathrel{% it's a relation
    \text{% scaled according to math style
      \smash{\raisebox{-.225ex}{% lowered a bit
        \rotatebox[origin=c]{90}{$\pitchfork$}%
      }}%
    }%
   \vphantom{\rightarrow}%
  }%
}

\makeatletter
\newcommand{\xrightpitch}[2][]{%
  \ext@arrow 0359\xrightpitchfill@{#1}{#2}%
}
\newcommand{\xrightpitchfill@}{%
  \arrowfill@\relbar\relbar\rightpitch
}
\newcommand{\xrightarrowtriangle}[2][]{%
  \ext@arrow 0359\xrightarrowtrianglefill@{#1}{#2}%
}
\newcommand{\xrightarrowtrianglefill@}{%
  \arrowfill@\relbar\relbar{\mathrel{\smash{\rightarrowtriangle}\vphantom{\rightarrow}}}%
}
\makeatother

\begin{document}
$a\rightpitch b\rightarrowtriangle c$

$a\xrightpitch{\tau\tau'}b\xrightarrowtriangle[\equiv'_n]{\tau\tau'}c$

$a_{\xrightpitch{\tau\tau'}}$
\end{document}

Thanks to Herbert Voß's “Math mode” for the x macros. I smashed \rightarrowtriangle because it's too high for the purpose at hand.

enter image description here

Related Question