Next: Identification
Up: LATEX2e for class and package
Previous: Useful hooks
The structure of a class or package
LATEX2e classes and packages have more structure than LATEX 2.09
style files did. The outline of a class or package file is:
- Identification
- The file says that it is a LATEX2e package or
class, and gives a short description of itself.
- Preliminary declarations
- Here the file declares some commands and can also load
other files. Usually these commands will be just those needed for
the code used in the declared options.
- Options
- The file declares and processes its options.
- More declarations
- This is where the file does most of its work:
declaring new variables, commands and fonts; and loading other files.
LaTeX3 Mail Server
1999-07-12