617 bytes added
, 09:37, 21 July 2004
< [[Graphics]]
'''What are Overlays?'''
Overlays are predefined snippets that you can stack on each other.
Opposite to [[Layers]] that regard whole pages, overlays mostly are only single pictures, words or the like.
'''Defining'''
<pre>
\defineoverlay[reference name][commands]
</pre>
Better put your commands in braces.
'''Using'''
You can use defined overlays everywhere, where there's a <tt>background</tt> option.
<pre>
\defineoverlay[tea][{\green\ss\bf GREEN TEA}]
\framed[height=40pt, background=tea, align=middle]%
{\em today\\for sale}
</pre>
You can use this also with pictures. See also [[Logos]].