Difference between revisions of "Overlays"
Jump to navigation
Jump to search
(add explanation from Wolfgang) |
|||
Line 39: | Line 39: | ||
* [[:Category:Command/Overlays]] | * [[:Category:Command/Overlays]] | ||
+ | * [http://www.ntg.nl/pipermail/ntg-context/2013/070935.html Layer vs. overlay] by Wolfgang | ||
[[Category:Graphics]] | [[Category:Graphics]] |
Revision as of 11:28, 12 January 2013
< Graphics
Contents
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.
Defining
\defineoverlay[reference name][commands]
Better put your commands in braces.
Using
You can use defined overlays everywhere, where there's a background option.
\setupcolors[state=start] \defineoverlay[tea][{\green\ss\bf GREEN TEA}] \framed[ background=tea, align={middle,hilo} ]{ \em today \blank[2*big] 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
- Category:Command/Overlays
- Layer vs. overlay by Wolfgang