TeXnik - Tips TeX and LaTeX


Welcome to the TeXnik website (under construction)

LaTeX Classfiles
TUG logo

Main page

Index
UK FAQ
Documentation
Software
CTAN
Search CTAN:

Statistics

Google c.t.t.

Google d.c.t.t.

 


 


Find a file |  Install new files |  Options | 


Find a classfile in your TeX-System

run from commandline for example:
kpsewhich tex foils.cls
and you'll get the whole path to this classfiles if it's in the searchable TeX-Directories:
voss@maria:~> kpsewhich tex foils.cls
/usr/local/share/texmf/tex/latex/foiltex/foils.cls
voss@maria:~>

Install a new classfile

  1. get the classfile from CTAN or from any mirror
    In most cases you'll get a name.ins and a name.dtx file. Save them in your local TeX source-directory, often: /usr/local/texmf/src. Any other dir which is found bei LaTeX is also possible. You can view this pathes with kpsepath tex.
  2. Now run first latex name.ins which builds all files from the package. Than run latex name.dtx at least two times to build the documentation. If the doc has an index or a bibtex database, you need to run makeindex name.dtx and bibtex name.
  3. Save the *.sty and additional font or definition files into an own subdir. It's a good idea to create one with the name of the package. Choose the path /usr/local/texmf/tex/latex/. The documentation files copy into /usr/local/texmf/doc/.
  4. run texhash
  5. Test if the file is found by tex with the kpsewhich-command (see above)

Pass different options to a documentclass

It is possible to pass options from outside to the documentclass with
latex '\PassOptionsToClass{draft}{article} \input '
Under Windows replace the quotes with ".

local time: Sat Apr 20 09:07:01 CEST 2024 ; file is: 1759.63653935185 days old
contact webmaster _at_ TeXnik.de