Difference between revisions of "Overlays"

From Wiki
Jump to navigation Jump to search
m (Reverted edit of 202.177.186.176, changed back to last version by Mojca Miklavec)
m (fixed link)
Line 35: Line 35:
 
You can use this also with pictures. See also [[Logos]].
 
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]]).
+
Another use for overlays is for adding a graphic to every page to indicate chapters (sometimes known as a [[Thumb_index|thumb index]]).
  
 
[[Category:Graphics]]
 
[[Category:Graphics]]

Revision as of 15:38, 23 August 2007

< 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

\defineoverlay[reference name][commands]

Better put your commands in braces.

Using

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

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

\framed[height=40pt, background=tea, align=middle]%
{\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).