On Thu, 11 Jun 2015, 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);}]

\definecolor
   [backcol]
   [s=1,a=1,t=0.1]

\starttext

\startframedtext[width=4cm,background=color,backgroundcolor=backcol]
\startitemize
\item one
\item two
\item three
\stopitemize
\stopframedtext

\stoptext

Workaround (though I have no idea why this should work). Use

   background={foreground,color}

I wanted to test background={color, foreground}, but wrote the above by mistake and it works!!!

Aditya

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to