We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

How to develop your own document class — our experience

Formal Metadata

Title
How to develop your own document class — our experience
Title of Series
Part Number
3
Number of Parts
33
Author
License
CC Attribution 3.0 Unported:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Identifiers
Publisher
Release Date
Language
Production PlaceCork, Ireland

Content Metadata

Subject Area
Genre
Abstract
We recently started re–using LaTeX for large documents — professional computing books. Years ago (1987) I had personally used a LaTeX 2.09 custom class (although it wasn’t called a class file then) for a book I was writing. The class file was written by a colleague, because I found it impossible to understand the low–level TeX mechanisms needed then.In 2006 I wanted to use this class for a new book of my own, and also as the basis for all our camera–ready books submitted by other authors.I had the choice of converting it to a new .cls file, which much of the documentation suggests is the thing to do, or writing “add–on” .sty file for the standard book.cls. We decided to try the .sty approach, as there were several packages that seemed to do most of what we wanted. We found that the .sty approach was straightforward, and much easier than expected. The resulting style is much shorter, easier to understand and maintain, and is much more flexible than our old one — we can use most standard packages to add extra features with no effort, because we still provide all the hooks that add–on packages rely on.