## DormanResearch : SomethingOverSymbol

Referers: LatexHints :: (Remote :: Orphans :: Tree )
Dorman Wiki
Dorman Lab Wiki
How do I put text above a symbol for example...w above \rightarrow or \mathcal{L} above \rightarrow?

Do
\mathop{\longrightarrow}\limits^{\mathcal{L}}
This produces a \mathop with the horizontal spacing appropriate to a one of those (\sum for example). An arrow is normally treated as a math relation so this should be wrapped in \mathrel{}. That
is essentially the latex definition of \stackrel and the plain tex definition of \buildrel as in \buildrel {\cal L}\over\longrightarrow.  Or
\stackrel{\mathcal{L}}{\longrightarrow}
Much better for math relations.

I have found that \stackrel  may not use the same font on top and bottom, but this works:
\mathop{\sum_{j=1}^n}_{j\neq i}
to layer the condition $j ≠ i$ under the sum over $j$.

Also see \underbrace{a+b}_{\mbox{text below}}