🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #5973

latex: filled boxes of arbitrary size with specifiable gray levels

#5973
From: J Kolita
Date: Mon, 13 Mar 1989 16:52
37 lines
1861 bytes
Hi everybody!

I am wondering if someone has written some postscript
macros which can be called from tex/latex using \special
in order to include a heading, or a paragraph
of text in a box (with boundaries) such that
the box can be filled to a specified gray level.
For example, I want to have following kinds of boxes:

       ---------------------------------
      |  My heading in a filled box     |
       ---------------------------------

or,

      -----------------------------
      |  A paragraph of text which |
      |I want to be surrounded by  |
      |a box filled to a certain   |
      |level of grayness. I don't  |
      |want to have to specify the |
      |size of the box. I would    |
      |like postscript/latex/tex   |
      |to figure out the size of   |
      |the box depending on the    |
      |amount of text, the point   |
      |size, textwidth etc.        |
      ------------------------------

Also, it would be great if one could have boxes with rounded corners,
and reverse video (i.e. unfilled/outlined letters in a filled box).

Please send me a message if you have any macros like this.
I would appreciate getting a copy of such macros if you have any.
Thanks a lot!

Jugal Kalita (kalita@linc.cis.upenn.edu)
Technical Details
Message-ID: <8746@netnews.upenn.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!eecae!netnews.upenn.edu!linc.cis.upenn.edu!kalita
References: <28051@ucbvax.BERKELEY.EDU> <13562@duke.cs.duke.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!eecae!netnews.upenn.edu!linc.cis.upenn.edu!kalita
From: kalita@linc.cis.upenn.edu (J Kolita)
Newsgroups: comp.text
Subject: latex: filled boxes of arbitrary size with specifiable gray levels
Keywords: latex, tex, postscript
Message-ID: <8746@netnews.upenn.edu>
Date: 13 Mar 89 16:52:14 GMT
References: <28051@ucbvax.BERKELEY.EDU> <13562@duke.cs.duke.edu>
Sender: news@netnews.upenn.edu
Reply-To: kalita@linc.cis.upenn.edu.UUCP (J Kolita)
Distribution: usa
Organization: University of Pennsylvania
Lines: 37