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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

white black spottwo p=1.000<br />

white black spotone-t a=1.000 t=<strong>0.50</strong>0 p=1.000<br />

white black spottwo-t a=1.000 t=<strong>0.50</strong>0 p=1.000<br />

white black whatever p=.5,.5<br />

white black whatever-t a=1.000 t=<strong>0.50</strong>0 p=.5,.5<br />

Transparencies combine as follows:<br />

\blackrule[width=3cm,height=1cm,color=spotone-t]\hskip-1.5cm<br />

\blackrule[width=3cm,height=1cm,color=spotone-t]<br />

We can still clone colors and overload color dynamically. I used the following test code<br />

for the MkIV code:<br />

{\green green->red}<br />

\definecolor[green] [g=1]<br />

{\green green->green}<br />

\definecolor[green] [blue]<br />

{\green green->blue}<br />

\definecolor[blue] [red]<br />

{\green green->red}<br />

\freezecolorstrue<br />

\definecolor[blue] [red]<br />

\definecolor[green] [blue]<br />

\definecolor[blue] [r=1]<br />

{\green green->blue}<br />

green->red green->green green->blue green->red<br />

green->blue<br />

Of course palets and color groups are supported too. We seldom use colorgroups, but<br />

here is an example:<br />

\definecolorgroup<br />

[redish]<br />

[1.00:0.90:0.90,1.00:0.80:0.80,1.00:0.70:0.70,1.00:0.55:0.55,<br />

1.00:0.40:0.40,1.00:0.25:0.25,1.00:0.15:0.15,0.90:0.00:0.00]<br />

<strong>The</strong> redish color is called by number:<br />

\blackrule[width=3cm,height=1cm,depth=0pt,color=redish:1]\quad<br />

\blackrule[width=3cm,height=1cm,depth=0pt,color=redish:2]\quad<br />

\blackrule[width=3cm,height=1cm,depth=0pt,color=redish:3]<br />

Colors redone 109

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

Saved successfully!

Ooh no, something went wrong!