Lab 6: Working with LaTeX
In this lab we will practice writing LaTeX documents.
Producing a document in LaTeX is an iterative process.
You type something into a ".tex" file and try to compile it using the latex command (I will demonstrate).
If there are don't get any TeX errors, then you can view your document with Yap to see how it looks (you look at the corresponding ".dvi" file). If you dislike some aspect of it, you can go 'back to the drawing board' so to speak. This is the second stage of getting it right.
The first stage occurs if you do get a TeX error (and you almost always do, especially in the beginning!). When TeX complains about your error, you can type "r", and TeX will attempt to finish processing your file, errors and all. Then you can look at the errors in the ".log" file created by TeX and try to interpret them for use in debugging.. Unfortunately the error messages are not as informative as one would like. Another help in debugging is to view the ".dvi" file and see if it holds any clues to what is wrong.
Once your file is debugged you need to run the "latex"
program on it twice in order to get the references (equation numbers,
theorem numbers, etc.) correct. This is because the numbering system in
LaTeX is a 2-pass system.
After typing the practice document, I would like
to see a sampleof your work from another class--about 1 page--anything
with a fair amount of formulas in it.
You will probably need to make substantial use the book First Steps in laTeX by George Gratzer. Colaboration is encouraged to the extent of looking at what others have done, but please no file sharing. In particular, a list of command characters for math symbols starts on P 93.
TeX is a wonderful tool but is famous for it's steep learning
curve! Don't get discouraged if you find it hard at first. Also please
don't hesitate to ask for assistance.