I am trying to add the definitions for my equation in my document. I know this has been asked before and I found a beautiful solution. But it is just not working for me.
This is what I found
\documentclass{article}
\usepackage{amsmath}% http://ctan.org/pkg/amsmath
\usepackage{array}% http://ctan.org/pkg/array
\begin{document}
\begin{gather}
P_{xi}=\overline{U}_x+\sigma_x
\frac{\sum_k^{Nu}D_{kx}\times\left(\frac{S_{ki}-\overline{U}_k}{\sigma_k}\right)}
{\sum_k^{Nu}D_{kx}},
\intertext{Where:}
\begin{tabular}{>{$}r<{$}@{\ :\ }l}
P_{xi} & is the predicted rate for user~$x$ on item~$i$ \ S_{ki} & is the rate of song~$i$ given by user~$k$ \ D_{kx} & the correlation between user~$x$ and user~$k$ \ \overline{U}_x & the average rate over user~$x$ \ \overline{U}_k & the average rate over user~$k$ \ \sigma_x & is the standard deviation of all the rates of user~$x$
\end{tabular}\nonumber
\end{gather}
\end{document}
and this is what I tried to make of it:
\begin{gather}
dN/d(d_{p}) = kd_{p}^{\delta},
\intertext{Where:}
\begin{tabular}{>{$}r<{$}@{\ :\ }l}
dN : number of particles per unit water volume in the size range d p to [d p +d(d p )] \
k : (= constant) depending on the particle concentration \
\delta : (< 0) descriptor of the distributions' spectral slope.
\end{tabular}\nonumber
\end{gather}
If I put the "&", latex tells me, that I don´t have enough columns. Also the "\" is not showing up in red. I think the problem lies in the {>{$}r<{$}@{\ :\ }l} part. But I don´t understand what is going on in this.
Help will be very much appreciated.
Thanks




\documentclassand the appropriate packages so that those trying to help don't have to recreate it. Also, whay are you usingtabularin math mode - you could just usearrayinstead. Or, better still, ust move thetabularout of math mode. – Peter Grill May 05 '17 at 11:05