Difference between revisions of "Overlays"

From Wiki
Jump to navigation Jump to search
m (added Category Graphics)
Line 1: Line 1:
< [[Graphics]]
+
Brand information for the makers of tea and iced tea beverages. Includes recipes,
 
+
tea history and development, glossary, and answers to frequently asked questions
'''What are Overlays?'''
+
* [http://www.teainfo.org/ tea]  
 
+
* [http://www.teainfo.org/tea-bag.php tea bag]
Overlays are predefined snippets that you can stack on each other.
+
* [http://www.teainfo.org/tea-gardner.php Tea Gardner]
Opposite to [[Layers]] that regard whole pages, overlays mostly are only single pictures, words or the like.
+
* [http://www.teainfo.org/green-tea.php green tea]
 
+
* [http://www.teainfo.org/herbal-teas.php herbal teas]
'''Defining'''
+
* [http://www.pizzaguide.org/ pizza]
 
+
* [http://www.pizzaguide.org/pizza-dough.php pizza dough]
<texcode>
+
* [http://www.pizzaguide.org/italian-pizza.php italian pizza]
\defineoverlay[reference name][commands]
+
* [http://www.pizzaguide.org papa johns pizza]
</texcode>
+
* [http://www.coffee-guide.us/ coffee]
 
+
* [http://www.coffee-guide.us/gourmet-coffee.php gourmet coffee]
Better put your commands in braces.
+
* [http://www.coffee-guide.us/coffee-makers.php coffee makers]
 
+
* [http://www.coffee-guide.us/coffee-tables.php coffee tables]
'''Using'''
+
* [http://www.coffee-guide.us/organic-coffee.php organic coffee]
 
+
* [http://www.chocolateplanet.org Chocolate]
You can use defined overlays everywhere, where there's a <tt>background</tt> option.
+
* [http://www.chocolateplanet.org chocolate factory]
 
+
* [http://www.chocolateplanet.org chocolate candy]
<texcode>
+
* [http://www.chocolateplanet.org charlie and chocolate factory]
\defineoverlay[tea][{\green\ss\bf GREEN TEA}]
+
* [http://www.chocolateplanet.org chocolate chips]
 
 
\framed[height=40pt, background=tea, align=middle]%
 
{\em today\\for sale}
 
</texcode>
 
 
 
<context>
 
\setupcolors[state=start]
 
\defineoverlay[tea][{\green\ss\bf GREEN TEA}]
 
 
 
\framed[height=40pt, background=tea, align=middle]%
 
{\em today\\for sale}
 
</context>
 
 
 
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]]).
 
 
 
[[Category:Graphics]]
 

Revision as of 18:12, 6 June 2006

Brand information for the makers of tea and iced tea beverages. Includes recipes, tea history and development, glossary, and answers to frequently asked questions