Changes

Jump to navigation Jump to search
457 bytes added ,  15:00, 29 November 2009
→‎Metapost: withcolor not applied to text
These are in fact the exact same rules that you have to adhere to in mkii if <cmd>runMPgraphicsfalse</cmd> is active.
 
 
Another difference is the way text is handled in mkiv. In particular, color (<code>withcolor</code>)
is not applied to metapost text. For example,
 
<texcode>
draw thelabel(decimal i, (i, 0) scaled 1cm) withcolor red ;
</texcode>
 
currently does <b>not</b> work in mkiv. However,
 
<texcode>
label((textext("\color[red]"& decimal i), (i, 0) scaled 1cm) ;
</texcode>
 
does work (note that <code>\color[red]</code> can also be abbreviated <code>\red</code>).
= Indices and sorting =
148

edits

Navigation menu