I am trying to use the cases construct within a table. I tried to follow this example. When I copy paste the entire example, it compiles without an error.
But when I try to reproduce it, I get immediately into trouble:
\documentclass{article}
\begin{document}
\begin{table}
\begin{tabular}{c}
\hline
\[ e \] \\
\hline
\end{tabular}
\end{table}
\end{document}
Bad math environment delimiter [ e ].
What am I doing wrong?