29.05.2014 Views

The history of luaTEX 2006–2009 / v 0.50 - Pragma ADE

The history of luaTEX 2006–2009 / v 0.50 - Pragma ADE

The history of luaTEX 2006–2009 / v 0.50 - Pragma ADE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

white black t-green a=1.000 t=<strong>0.50</strong>0 r=0.000 g=1.000 b=0.000<br />

white black t-blue a=1.000 t=<strong>0.50</strong>0 r=0.000 g=0.000 b=1.000<br />

Because transparency is now separated from color, we can dene transparent behaviour<br />

as follows:<br />

\definecolor[half-transparent] [a=1,t=.5]<br />

Implementing process color spaces was not that complex, but spot and multitone colors<br />

took a bit more code.<br />

\definecolor [parentspot] [r=.5,g=.2,b=.8]<br />

\definespotcolor [childspot-1] [parentspot] [p=.7]<br />

\definespotcolor [childspot-2] [parentspot] [p=.4]<br />

<strong>The</strong> three colors, two <strong>of</strong> them are spot colors, show up as follows:<br />

color name transparency specification<br />

white black parentspot r=<strong>0.50</strong>0 g=0.200 b=0.800<br />

white black childspot-1 p=0.700<br />

white black childspot-2 p=0.400<br />

Multitone colors can also be dened:<br />

\definespotcolor [spotone] [red] [p=1]<br />

\definespotcolor [spottwo] [green] [p=1]<br />

\definespotcolor [spotone-t] [red] [a=1,t=.5]<br />

\definespotcolor [spottwo-t] [green] [a=1,t=.5]<br />

\definemultitonecolor<br />

[whatever]<br />

[spotone=.5,spottwo=.5]<br />

[b=.5]<br />

\definemultitonecolor<br />

[whatever-t]<br />

[spotone=.5,spottwo=.5]<br />

[b=.5]<br />

[a=1,t=.5]<br />

Transparencies don't carry over:<br />

color name transparency specification<br />

white black spotone p=1.000<br />

108 Colors redone

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!