2
$\begingroup$

How can I enable other LaTeX functions to write formatted answers here in Math.SE?

Tried, for example, to use an array

\begin{array}{cc} \text{x[0]$\to $} & 1.000000000 \ \text{x[1]$\to $} & 0.6839397206 \ \text{x[2]$\to $} & 0.5774544772 \ \text{x[3]$\to $} & 0.5672297377 \ \text{x[4]$\to $} & 0.5671432965 \ \text{x[5]$\to $} & 0.5671432904 \end{array}

\begin{enumerate} \item Item 1 \end{enumerate}

But it didn't work very well. Enumerate too. I think it is useful to write math too. Is there a way to enable the array and enumerate commands or is it always necessary to make figures?

If figures are always needed, how can I ask to change it?

$\endgroup$
9
$\begingroup$

There is no TeX implementation at work which could be interpreting the LaTeX code, it is just some JavaScript library (MathJax) who interprets a syntax which looks like LaTeX's math mode (and which only interprets the bits between $). It also doesn't support everything which LaTeX supports there (for example, no definitions of new commands, no conditionals, etc.)

So, no writing of whole articles in LaTeX here.

For text formatting (like enumerations), just use the Markdown syntax:

1. Item 1
2. Item 2
  1. Item 1
  2. Item 2
$\endgroup$
  • 4
    $\begingroup$ Actually, \newcommand and \DeclareMathOperator work, $\newcommand{\Ext}[3]{{\rm Ext}^#1(#2,#3)}$ $\Ext{1}{A}{B}$ gives $\newcommand{\Ext}[3]{{\rm Ext}^#1(#2,#3)}$ $\Ext{1}{A}{B}$ (not that I recommend using such a construction but I couldn't think of anything better at the moment) $\endgroup$ – t.b. Oct 29 '11 at 16:06
  • $\begingroup$ Is this missing a `\`? Interesting, though. $\endgroup$ – Paŭlo Ebermann Oct 29 '11 at 16:09
  • $\begingroup$ I just tried and the backslash doesn't seem to matter, but you're right it's better now... $\endgroup$ – t.b. Oct 29 '11 at 16:11
  • $\begingroup$ Testing...$\newcommand{\Ext}[3]{{\rm Ext}^#1(#2,#3)}$ $\Ext{1}{A}{B}$...very interesting. Thanks. $\endgroup$ – GarouDan Oct 31 '11 at 19:02
  • $\begingroup$ @t.b., that's interesting. It doesn't treat each math mode block as separate entities? For some reason, I thought it would and have not tried to create a command early on and reuse it. That serves me right, for not testing it out. Thanks. $\endgroup$ – rcollyer Nov 4 '11 at 16:17
6
$\begingroup$

If the $\LaTeX$ command you want isn't in this list, you can't use it. See this FAQ item as well.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .