SETTING UP THE LATEX ENVIRONMENT


Setting Up the Shell Correctly

To set up your environement to be able to run on most machines which have the complete LaTeX2E package installed with the AMS fonts and style files, please make sure that your TEXINPUTS path is correctly set. If your distribution is LaTeX2E which has been correctly installed (typically the teTeX distribution which is distributed with redhat linus), you will not have to set this variable. If you are using a shell script which may have had this variable set and TeX is not finding its resources, it is best to comment out the statements with TEX* in the shell.


What to do if the resources are not be found

To set the TEXINPUTS variable to work if TeX is not finding shell resources properly, go to your .profile, .zprofile or .cshrc in your home directory, and edit the file to include the directories where your want TeX to search. You can add any of the directories in the path /usr/lib/texmf/tex/latex and /usr/lib/tex/tex/tex and /usr/lib/tex/amstex/macros.

To set the environment variable to the values desired depends on which shell you are running. In the Korn or Z shell, you would add to your .zprofile or .profile, the line containing TEXINPUTS variable.

String each directory you want LaTeX and TeX to search with a colon delimited list. Note the presence of the period in the TEXINPUTS line indicating the current working directory is to be searched first.

When you have made all the changes to the .profile, .zprofile or .cshrc file, then you must activate it by doing:

. .profile

. .zprofile

source .cshrc

depending on which shell you are running. Remember also that the modified commands apply only to shells which are dependendant on the one which you have just sourced.


Setting Up AMS LaTeX Correctly

To access the AMS LaTeX fonts and macros, a complete set of these has been included with this distribution. If your installation of LaTeX contains these, then you do not need to include these and can delete the ams*.sty and *.fd files.

You have a choice of processing the document in TeX, LaTeX, AMSTeX, or AMSLaTeX. The system of files provided in this distribution is intended to show you how to produce a dissertation using LaTeX. It is been updated to include using AMSLaTeX. In doing this everything remains the same as with LaTeX, however you are required to load in some files in the preamble to your document. These files are all called in the

\documentclass{dissertation_usm}
\usepackage{amssymb,amsfonts,amsbsy,amsmath,amsthm}

You will also need to include the file ./preamble/DISSc_pream_ams.tex which sets ups some macros and environments for AMS-LaTeX. If you use these, then you can access the AMS macros and font sets which are illustrated in Chapter 4 of this sample dissertation.

If you do not wish to use the AMS extensions to LaTeX, that is if you have no need of the extra fonts and macros, then it is better to simplify the amount of files which are loaded. Loading these files takes time and will slow down how quickly LaTeX can process your document. To load the DISSc package without the AMS extensions, edit this line to

\documentclass{dissertation_usm}
and remove the line
%DEFINE COMMANDS. THESE ARE GLOBAL.
\input{preamble/DISS_pream_ams}
and
% BEGIN THE FOURTH CHAPTER. THIS IS TAKE FROM testmath.tex FROM THE AMS PACKAGE.
% TO ILLUSTRATE THE USE OF amslatex.

\input{chapter/DISS_chap4}
from the DISSc.tex file.


Previous
Next
Contents

USM
inquire@delphi.st.usm.edu
Updated

http://pax.st.usm.edu