# \binom in a table?

• February 19th 2011, 02:18 AM
tom@ballooncalculus
\binom in a table?
$\begin{tabular}{|l|l|l|l|}
\hline
stuff & \binom{7}{5} & stuff & stuff \\ \hline
stuff & stuff & stuff & stuff \\
stuff & stuff & stuff & stuff \\
stuff & stuff & stuff & stuff \\
\hline
\end{tabular}$

\begin{tabular}{|l|l|l|l|}
\hline
W & \binom{7}{5} & M & stuff \\ \hline
stuff & stuff & stuff & stuff \\
stuff & stuff & stuff & stuff \\
stuff & stuff & stuff & stuff \\
\hline
\end{tabular}

?

Thanks...
• February 19th 2011, 03:42 AM
Opalg
Table entries in the tabular environment are treated as text, not mathemetics. If you want to include math expressions, you need to enclose them in s:

\begin{tabular}{|l|l|l|l|}
\hline
W & $\binom{7}{5}$ & M & stuff \\ \hline
stuff & stuff & stuff & stuff \\
stuff & stuff & stuff & stuff \\
stuff & stuff & stuff & stuff \\
\hline
\end{tabular}

$\begin{tabular}{|l|l|l|l|}
\hline
W & \binom{7}{5} & M & stuff \\ \hline
stuff & stuff & stuff & stuff \\
stuff & stuff & stuff & stuff \\
stuff & stuff & stuff & stuff \\
\hline
\end{tabular}
$