Terman Engineering Computer Cluster (TECC)

LaTeX Documentation Project

This documentation project is made for Terman Engineering Computer Cluster users ranging from beginners to experts of LaTeX. It contains the what, howto, where of LaTeX. It is specifically written as compact as possible, yet it hopefully still provide useful information or at least pointers to more information about LaTeX.

Table Of Contents

*Introduction to LaTeX
*How To Create Documents with LaTeX
*Samples of LaTeX Source
*LaTeX Related Tools (Converters)
*References of LaTeX
*Ftp sites of LaTeX


Introduction to LaTeX

LaTeX is a word processing (or, more accurately, a typesetting) program. It typesets a file of text using the TeX program and the LaTeX Macro package for TeX. To be more specific, it processes an input file containing the text of a document with. LaTeX is a very easy and widely used by academic community.

Unike many word processing programs, which concentrate on formatting material on the page (often called WYSIWYG, for "what you see is what you get"), LaTeX tries to concentrate on "content." LaTeX is a Generalized Mark-up Language macro package for the TeX typesetting program. That is, one specifies the structure: sections, title, appendix, authors' names, etc., which bear little relation to how this will look on a page. That is determined by the document style files (*.sty); standard ones are provided for such things as articles, reports, books, and letters. However, these style files may be readily replaced by others, giving a completely different look. Of course, it is possible in LaTeX to specify much about the physical layout, but this tends to be done with commands that define things like space between lines or amount to indent paragraphs rather than by positioning each piece of text on the page as is typical in WYSIWYG systems.

LaTeX produces as output a Device Independent (*.dvi) file that contains commands that can be translated into commands for a variety of output devices. It also produces a transcript or log (*.log) file that contains summary information and diagnostic messages for any errors discovered in the input file and an auxiliary (*.aux) file which contains cross refererence information for Tables, citations, etc. It is sometimes necessary to run LaTeX twice so that it has correct cross reference information, especially when modifications have changed the numbering.

Back to Table of Contents


How to Create Document with LaTeX

Here are the steps to build a document using LaTeX.
  1. Create .tex file as your source. Click Help On LaTeX to get online help on the syntax of the typesetting commands. (example : use emacs or vi to edit .tex file)
  2. Process this .tex file using latex command to generate .dvi file. This .dvi file is Device Independent file which can be used to create output on a range of printing devices. (example : latex foo.tex )
  3. There are several converters you can us to print .dvi files. One of them is dvi2ps command that is widely available on all Unix platforms. Use this converter to convert the .dvi to .ps file. (example : dvi2ps foo.dvi > foo.ps)
  4. Now you can print this .ps file to any postscript printers. (example : lpr foo.ps )

Back to Table of Contents


Samples of LaTeX Source

Here are several samples of LaTeX source :

Back to Table of Contents


LaTeX related Tools

LaTeX has several related tools for us to use.

Back to Table of Contents


References of LaTeX

These are two ultimate reference books on LaTeX recommended.
LaTeX: A Document Preparation System by Leslie Lamport (2nd edition)
This book is a must for first timer
The LaTeX Companion
This book is for more advanced users
Here are LaTeX Online Libraries:

For faq, search on faq topic and newsgroup choose as followed :

Back to Table of Contents

Ftp sites of LaTeX

See this list of ftp sites to get LaTeX.

Back to Table of Contents


[TECC] [School of Engineering] [Stanford]
webmaster@www-tecc.Stanford.EDU
Last modified: Mon Feb 27 17:02:25 PST 1995