B. Tommy Jensen wrote:
> Hi,
> I have a short question about verbatim areas (\starttyping):
> 
> I have been trying to define a background color to verbatim
> areas in a document. My method so far is to define a
> textbackground named "verbatim" and refer to this in the
> setuptyping method:
> 
> \setuptyping[typing][margin=0.5cm,bodyfont=8.0pt,
> before={\starttextbackground[verbatim]},
> after={\stoptextbackground}]
> 
> This works only partly. For example, when using long
> verbatim texts that spans over more than one page,
> the background color disappears on the last page.
> 
> Is there any other easy way of controlling the background
> color on verbatim areas?

can you make a small example that shows where it goes wrong?

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to