I'm searching for nice predefined chapter headings. I've found the fncychap package, and seen that memoir has quite a few, too.
Do you know other packages that provide predefined fancy chapter styles?
|
I'm searching for nice predefined chapter headings. I've found the Do you know other packages that provide predefined fancy chapter styles? |
|||||||||||||
|
|
Although the There are two issues to consider here:
One of the difficulties in the redefinition of chapters, is the different mechanisms provided by the various packages as well as by An approach to overcome the limitations and provide some more general and well abstracted routines to define a key-value approach similar to those provided by
Although the keys and the code might at first glance seem overwhelming it can be greatly simplified by the use of This brings us to the second part of the issues associated with chapter re-definitions: typography. The chapter look and feel must blend with the rest of the design. Consider for example the following two images:
It is no good only having definitions for chapters. The style should extend to exercises, tables, sections table of contents and the like. A similar method to using a key-value approach might make this task easier and share the styling among the community. Originally I experimented with I have collected over 50 styles from different books and I have the basic code ready for experimentation (only for chapters). And now the coding part. First we define keys for all major elements:
As we want to use the basic LaTeX structure and conventions, we redefine the
The macro contains the typesetting algorithm and hooks into the various keys. To typeset a chapter head the simplest approach is to define a set of keys as styles. For example we can use:
to define the style "manet". The chapter is then typeset as:
Giving us the following result:
With slight variations, we can inherit the style and get the "cardinal on a vespa chapter":
Additional keys can be defined if necessary to cater for all fields. Chapters made out of only textual components are easier to define. You just set the style number.
Special chapter openings need a different treatment and are best described as environments, as they tend to have many textual components as well as images:
The second image above had only the image key changed, just to illustrate the technique. As a point of interest the images were placed with traditional boxing techniques rather than using The technique has proved useful, easy to define and although the documentation still needs to be developed and the code needs a good clean-up and a few must-do; in the meantime you can download the image samples (used in the documentation), the chapterx package file, the documentation tex file and the documentation pdf file. Please ping me at chat, if you have any other interesting designs that we can add to the collection. |
|||||||||||||||
|
|
You could use
Source: TeXblog. |
|||||||
|