On 23-11-2011 20:02, Kip Warner wrote:
On Wed, 2011-11-23 at 11:03 +0100, Hans Hagen wrote:
it depends .. if you have small boxes, you as well use a regular
framedtext (with background) or when you span pages you can use
textbackgrounds ... the backgrounds you use is some compromise

Hmm, I am using boxes that sometimes span multiple pages. This is what I
was using originally. How would it look if it used textbackgrounds?

\definestartstop
     [TimelineDocument]
     [before={
         \crlf
         \setupbackground[frame=on,
                          before=\blank,
                          after=\blank,
                          corner=round,
                          topoffset=0.5cm,
                          leftoffset=0.5cm,
                          rightoffset=0.5cm,
                          bottomoffset=0.5cm]
         \startbackground
             },
      after={
         \stopbackground
         \crlf
            },
      commands={\setupalign[yes]},
      style=italic]

\starttext
\startTimelineDocument
Some stuff in a box.
\stopTimelineDocument
\stoptext


google: context wiki textbackground

--

-----------------------------------------------------------------
                                          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
-----------------------------------------------------------------
___________________________________________________________________________________
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