Instructor: Robert Hanson
email: email@example.com (this is the best way to contact me)
Office Phone: TBA
Office Hours: By appointment
This page is a short tutorial on how to TeX your homework assignments for this course.
Log in to one of the math department computers. Then open a terminal window (look under Applications > Utilities > Terminal).
Next, you should create a directory for your homework assignments. At the command prompt (which might say something like "1 sunbeam >") type:
Now you have made a directory called 3220 and are in that directory.
It might be a good idea to learn how to copy, move, and delete files. The commands are cp, mv, and rm. To see a help file on a particular command, copying for instance, type man cp. The "man" takes you to the Unix Manual. To get out of the maual, press q.
Below are links to homework templates. Click on the link and save the file in your 3220 directory. Go back to the terminal window and type:
gedit HW1.tex &
The "&" tells the computer to run it in the background, so you can still do stuff in the terminal window. You can now edit the .tex file in the gedit window.
When you are ready to compile the file, go to the command line in the terminal window and type:
A dialog box should pop up. Click on the button [LaTeX]. Look in the terminal window for messages from DoLaTeX. If there is an error, it will tell you where the error is, and what it thinks might need to be done about it.
When you are able to compile your file error-free, click on the button [View DVI] to preview your document. This is a good way to check that what you wanted to come out on the page actually is coming out on the page. The downside is that it won't show you any figures you have included (it will show you where they are on the page, though).
When the document looks like you want it to look, go to the terminal window and type:
This will convert your .dvi file into a .pdf file. You can now view and print this file using Adobe Acrobat.
You will need to have the file "FILE.eps" in the same directory as your LaTeX document. To create this file, use whatever graphics program you find most convenient for the particular figure, or scan in a hand drawing, and then use that graphics program to Export the file as an Encapsulated Postscript (.EPS).