[NTG-context] Some problems with framing typed text.

Henning Hraban Ramm hraban at fiee.net
Tue Aug 10 20:00:47 CEST 2004


Am 10.08.2004 um 19:30 schrieb Brooks Moses:

> In the document I'm working on, I'd like to put some typed code bits 
> in frames, to get an appearance sort of like the code excerpts on the 
> ConTeXtWiki.  However, I've found myself needing to do a couple of 
> rather ugly hacks to get that to work right, and I'm hoping for some 
> suggestions on how to avoid that.

Did you try something like:

\setupbackground[background=screen, frame=on, color=blue]
\setuptyping[before=\startbackground, after=\stopbackground]

\starttyping
bla bla
\stoptyping


Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/


More information about the ntg-context mailing list