I think that this is a very basic question but i couldn't find any answer. I have written the following equation in latex:
\begin{equation}
U= \frac{\bar{X}_1 -\bar{X}_2}{\sqrt{\frac{S^2_1}{n_1}+\frac{S^2_1}{n_1}}}
\end{equation}
I want to write the variable names also e.g.
Where,
\bar{X}_1 = mean of first dataset and so on.
Problem:
I tried suggestion here but then i facing another problem. The details about my variable are a little loner so the text is touching the margin as shown in the image below:

PS: I am writing in IEEEtran
My code for whole equation:
\begin{align*}
U &= \frac{\bar{X}_1 -\bar{X}_2}{\sqrt{\frac{S^2_1}{n_1}+\frac{S^2_1}
{n_1}}}
\intertext{where}
\bar{X}_1 &= \text{mean of correctly recognized In-direction distractors}; \\
\bar{X}_2 &= \text{mean of correctly recognized Out-direction distractors}; \\
S_1 &= \text{variance of correctly recognized In-direction distractors}; \\
S_2 &= \text{variance of correctly recognized Out-direction distractors}.
\end{align*}


where. My problem is that the text ofwhereis touching the image as shown in the image above. How to get rid of it? – skm Apr 09 '14 at 07:06IEEEtran– skm Apr 09 '14 at 07:14\documentclass, ending with\end{document}, so that we can just copy-paste and compile the entire thing. – Torbjørn T. Apr 09 '14 at 07:22