CTAN masthead graphic CTAN lion sketch

Directory: CTAN home / tex-archive/ macros/ generic/ shade

You can get this entire directory bundled as shade.zip.

Packages located here

Package Caption
shade Shade pieces of text.

Subdirectories of this one

There are no subdirectories here.

Files in this directory

NameDateSize Description
README 2006-05-29 1 Kbyte download Shown below
description.pdf 2006-05-29 25 Kbyte download
description.tex 2006-05-29 1 Kbyte download
shade.mf 2006-05-29 1 Kbyte download
shade.tex 2006-05-29 2 Kbyte download

Contents of the README file

A `frequently asked question' is that for possibilites to produce
shaded boxes.

Since the answers usually (just as recently) point either to PostScript
\special's and PiCTeX it seems that a `simpler' and easier to use version
is not readily available --- though I did not check this.

A small and simple approach to shaded boxes is the use of a special font
providing shaded rectangles, and some macros which automatically compose the
desired box from these characters.

Since, of course, the finest shading can be achieved by using single pixels
for the pattern, the best shading pattern is *device dependent*.
Furthermore, one generally defined shading pattern would imply the danger,
that - because of rounding errors - at the boundaries (between two of the
characters) `lines' would occur, and that the pattern would not look completely
uniform.  Consequently, since different fonts are to be used for different
printers, the dvi file is *device dependent* in this sense, too, though the
code - both for the macros and for the metafont description - is device
independent.

Small print: This listing is regenerated periodically so there is a small chance that the directory has changed from what is shown here; to be sure, check the FTP listing.