EDIT: This approach has been deprecated. However, according to the amsmath documentation, page 10: "If you need left or right alignment in a
column or other special formats you must resort to [the] array [environment]." The accepted solution has been provided above.
So, it looks like this works using the array
environment. I am pretty sure this site is supporting specific latex packages (ex. amsmath, etc.) but I don't know which ones. At the end of the day, I am confident that we have a robust system at our fingertips - we just have to figure it out!!
So, the code for matrices appears to be something like this:
$A = \left[ \begin{array}{rrr}
1 & -1 & 1 \\
-1 & 1 & -1 \\
0 & 1 & 2
\end{array} \right]$
$A = \left[ \begin{array}{rrr}
1 & -1 & 1 \\\
-1 & 1 & -1 \\\
0 & 1 & 2
\end{array} \right]$
Notice the {rrr}
after beginning the array environment. This specifies that we will have three columns, each one right-justified (other options should be well known, l=left-justified, c=centered). Also, there is an extra backslash because this rendering software interprets the first one as an escape character.
Thanks to all of those who have worked very hard to get this site up and running with pretty darn good latex support.
[status-bydesign]
. If you can accept the MO behavior, check [ Allow TeXification in <code> tags. ](meta.math.stackexchange.com/questions/551/…). Otherwise, please ask a new question. $\endgroup$