Introduction
is software used for preparing documents with excellent support for including Mathematics.
It can be used for making diagrams, writing exams and booklets, or preparing slides.
It is not a word processor like MS Word or Google docs! Rather than typing into a What You See Is What You Get (WYSIWYG) editor, you type plain text which is exported to a .pdf
when compiled.
For example,
- Hello World!
- Deriving Quadratic Formula
\documentclass[a4paper]{article}
\begin{document}
Hello World!
\end{document}
Results in the following:
\documentclass[a4paper]{article}
\usepackage{amsmath}
\begin{document}
\[
\begin{aligned}
ax^2+bx+c&=0\\
x^2+\frac{b}{a}x+\frac{c}{a}&=0\\
x^2+\frac{b}{a}x&=-\frac{c}{a}\\
x^2+\frac{b}{a}x+\left(\frac{b}{2a}\right)^2&=-\frac{c}{a}+\left(\frac{b}{2a}\right)^2\\
\left(x+\frac{b}{2a}\right)^2&=\frac{b^2-4ac}{4a^2}\\
x+\frac{b}{2a}&=\pm\sqrt{\frac{b^2-4ac}{4a^2}}\\
x+\frac{b}{2a}&=\pm\frac{\sqrt{b^2-4ac}}{2a}\\
x&=\frac{-b\pm\sqrt{b^2-4ac}}{2a}
\end{aligned}
\]
\end{document}
Results in the following: