What is LaTeX?

LaTeX is a document-formatting system based on the TeX language. The LaTeX language is a tag-based markup language for typeset documents, just as HTML is a markup language for Web documents. It provides a powerful, relatively easy-to-use, method for preparing large documents which might include tables of contents and figures, several chapters and appendices, index, and references. LaTeX allows these various portions of the document to be created and numbered with minimal fuss, allowing the author to concentrate on the content rather than the formatting of the document. Because of its extensive mathematical formatting structures, it has also become a publishing standard for scientific and mathematical publications.

LaTeX is implemented by a number of programs that work together to produce a typeset document. These programs include a text file editor of your choice, the latex and pdflatex processors that interpret the markup and formats pages of output, document previewers, and various post-processors that convert intermediate device-independent (DVI) output into Postscript, PDF, or other formats.

Where can I find LaTeX?

LaTeX as a web (cloud) service

The simplest and most convenient way to use LaTeX is through a web (cloud) service. The service takes care of running LaTeX for you and provides storage for your documents. Perhaps the most useful features of running LaTeX in the cloud are:

Starting in September 2018, UW entered into a site license with Overleaf, a leading cloud provider. This agreement provides UW graduate students, staff and faculty with Pro+ accounts. Sign up via UW's Overleaf portal. Undergraduate students are not part of this site license, but they can still get free, but less feature-rich accounts through Overleaf's home page (first link above).

Installing your own copy of LaTeX

LaTeX is based on open-source code, so is available on most computing platforms as free software. Like Linux, there are various “distributions” of LaTeX. These distributions package up, in various configurations, the suite of programs that make up LaTeX.

There are also some commercial versions of LaTeX. These usually provide some kind of editor or graphical user interface, and integrate the various programs that make up a distribution. Scientific Workplace is a commercial program for Windows that provides a quasi-WYSIWYG (what you see is what you get) interface to LaTeX, and so does a good job of hiding the LaTeX markup from the user. This is fine until you have a problem. We believe it's a good idea to understand how LaTeX works first. So if you use Scientific Workplace, please also review the LaTeX course notes. This same advice holds for LyX, a program similar to Scientific Workplace that is available (for free) on Linux systems. Use of SWP and LyX also make collaboration with other LaTeX users more difficult because they require exporting to, and importing from, standard LaTeX format. It's better to collaborate in a cloud service such as Overleaf.

Of the various types of editors for LaTeX, we recommend Texmaker, or its non-free cousin WinEdt. These editors provide quick access to the various LaTeX commands through drop-down menus and simple interfaces for creating the tricker structures like equations, tables, etc., while not hiding the LaTeX markup. They also provide one-click buttons for processing your document into PS or PDF (once properly configured).

The main repository of TeX and LaTeX source files and packages is the Comprehensive TeX Archive Network (CTAN).

University of Waterloo template

Thesis template files

The University of Waterloo LaTeX thesis template consists of a number of plain text files. Keep the files in the same folder and process the uw-ethesis.tex master document with "pdflatex" and "bibtex" programs in your LaTeX distribution.

Free LaTeX Wikibook

Who wouldn't want a free LaTeX reference book?

PowerPoint-style presentations with LaTeX

Why waste time re-typing equations in PowerPoint? Try using the Beamer document class to create slide presentations. Beamer is also available in Overleaf and at the Comprehensive TeX Archive Net­work (CTAN) repository.

Scientific workplace (SWP): A commercial LaTeX front-end

SWP is no longer actively distributed or supported at the University of Waterloo.

Processing your LaTeX documents

When using an editor such as TeXmaker, WinEdt, TeXShop, TeXworks, etc., installed on your computer, place all of your .tex and .bib files in the same folder, then run pdflatex on your "master" .tex document. Then run other auxiliary programs: bibtex and makeindex that are used to process your bibliography, glossaries and index (if used). Then run pdflatex several more times until all numbering and cross-references warnings are resolved.