Crash Course in LaTeX

What is LaTeX?

TeX (usually pronounced like "tech", not the begining of "tex-mex") is a special-purpose programming language that is the centerpiece of a typesetting system that produces publication quality mathematics (and surrounding text), available to and usable by individuals.

LaTeX (pronounced like "lay tech", not like a glove) is an extension of TeX that makes it easier to use. Specifically, LaTeX adds easy-to-use commands to TeX. You can go your whole life using LaTeX without ever worrying about TeX. (TeX commands are still legal in LaTeX, just in case you want to learn TeX and have even more control over your document.)

TeX and LaTeX are enviromnets for typing structured documents easily.

LaTeX is not...

Extremely brief history: Donald Knuth, patron saint of computer programmers, made it from scratch when he grew frustrated with the quality of tools available to authors of technical material. See "What is TeX? What is Metafont? A bit of history" at the TeX Users Group.

Components: There are essentially three pieces (of software) that comprise LaTeX:

  1. A text editor:
    • Usage: This is what you use to type the document.
    • Examples: Notepad is the text editor most Windows users know. The editor I use every day in Windows is WinEdt (free to try, pay to buy, worth it.) UNIX text editors include nano (comes preloaded with Ubuntu), nedit, emacs, and vi. Macs use TeXShop and other editors.
  2. LaTeX:
    • Usage: This gets your text file as input and creates either a DVI or PDF file as output.
    • Examples: There are a variety of versions, or "distributions," of LaTeX itself. All of them generate the same results; some offer additional fonts or easier installation routines.  The other differences are not important for now. Windows users will probably use MiKTeX. UNIX users will probably not know what package they are using, but it doesn't matter. Mac users have several choices, but MacTeX seems to be a common choice.
  3. A Viewer to look at the DVI or PDF file:
    • Usage: This allows you to view and print the DVI file generated by LaTeX.
    • Examples: You have probably never heard of them.  Windows users will use Yap, which comes with MiKTeX.  UNIX users will probably use xdvi, kdvi, and the like.
Next: Why use LaTeX?