# Math Help - Symbol over a line

1. ## Symbol over a line

Say that I want to put a W stacked on top of a line, say \overline. For example, I want to specify that an interaction
is mediated by a Z particle. I want to put a small Z over the arrow.

-Dan

2. ## Re: Symbol over a line

I think you use overset:

For example,
Code:
\overset{z}{\rightarrow}
displays as follows

$\overset{z}{\rightarrow}$

3. ## Re: Symbol over a line

Originally Posted by DavidB
I think you use overset:

For example,
Code:
\overset{z}{\rightarrow}
displays as follows

$\overset{z}{\rightarrow}$
$e^- + e^- \overset{Z^0}{\longrightarrow} e^- + e^-$

That's the one! Thanks.

-Dan