Changes

Jump to navigation Jump to search
549 bytes added ,  01:00, 4 December 2012
no edit summary
</texcode>
Regarding the key « {{code|a »}}, which means transparency alternative method, there are a certain number of values (actually at least 13, from 0 to 12) whose meanings can be seen from below:
<texcode>
\definetransparency [difference] [11]
\definetransparency [exclusion] [12]
</texcode>
 
=== Defining derivative colors ===
 
Colors defined in terms of other colors are processed at the Lua end, unless they are direct clones. In that case, the new name is never told to Lua. That means that this does not work:
 
<texcode>
% direct clone, processed by TeX
\definecolor[ColorA][red]
% fails, ColorA not known to Lua
\definecolor[ColorB][.5(ColorA)]
</texcode>
 
Writing it as a fake fraction works.
 
<texcode>
% definition in terms of fraction, processed by Lua.
\definecolor[ColorA][1.0(red)]
% succeeds
\definecolor[ColorB][.5(ColorA)]
</texcode>
 
</texcode>
== Example ==
<!-- Please fill in an example if you can --context> </context>
== See also ==

Navigation menu