[Tex/LaTex] How to put your symbol explanation for the formula

amsmathequationsmath-operators

I have a formula written in LaTeX. What is the best way to explain what the symbols mean in the formula?

For example I have this equation with a where: symbol definitions

\begin{equation}
\sum_{i=0}^{n}\frac{\left(\omega_MM_i+\omega_PP_i+\omega_TT_i\right)\omega_i}{n}\\
\text{where}
\text{n = amount of weeks}
\text{M = Missed}
...
\end{equation}

Any suggestions?

Best Answer

When using a formula that introduces new variables I would try very hard to describe them in the text, either immediately before, or immediately after the formula.

Something like

enter image description here

or

enter image description here

\documentclass{article}

\begin{document}

Assuming that $n$ is the number of weeks, and $M$ 
represents `Missed', then a formula for something is
\begin{equation}
\sum_{i=0}^{n}\frac{\left(\omega_MM_i+\omega_PP_i+\omega_TT_i\right)\omega_i}{n}
\end{equation}

The formula for something is
\begin{equation}
\sum_{i=0}^{n}\frac{\left(\omega_MM_i+\omega_PP_i+\omega_TT_i\right)\omega_i}{n}
\end{equation}
where $n$ is the number of weeks, and $M$ represents `Missed'.

\end{document}