ed
fill t withcolor p % new (and
old)
draw s withpen pencircle scaled 5pt withcolor c;
enddef;
\stopMPdefinitions
\starttext
\definespotcolor[Thin:orange][orange][p=1,a=normal,t=0.5]
\color[orange]{hello}
\startalignment[center]
draw s withpen pencircle scaled 5pt withcolor c;
enddef;
\stopMPdefinitions
\starttext
\definespotcolor[Thin:orange][orange][p=1,a=normal,t=0.5]
\color[orange]{hello}
\startalignment[center]
\startplacefigure
\startMPcode
Test [ prefix = "Thin", color = &q
have predefined color names like lighgray already been defined in, say
> cmyk terms behind the scenes, or must I instead
> \definecolor[lightgray][c=10,m=7,y=5,k=0], (or perhaps \definespotcolor
> with those dimensions, or do I need both)?
First: Color parts use decimal numb
the scenes, or must I instead
\definecolor[lightgray][c=10,m=7,y=5,k=0], (or perhaps
\definespotcolor with those dimensions, or do I need both)?
Julian
___
If your question is of interest to others as well, please
gt;>
>>> \definecolor [my-blue] [c=1,m=.38,y=0,k=.64] % pms 2965 uncoated m
>>> \definecolor [my-yellow] [c=0,m=.28,y=1,k=.06] % pms 124 uncoated m
>>>
>>> \definespotcolor [my-blue-100] [my-blue] [p=1]
>>> \definespotcolor [my-yellow-100]
=.06] % pms 124 uncoated m
\definespotcolor [my-blue-100] [my-blue] [p=1]
\definespotcolor [my-yellow-100] [my-yellow] [p=1]
\definespotcolor [my-blue-50][my-blue] [p=.5]
\definespotcolor [my-yellow-50] [my-yellow] [p=.5]
\definemultitonecolor [my-mix] [my-blue=.12,my-yellow=.28] [c=.1
% pms 124 uncoated m
>
> \definespotcolor [my-blue-100] [my-blue] [p=1]
> \definespotcolor [my-yellow-100] [my-yellow] [p=1]
> \definespotcolor [my-blue-50][my-blue] [p=.5]
> \definespotcolor [my-yellow-50] [my-yellow] [p=.5]
>
> \definemultitonecolor [my-mix] [my-blue=.12,m
,m=.38,y=0,k=.64] % pms 2965 uncoated m
\definecolor [my-yellow] [c=0,m=.28,y=1,k=.06] % pms 124 uncoated m
\definespotcolor [my-blue-100] [my-blue] [p=1]
\definespotcolor [my-yellow-100] [my-yellow] [p=1]
\definespotcolor [my-blue-50][my-blue] [p=.5]
\definespotcolor [my-yellow-50] [my-
? The usefulness of this comes from the fact
that for things like \definecolor[lighthoneydew][r=.894117,g=.95,b=.894117] the
numbers need not be feed more than once.
\starttext
\definespotcolor[redA][red][p=1]
\definespotcolor[redB][red][p=.5]
\definespotcolor[redC][redB][t=.5,a=1]
Thanks Hans for the fix!
I have noticed, that spotcolors can be used in tikz, but they are darker.
Is that wanted or a bug?
MWE:
\usemodule[tikz]
\starttext
\definecolor[gruen][c=0.52,y=0.86]
\definespotcolor[mycol][gruen][p=1]
\definespotcolor[mycol_h][gruen][p=0.5]
\definespotcolor[mycol_q
]
\definespotcolor[test_line][PantoneTwoNineFour][p=1]
\definespotcolor[test_fill][PantoneTwoNineFour][p=0.5]
\tikzset{mybox/.style={rectangle,rounded
corners,align=center,thick,draw=test_line,fill=test_fill}}
\starttext
\starttikzpicture
\node[mybox] at (0,0) {Test};
\stoptikzpicture
\stoptext
Thanks
][c=1,m=.56,y=0,k=.18]
\definespotcolor[test_line][PantoneTwoNineFour][p=1]
\definespotcolor[test_fill][PantoneTwoNineFour][p=0.5]
\tikzset{mybox/.style={rectangle,rounded
corners,align=center,thick,draw=test_line,fill=test_fill}}
\starttext
\starttikzpicture
\node[mybox] at (0,0) {Test
On 8/21/2013 2:25 AM, Thangalin wrote:
Hi,
What would it take to extend \definecolor so that:
\definecolor[ColourA][ColourB][t=0.5, a=1]
defines a new colour (ColourB) based on an existing colour (ColourA)?
I know that \definespotcolor[ColourA][ColourB][t=0.5, a=1] works, but
it seems
On 2013–08–21 Hans Hagen wrote:
On 8/21/2013 2:25 AM, Thangalin wrote:
Hi,
What would it take to extend \definecolor so that:
\definecolor[ColourA][ColourB][t=0.5, a=1]
defines a new colour (ColourB) based on an existing colour (ColourA)?
I know that \definespotcolor[ColourA
know that \definespotcolor[ColourA][ColourB][t=0.5, a=1] works, but
it seems like \definecolor would also be a natural fit.
hm, afaik no one ever needed that (normally one defines colors once
on top of the document and there are seldom many of them)
anyhow, as general inheritance is pretty fuzzy i.e
that \definespotcolor[ColourA][ColourB][t=0.5, a=1] works, but
it seems like \definecolor would also be a natural fit.
hm, afaik no one ever needed that (normally one defines colors once
on top of the document and there are seldom many of them)
anyhow, as general inheritance is pretty fuzzy i.e
\definenamedcolor
\definespotcolor
\definemultitonecolor
\defineprocesscolor
That is a little confusing. I can understand a speed requirement, but
surely that can be taken into consideration beneath the definition?
\definecolor[A][r=1, g=0, b=0]
\definecolor[B][A][a=1, t=0.5]
That seems
agree with Marco:
Are you sure it's a good idea to add another colour definition
mechanism? Then we have
\definecolor
\defineglobalcolor
\definenamedcolor
\definespotcolor
\definemultitonecolor
\defineprocesscolor
As said before
Hi,
What would it take to extend \definecolor so that:
\definecolor[ColourA][ColourB][t=0.5, a=1]
defines a new colour (ColourB) based on an existing colour (ColourA)?
I know that \definespotcolor[ColourA][ColourB][t=0.5, a=1] works, but
it seems like \definecolor would also be a natural fit
[PantoneTwoNineFour]
[c=1,m=.68,y=7,k=.28]
y=1 = y=.7
\definecolor
[PantoneThreeZeroZero]
[c=1,m=.42,y=0,k=0]
% Define tints of spot colors to be used in document for coloring text
\definespotcolor
[DarkBlue]
[PantoneTwoNineFour]
[p=1,e=PANTONE 294 PC]
\definespotcolor
of spot colors to be used in document for coloring text
\definespotcolor
[DarkBlue]
[PantoneTwoNineFour]
[p=1,e=PANTONE 294 PC]
\definespotcolor
[LightBlue]
[PantoneThreeZeroZero]
[p=1,e=PANTONE 300 PC]
I do get the DarkBlue in my pdf output but no sign of the LightBlue
anywhere
.
Here is the mkiv answer:
% 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
On 2012-07-18 Jan Kula jano.k...@gmail.com wrote:
Here is the mkiv answer:
% 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
.
\nopdfcompression
\definecolor [xcyan] [c=1]
\definecolor [xmagenta][m=1]
\definecolor [xyellow] [y=1]
\definespotcolor [scyan] [xcyan] [p=1]
\definespotcolor [smagenta][xmagenta][p=1]
\definespotcolor [syellow] [xyellow] [p=1]
\definemultitonecolor[scombi]
[xcyan=.2
is an official built in colorant but blue isn't.
\nopdfcompression
\definecolor [xcyan] [c=1]
\definecolor [xmagenta][m=1]
\definecolor [xyellow] [y=1]
\definespotcolor [scyan] [xcyan] [p=1]
\definespotcolor [smagenta][xmagenta][p=1]
\definespotcolor
uncoated m
\definespotcolor [blue-0] [blueish] [p=0.1]
\definespotcolor [blue-50][blueish] [p=0.5]
\definespotcolor [blue-100] [blueish] [p=0.9]
\definespotcolor [yellow-0] [yellowish] [p=0.1]
\definespotcolor [yellow-50] [yellowish] [p=0.5]
\definespotcolor [yellow-100] [yellowish
printer wants it defined as a spot ink, and when I
do this:
\definecolor[PantoneThreeOneFourFive][c=1,m=0,y=.19,k=.23]
\definespotcolor[TAXBgreenthirty][PantoneThreeOneFourFive][p=.3]
the gradient turns to black instead of green. (The spot colour
definition works fine in the rest of the document
Am 2011-05-17 um 12:24 schrieb Duncan Hothersall:
but, inevitably, my printer wants it defined as a spot ink, and when
I do this:
\definecolor[PantoneThreeOneFourFive][c=1,m=0,y=.19,k=.23]
\definespotcolor[TAXBgreenthirty][PantoneThreeOneFourFive][p=.3]
the gradient turns to black instead
to reverse this behaviour?
PS I've tried using spot colors in context, but that doesn't seem to
work:
\definespotcolor[mycolor][red][p=.1]
--
Michael Murphy MPhys michael.mur...@uni-ulm.de
Institute für Quanteninformationsverarbeitung
Room N25/4409
Universität Ulm
Albert-Einstein-Allee 11
89081 Ulm
Hi Hans,
Is there a nice way to get spot color names into the PDF in mkiv?
I now have:
{\catcode`\#=12 \gdef\hash{#}}
\definecolor[PANTONE\hash 4625][c=0,m=0.6,y=1,k=0.79]
\definespotcolor[dark][PANTONE\hash 4625][p=1]
but that does not really deserve a price for elegance.
Best wishes
On Wed, May 12, 2010 at 12:55 PM, Taco Hoekwater t...@elvenkind.com wrote:
Hi Hans,
Is there a nice way to get spot color names into the PDF in mkiv?
I now have:
{\catcode`\#=12 \gdef\hash{#}}
\definecolor[PANTONE\hash 4625][c=0,m=0.6,y=1,k=0.79]
\definespotcolor[dark][PANTONE\hash
On 12-5-2010 12:55, Taco Hoekwater wrote:
Hi Hans,
Is there a nice way to get spot color names into the PDF in mkiv?
I now have:
{\catcode`\#=12 \gdef\hash{#}}
\definecolor[PANTONE\hash 4625][c=0,m=0.6,y=1,k=0.79]
\definespotcolor[dark][PANTONE\hash 4625][p=1]
but that does not really
\definecolor [blue] [c=1, m=.38, y=0, k=.64]
\definecolor [yellow] [c=0, m=.28, y=1, k=.06]
\definespotcolor [blue-100] [blue] [p=1]
\definespotcolor [yellow-100] [yellow] [p=1]
\definemultitonecolor [combicolor] [blue=.12, yellow=.28] [c=.1,
m=.1, y=.3, k=.1]
\definemultitonecolor
,spot=yes] % rgb= no needed
in MkII
\setupcolor [hex]
\definecolor[PantoneOneEightSeven][h=C40F2F,e=Pantone 187 U]
\definespotcolor[dtkred] [PantoneOneEightSeven][p=1.0]
\definespotcolor[dtkredlight][PantoneOneEightSeven][p=0.7]
\starttext
\blackrule[width=4cm,height=4cm,color
Hi,
in MkIV there is a problem when I set tints for a color.
This is a complete minimal example of my setup:
\setupcolors[state=start,rgb=no,cmyk=yes,spot=yes] % rgb= no needed in
MkII
\setupcolor [hex]
\definecolor[PantoneOneEightSeven][h=C40F2F,e=Pantone 187 U]
\definespotcolor[dtkred
isn't there a three-parameter version of \definecolor ?
It doesn't work.
\setupcolors[state=start]
\definecolor [MyBlue][blue][p=.2]
\starttext
\color[MyBlue]{Bla}
\stoptext
\definespotcolor (three args is too messy)
Ok! Then there are a lot of wiki-pages wrong.
Who
Wolfgang Werners-Lucchini wrote:
isn't there a three-parameter version of \definecolor ?
It doesn't work.
\setupcolors[state=start]
\definecolor [MyBlue][blue][p=.2]
\starttext
\color[MyBlue]{Bla}
\stoptext
\definespotcolor (three args is too messy)
Ok! Then there are a lot of wiki
isn't there a three-parameter version of \definecolor ?
It doesn't work.
\setupcolors[state=start]
\definecolor [MyBlue][blue][p=.2]
\starttext
\color[MyBlue]{Bla}
\stoptext
\definespotcolor (three args is too messy)
Ok! Then there are a lot of wiki-pages wrong.
Who
Wolfgang Werners-Lucchini wrote:
Hallo,
isn't there a three-parameter version of \definecolor ?
It doesn't work.
\setupcolors[state=start]
\definecolor [MyBlue][blue][p=.2]
\starttext
\color[MyBlue]{Bla}
\stoptext
\definespotcolor (three args is too messy
39 matches
Mail list logo