Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!stanford.edu!agate!ucbvax!AFSC-BMO.AF.MIL!johnm From: johnm@AFSC-BMO.AF.MIL (JohnM) Newsgroups: comp.text.tex Subject: putting a box around a figure in LaTeX Message-ID: <0682D18B86005F02@Post-Office.UH.EDU> Date: 7 Mar 91 13:38:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 27 I am trying to build a software user's manual (what a novel idea!) and am encountering a problem creating figures with boxes around them containing \verbatim text. I use the construct: \begin{figure}[ht] \caption{caption text} \framebox{6in}{ \begin{verbatim} %%% verbatim text \end{verbatim} } %% end of \framebox{} \end{figure} works great without the \framebox...with it, however, i get a splatter of LaTeX errors. I am sure it is possible to do what I want, I'm probably just looking in the wrong places. If anyone could help, i'd appreciate it. (go ahead, even bruise my ego with replies like: Hey, bub, look on page 32 of the LaTeX book...isn't that what you want? -- just kidding...i just need the help). john mulhollen as always, i'll summarize replies back to info-tex. (what a nice guy!).