1
$\begingroup$

Yesterday I posted a question here followed by a Post Script. How do I align the equations in the Post Script by the "=" signs, just like "someone you know" did when responding to me? The following is the equations' code:

S_1 = {hgh^{-1}g^{-1} \mid h \in H }
= {hg (g^{n-1})(g^{n-1})^{-1}h^{-1}g^{-1} \mid h \in H }
= {h(g g^{n-1})(g^{n-1})^{-1}h^{-1}g^{-1} \mid h \in H }
= {hg^n(g^{n-1})^{-1}h^{-1}g^{-1} \mid h \in H }

Thank you for your time and happy holidays to all.

$\endgroup$
1
4
$\begingroup$

If you see any MathJax code on this site, you can right click and choose "Show Math As/TeX Commands".

Show Math As

(The picture is taken from this answer on http://meta.physics.stackexchange.com. See also demo on MathJax website.)

In this particular case, you will get

\begin{align*}
S_1&=\{hgh^{-1}g^{-1}:h\in H\}\\
S_2&=\{hkh^{-1}k^{-1}:h\in H,k\in\langle g\rangle\}=\{hg^nh^{-1}g^{-n}:h\in H, n\in\mathbb{Z}\}
\end{align*}

$\begin{align*} S_1&=\{hgh^{-1}g^{-1}:h\in H\}\\ S_2&=\{hkh^{-1}k^{-1}:h\in H,k\in\langle g\rangle\}=\{hg^nh^{-1}g^{-n}:h\in H, n\in\mathbb{Z}\} \end{align*}$

$\endgroup$
1
  • $\begingroup$ Awesome! Thank you very much! $\endgroup$ – A.Magnus Dec 24 '14 at 14:24

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