TeX

Overview

TeX is a typesetting language for producing documents. It is one of the most popular alternatives to WYSIWYG text editors such as Microsoft Word. The language largely resembles a programming language, and is then compiled to produce professional looking documents.

The advantage of TeX typesetting over an editor such as Microsoft Word is the conformity and standardization that comes naturally when writing a document using ‘code’. For example, figures are always labeled correctly and in the same manner, page margins are identical, and bibliographic references are identical and always match correctly with the reference. The large disadvantage with TeX typesetting is the lack of instant feedback (although there are some packages that now support live feedback), and the complexity in understanding and knowing how to write in the TeX language.

There is a difference between a TeX distribution and a TeX editor.

TeX Distributions

  • LaTeX (my favourite)

TeX Editors

  • MiKTeK
  • TeXnicCenter

Latex Reference Guides

A good Latex symbol reference guide can be found on the University of Colorado’s website, called ‘Latex Mathematical Symbols’.

MathJAX

Operator Description Example See Also
\dfrac{x}{y} Prints a fraction, in display mode (normally larger than \frac{}).  \dfrac{x}{y} \frac{x}{y}
\frac{x}{y} Prints a fraction.  \frac{x}{y} \dfrac{x}{y}
\text{This is normal text.} Print normal text (not math-style text). This also means spaces are preserved.  \text{This is normal text.} \\ This is maths text.  

Example Code

$$ I_{\alpha\beta\gamma} = TI_{abc} = \frac{2}{3} \begin{bmatrix} 1 & -\frac{1}{2} & -\frac{1}{2} \\ 0 & \frac{\sqrt{3}}{2} & -\frac{\sqrt{3}}{2} \\ \frac{1}{2} & \frac{1}{2} & \frac{1}{2} \end{bmatrix} \begin{bmatrix} I_a \\ I_b \\ I_c \end{bmatrix} \text{(unsimplified Clarke transform)}\\ \\ $$