home - about - schedule - assignments - latex - handouts - references - Renate Scheidler |

LaTeX |

LaTeX is a powerful typesetting program that is particularly suited for typesetting mathematical symbols. The textbook for our course was written in LaTeX, for example. You should use LaTeX to write your solutions to the assignments.

Good free LaTeX downloads can be obtained from the following sites:

- TeX Live: www.tug.org/texlive/
- MiKTeX: miktex.org

Here are some useful resources on Latex:

- The very short guide to typesetting with LaTeX
- The not so short introduction to LATEX 2e
- AMS Latex reference card
- Sebastian Lindnder's LaTeX tutorial
- Latex Wikibook

- Assignment class file - assignment.cls (CPSC) (PMAT)
- Assignment template file - assignment.tex (CPSC) (PMAT)
- Sample assignment source file - sample.tex (CPSC) (PMAT)
- PDF of sample assignment - sample.pdf (CPSC) (PMAT)

** Some basic LaTeX tips:**

- Short expressions can be written inline.
- Long expressions should be centered on a new line using display math, i.e. inside \[ ... \]
- Expressions with several equalities should be split up into several lines, preferably with equalities aligned, using the "align" or the "eqnarray" environment.
- Variables within a sentence should be typeset in math mode, i.e. inside $...$.
- Use the "\frac" command to typeset fractions in displaymath.
- Use "\log" and "\ln" instead of "log" and "ln" for logarithms in math mode.
- The "\text" or "\mbox" command can be used in math mode if you want to write words unitalicized and separated by spaces.
- Importantly, don't leave LaTeX'ing your assignments till the last minute. LaTeX is a programming language, so debugging LaTeX soure files -- just like debuggging any programming code -- takes time.
- Most important of all,
**proof-read your PDF files before submitting them!**

Last modified by Renate Scheidler

http://people.ucalgary.ca/~rscheidl/418/latex.html