[NTG-context] TikZ and wrong drawing order

Hans Hagen pragma at wxs.nl
Thu Jun 11 23:12:17 CEST 2015


On 6/11/2015 7:27 PM, Mojca Miklavec wrote:
> Hi,
>
> I would like to ask for help for either finding a fix or some clever
> workaround for the following problem.
>
> If I use a TikZ picture as item symbol and additionally use background
> text, then the first symbol in itemize environment gets covered by the
> background. Here's an example:
>
> \usemodule
>      [tikz]
>
> \definesymbol[1]
>      [{\tikz\shade[shading=ball,ball color=blue] (0,0) circle (.2cm);}]

\startreusableMPgraphic{bullet}
     fill fullcircle
         scaled (1EmWidth)
         withshademethod "circular"
         withcolor red shadedinto blue ;
\stopreusableMPgraphic

\definesymbol[1]{\reuseMPgraphic{bullet}}

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list