Difference between revisions of "Command/starteffect"

From Wiki
Jump to navigation Jump to search
(Improve syntax diagram)
Line 5: Line 5:
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
 +
<syntax>starteffect</syntax>
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
   <tr>
 
   <tr>

Revision as of 15:18, 6 October 2019

\starteffect

Syntax

\starteffect[...] ... \stopeffect
[...]name


\starteffect[...][...] ... \stopeffect
[...] effect name
[...] effect options

Description

Example

% mode=mkiv
\setuppapersize[A5]

% define the spot color for the plotter
\definecolor[CutContour][c=0,m=1,y=0,k=0]
\definespotcolor[Contour][CutContour][p=1]

% here is the outline feature
\defineeffect[outline][alternative=outer,rulethickness=.25pt]

\starttext
\startcolor[Contour]
\definedfont[Serif at 50pt]

\starteffect[outline]
And here is the magic.
\stopeffect

\stopcolor
\stoptext

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: