Difference between revisions of "Command/definespotcolor"

From Wiki
Jump to navigation Jump to search
m
m
Line 47: Line 47:
  
 
\starteffect[outline]
 
\starteffect[outline]
And here is the magic.
+
Magical Outline
 
\stopeffect
 
\stopeffect
  

Revision as of 23:24, 20 August 2013

\definespotcolor

Syntax

\definespotcolor[...][...][...]
[...] text
[...] text
[...] text

Description

Spot colours can be defined using three arguments instead of two arguments, like \definecolor. The first argument is the colour to define. The second argument is the colour to be use as a base. And the third argument takes the same options as \definecolor.

Example

\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]
Magical Outline
\stopeffect

\stopcolor
\stoptext


See also

Help from ConTeXt-Mailinglist/Forum

All issues with: