I want to label parts of an equation (such as with overset).
There are two problems when using overset
1. If equation elements are of different height then labels come out in
different heights
2. If the label is wider than the equation element it ruins spacing (the
equation gets spaces around the element

Is there a better way to do it?

For example
I_{\mathbf{p}}^{bf}=\overset{\mbox{normalization}}{\overbrace{\frac{1}{W_{\mathbf{p}}^{bf}}}}\sum_{\mathbf{q}\in\mathcal{S}}\overset{\mbox{space}}{\overbrace{G_{\sigma_{s}}\left(\left\Vert
 \mathbf{p}-\mathbf{q}\right\Vert 
\right)}}\overset{\mbox{Intensity}}{\overbrace{G_{\sigma_{r}}\left(\left\Vert 
I_{\mathbf{p}}-I_{\mathbf{q}}\right\Vert \right)}}I_{\mathbf{q}}

If you paste this into a math environment you will see that it just comes out
wrong

Reply via email to