🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #1481

labeled boxes in troff

#1481
From: Phil Hughes
Date: Thu, 18 Jan 1990 19:26
18 lines
1028 bytes
I want to make boxes (tables) using troff with the label in the top line.
Example follows:

	+------- BOX LABEL ------+
	|                        |
	|  stuff inside of the   |
	|  box the way I want it |
	|                        |
	+------------------------+

I am looking for the "easy" way.  I know I can do it by drawing lines to
make the box but I would like to come up with an automated way to figure
out where the lines go.  Anyone fight with this and have a good answer?

Thanks.
-- 
Phil Hughes, SSC, Inc. P.O. Box 55549, Seattle, WA 98155  (206)FOR-UNIX
     uunet!pilchuck!ssc!fyl or attmail!ssc!fyl            (206)527-3385
Technical Details
Message-ID: <385@ssc.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!mit-eddie!uw-beaver!sumax!amc-gw!pilchuck!ssc!fyl

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!mit-eddie!uw-beaver!sumax!amc-gw!pilchuck!ssc!fyl
From: fyl@ssc.UUCP (Phil Hughes)
Newsgroups: comp.text,comp.unix.wizards
Subject: labeled boxes in troff
Keywords: troff tbl box labels
Message-ID: <385@ssc.UUCP>
Date: 18 Jan 90 19:26:20 GMT
Organization: SSC, Inc., Seattle, WA
Lines: 18