-->
LaTeX Overview

LaTeX Overview

LaTeX Overview

Introduction

LATEX (pronounced Lay-Tech) is a text-based formatting language used to create documents. LATEX logically structures a document by explicitly stating which parts of the document are titles, subtitles, bibliolography, etc. This is converse to a WYSIWYG word processor in which titles are usually just put in bold or a larger font. This way of formatting, called logical markup, is useful because it yeilds an easy way to make mass changes to the entire document. For example, you could change the font for every subtitle in the document, or you could change the title of a section and the table of contents would automatically update.

Figure 1: A simple LATEX source



Figure 2: Resulting LATEX output



Notice how the differences in font and boldness for the titles were handled by LATEX and were never stated, however in the second bullet the text was explicitly made italic.

Font and Characters

Special Symbols and Characters
SymbolLATEX Symbol
LATEX\LaTeX{}
\$\backslash$
$\$
%\%
&\&
_\_
#\#
{$\{$
}$\}$
" (open quotes)`` (character on ~ key twice)
" (close quotes)'' (single quote twice)

Additional symbols can be found at http://www.agu.org/symbols.html

{\it this text will be italic} but the rest of the text is normal type
this text will be italic but the rest of the text is normal type

{\bf this text will be boldface} but the rest of the text is normal type
this text will be boldface but the rest of the text is normal type

Printing

What to do next:
  1. SSH to interactive.cs.tamu.edu, as explained in SSH via PuTTY.
  2. At the command prompt, type LATEX filename.tex and press Enter. This will convert your .tex file to .dvi file with the same name.
  3. Now, type dvips filename.dvi and press Enter. This will convert your file to a post script file with the same name.
  4. To print the post script file from Unix, type lpr -Pps210 filename.ps and press Enter.


Additional LATEX Resources

The following guides are very helpful, and can be found freely on the web via search engine:

The above guides, as well as much other helpful LATEX related information, can also be found on the following helpful websites:


Sample LATEX Files

The following sample files may be helpful to you as you start to learn LATEX. In MS Internet Explorer, just right-click on the links and select ``save as...'' to save the file to your disk.

Copyright © 1993, 1994, 1995, 1996, Nikos Drakos, Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999, Ross Moore, Mathematics Department, Macquarie University, Sydney.



To Top of Page To Top Of Page Printer Friendly Version

©CSG Helpdesk

Valid CSS!