Difference between revisions of "Command/starteffect"

From Wiki
Jump to navigation Jump to search
m (Text replacement - "<syntax>start" to "<syntax type=“environment”>")
Line 5: Line 5:
  
 
== [[Help:Reference|Syntax]] (autogenerated) ==
 
== [[Help:Reference|Syntax]] (autogenerated) ==
<syntax>starteffect</syntax>
+
<syntax type=“environment”>effect</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==

Revision as of 19:45, 24 July 2020

\starteffect

Syntax (autogenerated)

\effect[...]{...}
[...]name
{...}content


Syntax

\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: