Boxing and spacing problems

Trying to set up the following magic square using boxing.

The square is: 16 02 03 13

....................05 11 10 08

....................09 07 06 12

....................04 14 15 01

The first problem is that I want to set up the entire square inside of one box using the \box function instead of using several boxes. Various things happen except what I want. For example when I try:

\boxed {16\ 02\ 03\ 13\

05\ 11\ 10\ 08}, I get:

which isn't what I want and when I try:

\boxed {16\ 02\ 03\ 13\\

05\ 11\ 10\ 08}, I get:

The other problem is with the spacing as I can only get up to one space between the characters. Any suggestions?

Much work remains to be done

Quote:

Originally Posted by

**Unknown008** I would use the table function then.

\begin{array}{|c|c|c|}\hline

16 & 02 & 03 \\ \hline

05 & 11 & 10 \\ \hline

09 & 07 & 06 \\ \hline

\end{array}

\begin{array} \end{array} mark the start and the end of the table.

{c} denotes the number of columns. In my example, I have 3 c's and hence, 3 columns

{|c|} would mean one column sandwiched between two vertical lines. If I put {|c} then, I would have only one vertical line on the left.

& switches column

\\ as you know changes row

\hline I think means headline or something similar which inserts an upper horizontal line above the row.

I've discovered the array command before you reached me.

The horizontal and vertical lines are a nice touch which I also have to test out along with the box command.

The reason why I'm going through all this is that when I do a preview with Hotmail (which I use for testing purposes), I'm not getting wysiwig so I figured that boxing the numbers would hold them steady.

Thanks