Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.
What are the latex methods I should use for rendering a matrix in an MO question?
It seems use of an array would give a garbled output.
$\begin{array}{ll} d & t \ \ d & g \ \ 4 & 5 \end{array}$ renders d g d t 4 5 in one line.
Note: Here \ \ actually stands for two backslashes without a space. But if I type it that way it is not rendered properly in meta.
Thanks Harry. This was helpful.
Rather than escaping one backslash, I prefer to enclose the whole thing in backquotes:
`$\begin{array}{ll} d & t \\ d & g \\ 4 & 5 \end{array}$`
This tells the Markdown engine to regard the whole thing as code, so none of the special characters do anything weird (in particular, you don't have to escape anything).
Actually, I think I can have it done automatically by the editor without generating a giant amount of code for me to maintain. I'll try to do it some time soon (I do have real life to work on too). Daniel LeCheminant has done something like that at http://math-preview.stackexchange.com/, but I can't stomach the amount of code that he used to do all those things.
Markdown does still look at the contents of code blocks and does do some escaping so I wouldn't consider the backticks method completely safe. What is completely safe is to enclose a paragraph with 'p' tags. Markdown doesn't look inside those at all.
1 to 5 of 5