5.7 Haciendo maquetación con clase
Page layout is normally defined by the document class, so it should come as no great surprise that the techniques and packages described in this chapter are usually applied behind the scenes (within a document class).
The standard classes use the LaTEX parameters and interfaces directly to define the page proportions, running headers, and other elements. More recently developed classes, however, often deploy packages like geometry to handle certain aspects of the page layout.
In this section we briefly introduce two such implementations. By searching through the CTAN archive you might discover additional treasures.
5.7.1 KOMA-Script - Un reemplazo directo de article et al.
The KOMA-Script classes, developed by Markus Kohm and based on earlier work by Frank Neukam, are drop-in replacements for the standard article/report/book classes that emphasize rules of typography laid down by Tschichold. The article class, for example, becomes scrartcl.
Page layout in the KOMA-Script classes is implemented by deploying the typearea package (see Section 5.2.3), with the classes offering the package options as class options. Extended page style design is done with the package scrlayer-scrpage (offering features similar to those provided by fancyhdr). Like typearea this package can also be used on a stand-alone basis with one of the standard classes. Layout specifications such as font control, caption layout, and so on, have been extended by providing customization possibilities that allow manipulation in the preamble of a document.
Besides offering all features available in the standard classes, the KOMA-Script classes provide extra user control inside front and back matter as well as a number of other useful extensions.
The distribution is well documented. There exists both a German and an English guide explaining all features in detail [102]. The German documentation is also available as a nicely typeset book [101], published by DANTE, the German language TEX Users Group.
5.7.2 memoir - Producir publicaciones complejas
The memoir class written by Peter Wilson was originally developed as an alternative to the standard book class. It incorporates many features otherwise found only as add-on packages. The current version, maintained and further developed by Lars Madsen, also works as a replacement for article and can, therefore, be used for all types of publications, from small memos to complex books [200].
Among other features it supports an extended set of document sizes (from 9pt to 17pt), configurable sectional headings, page headers and footers, and captions. Predefined layout styles are available for all such objects, and it is possible to declare new ones as needed. The class supports declarative commands for all aspects of setting the page, text, and margin sizes, including support for trimming (crop) marks. Many components of the class are also available as stand-alone packages, for those users who wish to add a certain functionality to other classes (e.g., epigraphs, caption formatting).
Like the KOMA-Script classes, the memoir class is accompanied by an excellent manual of nearly 200 pages, discussing all topics related to document design and showing how to resolve potential problems with memoir.