From ConTeXt wiki
Revision as of 11:28, 12 January 2013 by Peter (talk | contribs) (add explanation from Wolfgang)
Jump to navigationJump to search

< Graphics

What are Overlays?

Overlays are predefined snippets that you can stack on each other. In contrast to layers, which regard whole pages, overlays mostly are only single pictures, words or the like.


\defineoverlay[reference name][commands]

Better put your commands in braces.


You can use defined overlays everywhere, where there's a background option.


\defineoverlay[tea][{\green\ss\bf GREEN TEA}]

    \em today
    for sale

You can use this also with pictures. See also logos.

Another use for overlays is for adding a graphic to every page to indicate chapters (sometimes known as a thumb index).

See Also