Try Timothy van Zandt's fancybox.sty, from a CTAN site near you
--
Robin (Campaign for Real Radio 3) Fairbairns r...@cl.cam.ac.uk
U of Cambridge Computer Lab, Pembroke St, Cambridge CB2 3QG, UK
> I would like to know how I can put a box around some text that I've included
> using the verbatim mode in LaTeX. I am writing a document that a number of
> example screens and I'd like to put a box around them to 1) give the illusion
> that they're screens and 2) to separate the text from the rest of the
> document.
I used PicMode to convert the ascii text into a .tex file. The result may be
put into a \framebox, e.g. inside a picture environment with caption.
Kind regards, <kees>
> Newsgroups: comp.text.tex
> Organization: PTT Research, The Netherlands
> jdw...@iastate.edu (Jason White) writes:
> Kind regards, <kees>
The following solution also works
\newbox\mybox
\setbox\mybox{\begin{verbatim}
verbatim text
\end{verbatim}}
\framebox{\box\mybox}
Eric
--
Eric Domenjoud
CRIN/CNRS & INRIA-Lorraine
Bat. Loria -- BP 239
F-54506 Vandoeuvre-les-Nancy CEDEX
FRANCE
E-mail: Eric.Do...@loria.fr
Tel: (+33) 83 59 30 19
Fax: (+33) 83 27 83 19