Why isn't this working to create a table: [ m ath] \begin{center}
\begin{tabular}{ l | c || r | }
\hline
1 & 2 & 3 \\ \hline
4 & 5 & 6 \\ \hline
7 & 8 & 9 \\
\hline
\end{tabular}
\end{center} [/ ma th]
Note the spaces are there on purpose.
Why isn't this working to create a table: [ m ath] \begin{center}
\begin{tabular}{ l | c || r | }
\hline
1 & 2 & 3 \\ \hline
4 & 5 & 6 \\ \hline
7 & 8 & 9 \\
\hline
\end{tabular}
\end{center} [/ ma th]
Note the spaces are there on purpose.
If you want to centre a mathematical expression, you can surround the math with BB code "center" tags:
[center]
[tex] \begin{tabular}{ l | c || r | }
\hline
1 & 2 & 3 \\ \hline
4 & 5 & 6 \\ \hline
7 & 8 & 9 \\
\hline
\end{tabular}[/tex]
[/center]
(But the table would look better if you put an extra | at the start of the column specification: {| l | c || r | }.)