Difference between revisions of "Command/defineoverlay"
< Command
Jump to navigation
Jump to search
m (Text replace - "== Help from ConTeXt-Forum ==" to "== Help from ConTeXt-Forum == All issues with:") |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
|attributes= | |attributes= | ||
}} | }} | ||
+ | |||
+ | == [[Help:Reference|Syntax]] (autogenerated) == | ||
+ | <syntax>defineoverlay</syntax> | ||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
Line 11: | Line 14: | ||
<tr valign="top" class="first"> | <tr valign="top" class="first"> | ||
<td class="cmd">[...,...,...]</td> | <td class="cmd">[...,...,...]</td> | ||
− | <td>name </td> | + | <td>''name''</td> |
</tr> | </tr> | ||
<tr valign="top" class="second"> | <tr valign="top" class="second"> | ||
<td class="cmd">[...]</td> | <td class="cmd">[...]</td> | ||
− | <td>command </td> | + | <td>''command''</td> |
</tr> | </tr> | ||
</table> | </table> | ||
− | |||
== Description == | == Description == | ||
+ | Define an overlay. The first argument provides the name, the second argument the contents. | ||
+ | == Example == | ||
+ | <context source=yes> | ||
+ | \setupcolors[state=start] | ||
+ | \defineoverlay[tea][{\green\ss\bf GREEN TEA}] | ||
− | == | + | \framed[ |
− | < | + | background=tea, |
+ | align={middle,hilo} | ||
+ | ]{ | ||
+ | \em today | ||
+ | \blank[2*big] | ||
+ | for sale | ||
+ | } | ||
+ | </context> | ||
== See also == | == See also == | ||
− | + | * {{cmd|startoverlay}} | |
+ | * [[Overlays]] | ||
− | == Help from ConTeXt-Forum == | + | == Help from ConTeXt-Mailinglist/Forum == |
All issues with: | All issues with: | ||
{{Forum|{{SUBPAGENAME}}}} | {{Forum|{{SUBPAGENAME}}}} | ||
− | [[Category: | + | [[Category:Command/Overlays|defineoverlay]] |
Latest revision as of 13:54, 18 November 2019
\defineoverlay
Syntax (autogenerated)
\defineoverlay[...,...][...][...] | |
[...,...] | name |
[...] | name |
[...] | command |
Syntax
\defineoverlay[...,...,...][...] | |
[...,...,...] | name |
[...] | command |
Description
Define an overlay. The first argument provides the name, the second argument the contents.
Example
\setupcolors[state=start] \defineoverlay[tea][{\green\ss\bf GREEN TEA}] \framed[ background=tea, align={middle,hilo} ]{ \em today \blank[2*big] for sale }
See also
Help from ConTeXt-Mailinglist/Forum
All issues with: