🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #78

How to frame a whole paragraph in LaTeX?

#78
From: Robert Noel STURROCK
Date: Tue, 27 Oct 1992 08:50
27 lines
1147 bytes
Hello,

(hope this isn't a FAQ, but I couldn't see it there)

I'm aware that you can frame pieces of text using \fbox or \frambox, but
how can you place a frame around a whole paragraph?  What I want is something
like:


		----------------------------------------
		|	...			 ...   |
		|       ...lots of verbatim text!...   |
		.	...			 ...   .
		.				       .
		----------------------------------------

If I use \fbox{line one\\line two\\line three\\line four...}, then the
output appears all on one line.

Do I need to resort to \picture to achieve the desired effect?  I don't
care if the text if inside a \figure or not...


Thanks for any assistance


Rob
Technical Details
Message-ID: <9230119.21739@mulga.cs.mu.OZ.AU>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!sgiblab!munnari.oz.au!cs.mu.OZ.AU!munta.cs.mu.OZ.AU!rns

Show Full Headers
Complete Article Headers
Newsgroups: comp.text.tex
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!sgiblab!munnari.oz.au!cs.mu.OZ.AU!munta.cs.mu.OZ.AU!rns
From: rns@munta.cs.mu.OZ.AU (Robert Noel STURROCK)
Subject: How to frame a whole paragraph in LaTeX?
Message-ID: <9230119.21739@mulga.cs.mu.OZ.AU>
Sender: news@cs.mu.OZ.AU
Organization: Computer Science, University of Melbourne, Australia
Date: Tue, 27 Oct 1992 08:50:34 GMT
Lines: 27