1.3 Using Latex On Elon'S Computers
1.3 Using Latex On Elon'S Computers
1.3 Using Latex On Elon'S Computers
should include them in the preamble, which is what the space between the
\documentclass and \begin{document} commands is called. The body of
the document, where you include all of your text, must occur between the
\begin{document} and \end{document} commands. Any text that comes after
the \end{document} command will be ignored.
1.3 Using LaTeX on Elons Computers
LaTeX consists of several programs:
1. A program latex that processes your input.
2. A program (yap on our computers) that previews and prints your work.
In addition, you need an editor that produces plain text without formatting
commands as well as a good spell-checker.
Jim Beuerle has arranged for all of these programs to be installed on Elons lab
PCs, as well as a program TeXShell to coordinate them.
You can start TeXShell either from a desktop seashell icon (for the machines
in Duke 201, 204, and 209) or from the Start/Courseware/Math menu (for the
lab machines).
To use TexShell, you need to follow the following steps:
1. You should either create a new LaTeX le with File/New or open an
existing LaTeX le with File/Open.
2. You need to designate the main le that you will be working with, since
LaTeX les can include other LaTeX les and the programs need to know
which one to use; a number of secondary les will be created with the
same lename but dierent extensions. Use File/Main File.
3. You should use the main editing screen to enter and revise your work.
4. Always spell-check or your teachers will laugh and/or cry at your work:
use Edit/Spell Check.
5. Press the TeX button to run the LaTeX program on your le. A small
window will open and close during this time; any error messages will show
up there; if successful the window will close itself. If not, you will need to
type an x and hit Enter to close it after reading the error message.
6. If you want to see the warnings and error messages later, press the Log
button.
5