what do you exactly want to write? a matrix?

Results 1 to 4 of 4

- May 27th 2009, 02:03 PM #1
## Why isn't this.....

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.

- May 27th 2009, 03:55 PM #2

- May 27th 2009, 03:58 PM #3

- Joined
- May 2009
- Posts
- 27

- May 28th 2009, 01:14 AM #4
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 | }.)