Installing packages

A package for LaTeX is a .sty file. The package can be downloaded from CTAN. Here is a short HOWTO on installing packages.

  1. Download the wanted package
  2. Check if a styfile is in the package, is so jump to step 5
  3. In a terminal enter the directory with the .dtx and .ins file in
  4. Run latex *.ins, and a .sty file is created
  5. Run sudo cp [package].sty /usr/share/texmf/tex/latex/misc/
    or use the following adress /usr/share/texmf-tetex/tex/latex/misc/
  6. Run sudo texhash to update latex with the new packages

.sty files

  • fancyvrb.sty
  • lstlang2.sty
  • textcomp.sty
  • vmargin.sty
  • fixme.sty
  • lstlang1.sty
  • suffix.sty
  • verbatim.sty

LaTeX Cheat Sheet

LaTeX Cheat Sheet

Links

The Not So Short Guide To LaTeX

Character Encoding

normally Ubuntu uses UTF8 encoding, which can cause some problems with Latin1 character sets.
Just change the locale of emacs to use latin1 instead.

Preambles

Article Preamble Article Master

Report Master Report Preamble

Styles

fncychap.sty

iemss.sty