ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re[2]: Backgrounds
@ 2003-03-25  8:46 Hans Hagen
  2003-03-25 10:43 ` Re[3]: Backgrounds Giuseppe Bilotta
  0 siblings, 1 reply; 30+ messages in thread
From: Hans Hagen @ 2003-03-25  8:46 UTC (permalink / raw)


At 07:52 PM 3/24/2003 +0100, you wrote:

>Actually I did have a look at it (assuming you're talking about
>textbackgrounds), but I found their behaviour to be rather
>different from that of backgrounds even when location=paragraph.
>For example, setting frame=on doesn't give me a frame, and it
>doesn't seem to support rounded corners for neither the background
>nor the frame. Also, setting a largish offset "covers" the text
>that precedes the background, and this isn't nice at all. I think
>that textbackgrounds and backgrounds serve different purpouses.
>
>And what about the other requests? (Behaviour at splits, different
>corner styles)

\starttext

\setupcolors[state=start]

\definetextbackground[gb][state=start]

\startuseMPgraphic{mpos:par:columnset}
   for i := 1 upto nofmultipars :
     fill multipars[i] enlarged 5pt cornered 5pt withcolor green ;
     draw multipars[i] enlarged 5pt cornered 5pt withcolor red ;
   endfor ;
\stopuseMPgraphic

\input tufte \blank
\starttextbackground[gb]
\dorecurse{10}{\input tufte \par}
\stoptextbackground
\blank \input tufte

\stoptext

they split, can have corners, lay behind the text, ...

only some spacing issues need to be solved (working on that on and off)

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

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

end of thread, other threads:[~2003-04-21 18:33 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-25  8:46 Re[2]: Backgrounds Hans Hagen
2003-03-25 10:43 ` Re[3]: Backgrounds Giuseppe Bilotta
2003-03-25 12:25   ` Hans Hagen
2003-03-25 14:36     ` Re[4]: Backgrounds Giuseppe Bilotta
2003-03-25 15:18       ` Hans Hagen
2003-03-25 17:00         ` Re[5]: Backgrounds Giuseppe Bilotta
2003-04-09 14:52       ` Backgrounds Patrick Gundlach
2003-04-09 16:57         ` Re[2]: Backgrounds Giuseppe Bilotta
2003-04-10  9:50           ` Backgrounds Patrick Gundlach
2003-04-10 11:43             ` Re[2]: Backgrounds Giuseppe Bilotta
2003-04-18 14:33             ` Backgrounds Johannes Hüsing
2003-04-18 14:36               ` Re[2]: Backgrounds Giuseppe Bilotta
2003-04-19 13:35               ` Backgrounds Patrick Gundlach
2003-04-10 20:00           ` Re[2]: Backgrounds Hans Hagen
2003-04-11 13:35             ` Re[3]: Backgrounds Giuseppe Bilotta
2003-04-11 16:02               ` Hans Hagen
2003-04-11 16:21                 ` Backgrounds Patrick Gundlach
2003-04-11 17:15                 ` Re[4]: Backgrounds Giuseppe Bilotta
2003-04-11 17:40                 ` Re[3]: Backgrounds John Culleton
2003-04-13 23:06                 ` supp-emp.tex \EMlinewd Hartmut Henkel
2003-04-14  6:48                   ` Hans Hagen
2003-04-18 14:41                 ` Re[4]: Backgrounds Giuseppe Bilotta
2003-04-19 10:42                   ` Hans Hagen
2003-04-19 12:10                     ` Re[5]: Backgrounds Giuseppe Bilotta
2003-04-21 11:13                       ` Hans Hagen
2003-04-21 18:33                         ` Re[6]: Backgrounds Giuseppe Bilotta
2003-03-25 18:00   ` Error: /undefined in NP scarso luigi
2003-03-26 12:55     ` scarso luigi
2003-03-26 14:04       ` Jens-Uwe Morawski
2003-03-28  7:41         ` scarso luigi

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).