local technical report class
cetechr
(for the Chemical Engineering department)based on
article
.
1.2 Overview
This document contains an overview of how to write classes and packages forL
A
TEX. It does
not
introduce all of the commands necessary to write packages:these can be found in either
L
A
T E X: A Document Preparation System
or
TheL
A
T E X Companion
. But it does describe the new commands for structuringclasses and packages.
Section 2.7
contains some general advice about writing classes and packages.It describes the difference between classes and packages, the commandnaming conventions, the use of
doc
and
docstrip
, how TEX’s primitivefile and box commands interact with L
A
TEX. It also contains some hintsabout general L
A
TEX style.
Section 3
describes the structure of classes and packages. This includes build-ing classes and packages on top of other classes and packages, declaringoptions and declaring commands. It also contains example classes.
Section 4
lists the new class and package commands.
Section 6
gives detailed advice on how to upgrade existing L
A
TEX 2.09 classesand packages to L
A
TEX2
ε
.
1.3 Further information
For a general introduction to L
A
TEX, including the new features of L
A
TEX2
ε
, youshould read
L
A
T E X: A Document Preparation System
by Leslie Lamport [3].A more detailed description of the new features of L
A
TEX, and an overview of more than 150 packages, is to be found in
The L
A
T E X Companion
by MichelGoossens, Frank Mittelbach and Alexander Samarin [1].The L
A
TEX system is based on TEX, which is described in
The T E Xbook
byDonald E. Knuth [2].There are a number of documentation files which accompany every copy of L
A
TEX. A copy of
L
A
T E X News
will come out with each six-monthly release of L
A
TEX, and is found in the files
ltnews*.tex
. The author’s guide
L
A
T E X2
ε
for Authors
describes the new L
A
TEX document features; it is in
usrguide.tex
.The guide
L
A
T E X2
ε
Font Selection
describes the L
A
TEX font selection scheme forclass- and package-writers; it is in
fntguide.tex
. Configuring L
A
TEX is coveredby the guide
Configuration options for L
A
T E X2
ε
in
cfgguide.tex
whilst thephilosophy behind our policy on modifying L
A
TEX is described in
Modifying L
A
T E X
in
modguide.tex
.3
Leave a Comment