# Formatting Sandbox I: please test stuff here [duplicate]

This question already has an answer here:

This thread has been retired due to the large number of posts. The newest sandbox can be found here:

Formatting Sandbox II: please test stuff here

What the title says.

Use this for testing stuff instead of bumping random posts to the mainspace a million times.

## marked as duplicate by Martin - マーチン♦Jan 13 '16 at 14:02

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

• This is some darn great gibberish. – Jivings Jul 15 '12 at 0:30
• This question appears to be off-topic because it is about – ManishEarth Jun 28 '13 at 13:31
• What exactly is the OPs question here? I vote to close this. XD – LordStryker Feb 6 '14 at 16:50
• @LordStryker glares, fingers stray towards the "send a bobcat via post" moderator tool – ManishEarth Feb 6 '14 at 20:26
• $\LaTeX$ ...... – bon May 13 '15 at 20:00
• $\frac{1}{2}=0.5$ – pH13 - Yet another Philipp Jun 30 '15 at 21:30
• Chemistry Physics Mathematics Seasoned Advice [chemistry.SE] [physics.SE] [math.SE] [Cooking.SE] – M.A.R. ಠ_ಠ Aug 28 '15 at 19:43
• $%I'm a cool guy.$ – M.A.R. ಠ_ಠ Oct 27 '15 at 20:19
• @Ϻ.Λ.Ʀ. $\mathrm{Ina}\in c_0{}^0L$ ? – Martin - マーチン Dec 3 '15 at 4:47

## 28 Answers

$\textrm{UP UP AND AWA}^{ \textrm{a} ^{\textrm{a}^{\textrm{a}^{\textrm{a}^{\textrm{a} ^{\textrm{a}^{\textrm{a}^{\textrm{a}^{\textrm{a} ^{\textrm{a}^{\textrm{a}^{\textrm{a}^{\textrm{a} ^{\textrm{a}^{\textrm{a}^{\textrm{a}^{\textrm{a} ^{\textrm{a}^{\textrm{a}^{\textrm{a}^{\textrm{a} ^{\textrm{a}^{\textrm{a}^{\textrm{a}^{\textrm{a} ^{\textrm{a}^{\textrm{a}^{\textrm{a}^{\textrm{a} ^{\textrm{a}^{\textrm{a}^{\textrm{a}^{\textrm{a} ^{\textrm{a}^{\textrm{a}^{\textrm{a}^{\textrm{a} ^{\textrm{a}^{\textrm{a}^{\textrm{a}^{\textrm{a} ^{\textrm{a}^{\textrm{a}^{\textrm{a}^{\textrm{a} ^{\textrm{a}^{\textrm{a}^{\textrm{a}^{\textrm{a} ^{\textrm{y}^{\textrm{y}^{\textrm{y}^{\textrm{y} ^{\textrm{y}^{\textrm{y}^{\textrm{y}^{\textrm{y} ^{\textrm{y}^{\textrm{y}^{\textrm{y}^{\textrm{y} ^{\textrm{y}^{\textrm{y}^{\textrm{y}^{\textrm{y} ^{\textrm{y}^{\textrm{y}^{\textrm{y}^{\textrm{y} ^{\textrm{y}^{\textrm{y}^{\textrm{y}^{\textrm{y} ^{\textrm{y}^{\textrm{y}^{\textrm{y}^{\textrm{y} ^{\textrm{y}^{\textrm{y}^{\textrm{y}^{\textrm{y} ^{\textrm{y}^{\textrm{y}^{\textrm{y}^{\textrm{y} ^{\textrm{y}^{\textrm{y}^{\textrm{y}^{\textrm{y} ^{\textrm{!}^{\textrm{!}^{\textrm{!}^{\textrm{!} ^{\textrm{!}^{\textrm{!}^{\textrm{!}^{\textrm{!} ^{\textrm{!}^{\textrm{!}^{\textrm{!}^{\textrm{!} ^{\textrm{!}^{\textrm{!}^{\textrm{!}^{\textrm{!} ^{\textrm{!}^{\textrm{!}^{\textrm{!}^{\textrm{!} ^{\textrm{!}^{\textrm{!}^{\textrm{!}^{\textrm{!} ^{\textrm{!}^{\textrm{!}^{\textrm{!}^{\textrm{!} ^{\textrm{!}^{\textrm{!}^{\textrm{!}^{\textrm{!} ^{\textrm{!}^{\textrm{!}^{\textrm{!}^{\textrm{!} }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}_{ \textrm{a} _{\textrm{a}_{\textrm{a}_{\textrm{a}_{\textrm{a} _{\textrm{a}_{\textrm{a}_{\textrm{a}_{\textrm{a} _{\textrm{a}_{\textrm{a}_{\textrm{a}_{\textrm{a} _{\textrm{a}_{\textrm{a}_{\textrm{a}_{\textrm{a} _{\textrm{a}_{\textrm{a}_{\textrm{a}_{\textrm{a} _{\textrm{a}_{\textrm{a}_{\textrm{a}_{\textrm{a} _{\textrm{a}_{\textrm{a}_{\textrm{a}_{\textrm{a} _{\textrm{a}_{\textrm{a}_{\textrm{a}_{\textrm{a} _{\textrm{a}_{\textrm{a}_{\textrm{a}_{\textrm{a} _{\textrm{a}_{\textrm{a}_{\textrm{a}_{\textrm{a} _{\textrm{a}_{\textrm{a}_{\textrm{a}_{\textrm{a} _{\textrm{a}_{\textrm{a}_{\textrm{a}_{\textrm{a} _{\textrm{y}_{\textrm{y}_{\textrm{y}_{\textrm{y} _{\textrm{y}_{\textrm{y}_{\textrm{y}_{\textrm{y} _{\textrm{y}_{\textrm{y}_{\textrm{y}_{\textrm{y} _{\textrm{y}_{\textrm{y}_{\textrm{y}_{\textrm{y} _{\textrm{y}_{\textrm{y}_{\textrm{y}_{\textrm{y} _{\textrm{y}_{\textrm{y}_{\textrm{y}_{\textrm{y} _{\textrm{y}_{\textrm{y}_{\textrm{y}_{\textrm{y} _{\textrm{y}_{\textrm{y}_{\textrm{y}_{\textrm{y} _{\textrm{y}_{\textrm{y}_{\textrm{y}_{\textrm{y} _{\textrm{y}_{\textrm{y}_{\textrm{y}_{\textrm{y} _{\textrm{!}_{\textrm{!}_{\textrm{!}_{\textrm{!} _{\textrm{!}_{\textrm{!}_{\textrm{!}_{\textrm{!} _{\textrm{!}_{\textrm{!}_{\textrm{!}_{\textrm{!} _{\textrm{!}_{\textrm{!}_{\textrm{!}_{\textrm{!} _{\textrm{!}_{\textrm{!}_{\textrm{!}_{\textrm{!} _{\textrm{!}_{\textrm{!}_{\textrm{!}_{\textrm{!} _{\textrm{!}_{\textrm{!}_{\textrm{!}_{\textrm{!} _{\textrm{!}_{\textrm{!}_{\textrm{!}_{\textrm{!} _{\textrm{!}_{\textrm{!}_{\textrm{!}_{\textrm{!} }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}$

And now we know ^ and _ is supported to at least 140 levels.

• why? why? oh the humanity! :P – ManishEarth Feb 6 '14 at 23:34
• @ManishEarth Must we go deeper? – LordStryker Feb 7 '14 at 15:35

How to make a table in LaTeX:

\begin{array}{|c|c|c|c|}\hline Alcolic \space beverage & Carboydrate \space content(\%) & pH \\ \hline Beer & 3.0-5.0 & 4.1-4.5 \\ \hline Wine & 0.0-12.9 & 2.8-3.8 \\ \hline Sweet \space liquor & 30.0-31.0 & 3.3-3.9 \\ \hline Strong \space alcohol & 0.0-1.2 & 6.5-6.9\\ \hline Vodka & very \space few & 6.0-7.0 \\ \hline Coca Cola & 10.6(?) & 2.8\\ \hline \end{array}

How to make the table look like it wasn't done in math mode (considerably more code, but nicer output) and also give it a slightly cleaner look: $$\small \begin{array}{lcc} \hline \text{Beverage} & \text{Carbohydrate Content (%)} & \text{pH} \\ \hline \text{Beer} & 3.0-5.0 & 4.1-4.5 \\ \text{Wine} & 0.0-12.9 & 2.8-3.8 \\ \text{Sweet liquor } & 30.0-31.0 & 3.3-3.9 \\ \text{Strong alcohol} & 0.0-1.2 & 6.5-6.9 \\ \text{Vodka} & \text{very little} & 6.0-7.0 \\ \text{Coca Cola} & 10.6(?) & 2.8 \\ \hline \end{array}$$

Align at point:
Define for easier typsetting \newcommand{\d}[2]{#1.&\hspace{-1em}#2}
and use in table 1.23 as \d{1}{23}

$$\newcommand{\d}[2]{#1.&\hspace{-1em}#2} \begin{array}{lrl} \hline \text{Beverage} & \text{Nomnom}&\hspace{-1em}\text{-factor} \\ \hline \text{Beer} & 100.&\hspace{-1em}000 \\ \text{Wine} & 23.&\hspace{-1em}4567\\ \text{Cola stuff} & 1.&\hspace{-1em}23\\ \text{Coffee} & 66.&\hspace{-1em}6\\ \text{Tea (black)}&\d{0}{3}\\ \hline \end{array}$$

The mhchem package is not enabled on StackPrinter? Testcode:

$$\ce{2H2 + O2 -> 2H2O}$$

$$\ce{2H2 + O2 -> 2H2O}$$

Enable mhchemmanually via $\require{mhchem}$ $\require{mhchem}$ and try again: $$\ce{2H2 + O2 -> 2H2O}$$

$\mathcal{M}_{ath}\mathrm{J^{a}X}\neq\LaTeX$

Operation Broken Arrow

$$\require{cancel}\ce{\bcancel{->}\cancel{->}\xcancel{->}}$$ $$%\require{Extpfeil}\Newextarrow{\xrightharpoonup}{5,10}{0x21C0}\xrightharpoonup{\not{}}$$ $$\nrightarrow$$ $$\ce{\rlap{~~/\!/}->}$$ $$\def\nnot{\color{red}{\rlap{~~/\!/}}}$$ $$\ce{\nnot->T[water]}$$

$$\begin{multline} E^\ominus(\ce{Fe/Fe^{3+}}) - \frac13\cdot \mathcal{R}T\mathrm{F}^{-1} \ln\frac{\ce{Fe}}{\ce{Fe^{3+}}} = \\ a\cdot\left(E^\ominus(\ce{Fe/Fe^{2+}}) - \frac12\cdot \mathcal{R}T\mathrm{F}^{-1} \ln\frac{\ce{Fe}}{\ce{Fe^{2+}}}\right) \\+ b\cdot\left(E^\ominus(\ce{Fe^{2+}/Fe^{3+}}) - \frac11\cdot \mathcal{R}T\mathrm{F}^{-1} \ln\frac{\ce{Fe^{2+}}}{\ce{Fe^{3+}}}\right) \end{multline}$$

# The Tag Test

\begin{array}{|c|l|c|c|c|}\hline \# & {\small \bf Questions} & {\small \rm \color{green}{Yes}} & {\small \rm \color{#999999}{Partially}} & {\small \rm \color{red}{No}} \\\hline \hline 1&\small\text{Does 'experts on X' make sense?} & & & \\\hline 2&\small\text{Does 'I'm studying X' make sense?} & & & \\\hline 3&\small\text{Would you leave and not retag a question with only X as its tag?}~~~ & & & \\\hline 4&\small\text{Will 'because it's related to X' be the only reason a question is} \\[0pt] &\small\text{ tagged with X?}\,^1~~~~ & & & \\\hline 5&\small\text{Does X have a universally unambiguous meaning?} & & & \\\hline 6&\small\text{Will X not be misinterpreted, just judging by its name?} & & & \\\hline 7&\small\text{Are there many (>15) but not too many}\,^2 \small\text{ questions on the site} \\[0pt] &\small\text{ with the search keyword "X"?}\\\hline 8&\small\text{Will people search using X to find questions to answer?}\\\hline 9&\small\text{Without any personal feelings toward X, will people add it to} \\[0pt] &\small\text{their 'ignored' or 'favorite' tags?} \\\hline 10&\small\text{Can the questions to which X can be applied have other tags} \\[0pt] & \small\text{ reasonably applied as well?}\\\hline\end{array}

Exponents (150)

$x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x^{x}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}$