To compose a Latex document all you need is a text editor. (Those of you who work uner UNIX may want to use emacs since there is great built in latex support.) Once you've composed the latex document you need to "compile" it into a DVI file. Once it is a in a DVI file you can preview it using the xdvi tool (under UNIX, DOS/Windows/Mac versions will vary) or convert it to a postscript file using the dvips tool.
latex sample.texIf there are any errors in the LaTeX file, it will be shown here. Once you have a clean compile, you'll have a file called "sample.dvi" which is a printer independant version of your document. To convert it to postscript and print it, type:
dvips -f sample.dvi | lpr -P mailroomOf course, replace mailroom with the appropriate printer name.
| Filename | Description |
|---|---|
| sample.tex(2k) | A small well documented latex file which shows how to use the basic features of latex. You'll be able to write about 70% of your documents with only the commands listed in this file. A good starting place. |
| sample.ps(132k) | A postscript version of the sample.tex file ready for printing. |
| LatexLearn.tex (59k) | A more complete document on learning how to use latex. Still covers the basics and then some... |
| latex_essentials.eps(181k) | Another more exhaustive introduction to latex. Unfortunately, I only have the EPS (Encapsulated Postscript) for this. |
| LaTeX Reference Manual | This is a full online hypertext reference manual for Latex. |