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.

Palets work with names:<br />

\definepalet<br />

[complement]<br />

[red=cyan,green=magenta,blue=yellow]<br />

This is used as:<br />

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

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

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

\setuppalet[complement]%<br />

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

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

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

Rasters are still supported but normally one will use colors:<br />

\raster[.5]{\blackrule[width=3cm,height=1cm]}\quad<br />

\raster[.8]{\blackrule[width=3cm,height=1cm]}<br />

Of course the real turture test is MetaPost inclusion:<br />

\startMPcode<br />

path p ; p := fullcircle scaled 4cm ;<br />

fill p withcolor \MPcolor{spotone-t} ;<br />

fill p shifted(2cm,0cm) withcolor \MPcolor{spottwo-t} ;<br />

\stopMPcode<br />

<strong>The</strong>se transparent color circles up as:<br />

110 Colors redone

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

Saved successfully!

Ooh no, something went wrong!