LaTeX typesetting language


Latex is a powerful typesetting language which allows for the creation of professional quality papers. The LaTeX user should have some amount of information about LaTeX, however, for those who do not, I direct your attention to a good book:

A Guide to LaTeX: Document Preparation for Beginners and Advanced Users.
Helmut Kopka and Patrick W. Daly
Addison-Wesley, New York

The latest edition contains information of the use of the newer LaTeX2e compiler.

Contents:

  1. Setup Parameters
  2. Path and locations of files
  3. LaTeX and Bibliographic style files
  4. Inserting Figures

 

Setup Parameters

The two environment variables used by LaTeX are TEXINPUTS and BIBINPUTS. These environment values are colon seperated path names which are used to search for filenames specified in the LaTeX and BiBTeX files. The place for these variables are in the .cshrc file and an example is:

setenv BIBINPUTS ".:/usr/imports/lib/tex/latex:/usr/imports/lib/tex/latex2e"
setenv TEXINPUTS ".:/usr/imports/lib/tex/latex:/usr/imports/lib/tex/latex2e"


And when your list of personal stylefiles increase, you may create a directory of where you keep them and add the path to the TEXINPUTS variable. Some stylefiles are mentioned here but in the latex directory there exists a large collection of stylefiles. As you publish papers in conferences and journals, you will create a large collection of stylefiles.

Return to Table of Contents

Path and locations of files

The location of all LaTeX style files for latex2.0.9 are kept in

/usr/imports/lib/tex/latex/

and it contains three types of files. There are *.tex, *.sty, *.bst, and *.doc files. *.tex and *.sty are similar in that the sty files are speficied in documentstyle at the beginning of the document however the tex file can be input in arbitrary locations. The bst files are bibliographystyle files and the doc files contain information on using the associates sty or tex files. If you are starting to use LaTeX for the first time I suggest biting the bullet and start off with latex2e. Similar to latex2.0.9, the associated directory is kept at

/usr/imports/lib/tex/latex2e/

There are a lot more files here than there are for latex2.0.9 with the major difference being with the use of style files. In latex2.0.9 you could use:

\documentstyle[cfar,psfig]{article}

but in latex2d one must use:

\documentclass{report}
\usepackage{psfig}


And notice that the document class inputs a file with the cls extension. In the latex2e directory there exists *.fd, *.sty, *.def, *.ldf, *.clo, *.cls, among others. Latex2e has a wider range of fonts and is more powerful than the previous versions of latex.

Return to Table of Contents

LAMP PUBLICATIONS: LaTeX and Bibliographic style files

Here are some specific style files:
This list will grow as the need arises to publish more papers.

Return to Table of Contents

Inserting Figures

Figures can easily be inserted into the latex document by using the psfig variable. There is also a large amount of macros that will position a group of figures nicely on a document. To use these make sure to include these files in your TEXINPUTS path: psfig.sty, psfig-utils.sty, psfig-utilsT.sty, psfig-pro.sty. Currently, this can be accomplished by setting texinputs as follows:

setenv TEXINPUTS ".:/fs/dubb2/LAMP/Tex//:/usr/imports/lib/tex//"
setenv BIBINPUTS ".:/fs/dubb2/LAMP/Tex//"

Their use is covered in detail in a FAQ.

Return to Table of Contents
Last modified on Sun Mar 16 18:10:31 EST 1997
Created and maintained by kia@cfar.umd.edu.