I need to typeset a matrix with square brackets as delimiters for math.se (I believe they use MathJaX). How would I do that?
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
MathJax seems to accept the standard amsmath syntax
Rows are terminated with |
|||
|
|
|
MathJax comes with a configuration file that includes all the most general of the pre-defined configurations. It loads all the important MathJax components, including the TeX and MathML preprocessors and input processors, the AMSmath, AMSsymbols etc. So what you do you write in a similar fashion to a normal TeX file.
Whenever you get stuck do a search on wikipedia and view the equation in the editor tab. Most of the wiki mark-up will work straight with MathJax. |
|||
|
|
$\begin{bmatrix}a\\b\end{bmatrix}$works – egreg Feb 4 '12 at 23:22$\begin{bmatrix}a & b\\c & d\end{bmatrix}$, just like LaTeX with amsmath – egreg Feb 4 '12 at 23:44edit. Here is an old example that I found at a quick glance to my answers while I was active in there and has many matrices in it. – percusse Feb 5 '12 at 2:09