next up previous
Next: RSL specifications in separate Up: How to print RSL Previous: How to print RSL


Creating a LATEX document

LATEX files are plain text files having a name of the form Y.tex, e.g. main.tex. A basic LATEX file for use with RSL specifications looks like this:
\documentclass{article}
\usepackage{rslenv}
\begin{document}
%here you can write text and 
%include RSL specifications 
%   in one of two ways as described in the following subsections
\end{document}

The LATEX rslenv.sty file can be found at the course cd and under the link ``How to use the RAISE tools'' at http://www.imm.dtu.dk/courses/02262/. You should either put it in the same directory as your LATEX file, or you can get LATEX to find your local .sty files.

Under Linux the latter can be achieved by doing the following:

  1. In $HOME do: mkdir -p texmf/tex/latex/misc/

  2. Now put .sty files in $HOME/texmf/tex/latex/misc

  3. Add the following line to .bashrc:
       export TEXINPUTS=$TEXINPUTS:$HOME/texmf//
    
  4. Close the XTerm window and start a new one

  5. Run 'texhash texmf'

You must do step 5 every time you add a .sty file to misc.



Subsections

Anne Haxthausen 2003-03-13