* framed verbatim text
@ 2003-05-12 20:11 Jedrzej Nasiadek
2003-05-17 17:46 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Jedrzej Nasiadek @ 2003-05-12 20:11 UTC (permalink / raw)
Hi,
I'm trying to make a frame around the verbatim text. The approach that
first came to my mind:
\framed{%
\starttyping
quite a lot
of
multiline verbatim stuff
\stoptyping}
doesn't work.
Any ideas how to achieve that (and still have possibility of applying
background to that frame)?
regards,
Jedrzej
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: framed verbatim text
2003-05-12 20:11 framed verbatim text Jedrzej Nasiadek
@ 2003-05-17 17:46 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2003-05-17 17:46 UTC (permalink / raw)
At 22:11 12/05/2003 +0200, you wrote:
>Hi,
>
>I'm trying to make a frame around the verbatim text. The approach that
>first came to my mind:
>\framed{%
> \starttyping
> quite a lot
> of
> multiline verbatim stuff
> \stoptyping}
>doesn't work.
>
>Any ideas how to achieve that (and still have possibility of applying
>background to that frame)?
for verbatim that is part of the text flow:
\setupcolors[state=start]
\definetextbackground
[whatever]
[state=start,
before=\blank,
after=\blank,
location=paragraph]
\setuptyping
[before={\starttextbackground[whatever]},
after={\stoptextbackground}]
\starttext
test
\starttyping
whatever
you want to
do
\stoptyping
test
\stoptext
otherwise use \startframedtext ... \stopframedtext
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] 2+ messages in thread
end of thread, other threads:[~2003-05-17 17:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-12 20:11 framed verbatim text Jedrzej Nasiadek
2003-05-17 17:46 ` 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).