I have written class files in the past. One of them is even up on CTAN. But that was ages ago, and I am rusty today.
I am trying to roll a new class file for my University. I am being a little ambitious, and want to use the same class file for University letters, forms, reports, etc (and use class options to select each type). The reason is that this is a LaTeX-resistant place and being able to provide just one file would help in selling the power of LaTeX to them. Plus, there is a coolness factor involved which I wish to explore.
Logically, each of those documents would correspond to inheriting from standard LaTeX classes and then adding local customizations.
Is it possible to have an option-dependent inheritance (\LoadClass) for a new class file? Or is that a fundamental impossibility?
LoadClass. e.g.\PassOptionsToClass{\CurrentOption}{\myclasstype}}\LoadClass{\myclasstype}where you have defined\myclasstypeto hold the selection.\DeclareOption{option1}{\LoadClass{class1}}instead?