# Formatting Sandbox

Basically the same as Formatting Sandbox in Meta Stack Exchange, but since this and Statistical Analysis are the only two sites (I know) supporting $\TeX$ formatting, I believe we also need one here for testing it.

• Theoretical computer science also supports $\mathrm{\TeX/\LaTeX}$ formatting. – JeffE Jun 1 '12 at 7:29
• @JeffE: You can use $\TeX$ and $\LaTeX$ (\Tex and \LaTeX) for the text. – Asaf Karagila Jun 2 '12 at 21:09
• @JeffE: In 2010 only 'stats' and 'math' support TeX formatting. Of course now there is also 'cstheory', 'cs', 'chemistry', 'quant', etc. – kennytm Jun 3 '12 at 6:25
• test \begin{align*}\text{middle line}\end{align*} new line – Ruslan Jan 30 '14 at 13:06
• test test $\not\in(1)\notin(2)$ Who's better??? – user93957 Jan 31 '14 at 22:25
• $m^n + m^x + m^n = 555555$ test test – hichris123 Feb 2 '14 at 19:09
• line $\begin{array}\phantom{i}\\\phantom{i} \end{array}$ line2 – Number Apr 18 '14 at 15:15
• quotes test ${}=\text{’’}$ – Ruslan Oct 25 '17 at 11:13
• $a=\!\!\text{’’}b$ – Ruslan Oct 25 '17 at 11:17

A suggestion: if you want to see you TeX previewed, pretend to type your question/answer. Then wait for 4 seconds. We have on the fly previewing for LaTeX here. This way we don't keep popping this question to the top of meta.

• May be this (and the main sandbox) should be made special unbumpable question? – Vi0 Aug 24 '12 at 15:06
• Except that there's no preview for comments. – shoover Sep 24 '14 at 18:22
• and no preview for bounty texts... – draks ... Mar 15 '17 at 7:35
• is it bold two times – Apass.Jack Aug 8 at 14:16

Testing alternate way of implementing spoiler

$$\require{action} \require{enclose} \toggle{ x\cdot 0 = 0\quad\enclose{roundedbox}{\text{ Click this for derivation }} }{ \begin{array}{rll} x\cdot 0 &= \mathtip{x\cdot 0 + 0}{0 \text{ is additive identity}} \\ &= \mathtip{x\cdot 0 + (x\cdot 0 + -(x\cdot 0))}{ -(x\cdot 0) \text{ is additive inverse of } x\cdot 0}\\ &= \mathtip{(x\cdot 0 + x\cdot 0) + -(x\cdot 0)}{ \text{ addition is associative }\;}\\ &= \mathtip{x\cdot(0 + 0) + -(x\cdot 0) }{ \text{ mulitplication is distributive }\;}\\ &= \mathtip{x\cdot 0 + -(x\cdot 0) }{ 0 \text{ is additive identity}} \\ &= \mathtip{0}{ -(x\cdot 0) \text{ is additive inverse of } x\cdot 0} \end{array} \quad\quad \bbox[4pt,border: 1px solid red]{ \begin{array}{l} \text{If you cannot figure out why a line}\\ \text{is true, move your mouse over}\\ \text{RHS of that line for hint.} \end{array}} }\endtoggle$$