Campuses:
More Information
TeX and LaTeX is a mathematical computer typesetting system much used for scientific documents. To use the system effectively, you probably have to refer to one of the reference manuals. The LaTeX “bible” has always been LaTeX: A document preparation system by Leslie Lamport. Some good online guides to start with also include:
You can find these guides and much other useful information through the TeX Users Group web site.
To activate the Physics TeXLive environment, use the command:
module load texlive
<note warning>If you don't use the module load
command, you may just get the default Scientific Linux LaTeX distribution, because it's installed as a dependency from other packages. But we don't support it, so please don't try to use it, and don't become confused by finding style files, etc beneath /usr/share…
which are not used!
</note>
Here's the documentation for TeXLive: http://www.tug.org/texlive/doc/texlive-en/texlive-en.html
file.tex
:latex file
file.dvi
:xdvi file
dvips file
file.ps
:gv file.ps
lpr -P216 -K2 file.ps
It's useful to be able to add extra things to TeX (new classes, or macros from publishers, etc).You can do this by adding them beneath a directory in your home area defined by TEXMFHOME.
The default value for TeXLive's TEXMFHOME variable is ~/texmf
. TEXMFHOME, like all trees, must be organized according to the TeX Directory Structure, or files may not be found. In other words, the file structure must mirror that of /usr/share/texmf, so that, for example, the directory containing revtex would be added to ~/texmf/tex/latex
. See the TeXLive documentation for more help.
The graduate school has downloadable LaTeX style files as well as some directions on their use, at this URL:
A easy-to-use graphical “front end” for LaTeX, called LyX, is available. Run it by typing the command lyx
. Further documentation is available at the LyX web site:
<note tip> We are told that in order to use the elsarticle document class in LyX, it may be necessary to turn off the 'natbib' citation style under Document→Settings→Bibliography→Citation Style </note>