Sunday, March 23, 2003 Idris S Hamid wrote:

>> You need to specify both background=color and
>> backgroundcolor=darkyellow, AFAIK.

ISH> I just tried this, now I lose the (formerly grey) background band
ISH> completey; and there is no effect in the overlay:

ISH> ==============
ISH> \def\ALAVIband{\midaligned{
ISH> |               \vbox{\hsize=15cm
ISH> |               \setupcolors[state=start]
ISH> |               \setupbackground[background=color, %%% your change
ISH> |                                foregroundcolor=darkgreen,
ISH> |                                backgroundcolor=darkblue
ISH> |                                ]
ISH> |               \startbackground
ISH> |               \hbox{}\vskip14pt
ISH> |               \midaligned{\tfa THE ALAVI FOUNDATION}

ISH> |               \stopbackground
ISH> |               }
ISH> |              }
ISH> |             }

Looks like a bug in the backgrounds system. In the mean time, what
about this?

\defineframed[alaviframe][
                  frame=off,
                  background=color,
                  backgroundcolor=yellow,
                  foregroundcolor=darkgreen,
                  align=middle,
                  foregroundstyle=\tfa,
                  width=15cm,
                  ]
\def\ALAVIband{%
\alaviframe{\noindent\vskip14pt THE ALAVI FOUNDATION}
}



_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to