# How can I “prettify” complex equation systems in MathJax / $\TeX$?

I have the problem that I want to use a (long) equation chain to show the relation between two statements.

How do I do that?

• – SEJPM Dec 20 '16 at 16:52

The simplest way is to just use $<YOUR EQUATION HERE>$ like in this example $f(x)=x^2$ ($f(x)=x^2$). This is also called text-mode math, because things like $\bigoplus_a^b$ put the $a$ and $b$ on the right side instead of above and below. This is what you should use whenever you just need a simple equation "on the go".

The next more "fancy" way is to use "displaymode", which can be used by $$<YOUR EQUATION HERE>$$, example: $$$$f(x)=x^2$$$$ It is also possible to use $$f(x)=x^2$$ ($$<YOUR MATH STUFF HERE>$$) if you prefer the more $\LaTeX$ way of doing things. You should use this mode whenever you have some result that you want to emphasize.

The last interesting tool is "aligned displaymode". \begin{align}f(x)&=x^2\\&=x^3\end{align} is an example for this mode. You can use it via

\begin{align}
<LEFT-SIDE> & <RIGHT-SIDE> \\  % this would be "f(x) & = x^2"
[<LEFT-SIDE>] & <RIGHT-SIDE>\\ % this would be "& = x^3"
[<LEFT-SIDE> & <RIGHT-SIDE>]
\end{align}

• FYI: I put my answer on the other question into community wiki - I was always planning to do that but it somehow got reverted back during the editing process. Just an idea by the way - I've already voted up :) – Maarten Bodewes Dec 20 '16 at 18:57
• @MaartenBodewes converted as well. I was just following your lead on this one ;) (and also forgot it once I was done) – SEJPM Dec 20 '16 at 19:02