Alan Quatermain

The Tumblog of one Jim Dovey, iOS Software Chief Architect at Kobo in Toronto, Ontario.
He Twitters, he has an , and can occasionally be found on LinkedIn or Facebook.
If you have a query, you can ask it here.

This blog contains personal opinions, and is not endorsed by any company.

109106949
Edit: Per the addendum to the previous article, I’ve updated the result here to use abs(y) instead of just (y)
So, after trying to type math properly using HTML for the last post, I really got to missing LaTeX. So I did the same thing in LaTeX too—and this is the source for it all:
\documentclass{amsart}

\usepackage{amssymb}

\begin{document}

Pythagoras' theorem: $x = \sqrt{y^{2} + z^{2}}$

So where $y = z$ we have:
\begin {eqnarray*}
	x = \sqrt{y^{2} + y^{2}} \\
	\therefore x = \sqrt{2y^{2}} \\
	\therefore x = \sqrt{2} \sqrt{y^{2}} \\
	\therefore x = \sqrt{2} abs(y)
\end{eqnarray*}

\end{document}
Lovely, isn’t it?

Edit: Per the addendum to the previous article, I’ve updated the result here to use abs(y) instead of just (y)

So, after trying to type math properly using HTML for the last post, I really got to missing LaTeX. So I did the same thing in LaTeX too—and this is the source for it all:

\documentclass{amsart}

\usepackage{amssymb}

\begin{document}

Pythagoras' theorem: $x = \sqrt{y^{2} + z^{2}}$

So where $y = z$ we have:
\begin {eqnarray*}
	x = \sqrt{y^{2} + y^{2}} \\
	\therefore x = \sqrt{2y^{2}} \\
	\therefore x = \sqrt{2} \sqrt{y^{2}} \\
	\therefore x = \sqrt{2} abs(y)
\end{eqnarray*}

\end{document}

Lovely, isn’t it?