Graphics and media/Boxes and stacking mechanisms/Thumb index

Unofficial ConTeXt Wiki mirror

Last modified: 2025-01-18

The following code is an example of how to draw a graphic on every page of a document. The graphic (a grey rectangle) appears in a different place for each chapter, and the chapter number appears in the rectangle as well. This is often called a thumb index - your thumb can flip the pages of a book while you watch the contents flash past...

Another Example

An example (MkIV) for using Metapost to create thumb indices for chapters.