Relative hierarchy in existing tools [tfmt-000C]
There are a few LaTeX packages that implement relative hierarchy for sectioning as an alternative to the backward model of absolute hierarchy.
- The coseoul package implements relative sectioning commands; similar to the existing sectioning commands, an implicit hierarchy model is employed, leading to an imperative feel with commands like
\levelup{<title>}and\leveldown{<title>}. - The modular package builds on coseoul to behave better under the transclusion of LaTeX documents, introducing a
\subimportcommand that is to be used instead of\inputor\include. - On the other hand, the dieudonne package implements a form of relative sectioning with an explicit hierarchical model, i.e. one in which the syntactical nesting of LaTeX environments induces the hierarchy.
There are some attempts to impose a (relative, explicit) hierarchical model in HTML by using <section> and only the <h1> heading command. In the HTML5 spec, this behavior was initially endorsed as part of the “outline” algorithm, but unfortunately almost no vendors of browsers nor assistive technology have correctly implemented this behavior.