ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* textbackground again...
@ 2003-03-27 13:50 Patrick Gundlach
  2003-03-27 17:50 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Gundlach @ 2003-03-27 13:50 UTC (permalink / raw)


Hi there,

why is frame=on and the offset ignored? (Why do I need ... enlarged
in MPgrahic?)


\mainlanguage[de]
\setupcolors[state=start]

\startuseMPgraphic{mpos:par:columnset:shade}
   for i := 1 upto nofmultipars :
    linear_shade(multipars[i] enlarged 5pt cornered 20pt,1,
                  \MPcolor{middlegreen},\MPcolor{lightgreen}); 
   endfor ;
\stopuseMPgraphic

\definetextbackground[info]
  [backgroundoffset=5pt,
   location=paragraph,
   frame=on,
   mp=mpos:par:columnset:shade,
    ]

\starttext
\starttextbackground[info]
Stolz auf diesen Sieg flog die M\"ucke davon, um ihn aller
Welt auszuposaunen, \"ubersah aber das Gewebe einer Spinne
und verfing sich in demselben. Gierig umarmte die Spinne
sie und sog ihr das Heldenblut aus. Sterbend empfand die
M\"ucke ihre Nichtigkeit, indem sie, die Besiegerin des
L\"owen, einem so ver\"achtlichen Tiere, einer Spinne,
erliegen mu\SS te. 
\stoptextbackground
\stoptext


Patrick

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-27 17:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-27 13:50 textbackground again Patrick Gundlach
2003-03-27 17:50 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).