Debian Codegraph @

texmf-dist/doc/generic/shade/README

raw
1 Copyright 1993, 2011 Peter Schmitt, schmitp7 at univie dot ac dot at
2
3 This shade package is released under the LaTeX Project Public License,
4 version 1, or (at your option) any later version. It includes this
5 README, description.tex, shade.mf, shade.tex, and the derived file
6 description.pdf
7
8 Version 1 was released March 21, 1993.
9 License clarified in 2011.
10
11 A `frequently asked question' is for ways to produce shaded boxes.
12
13 Since the answers usually (just as recently) point either to PostScript
14 \special's, PiCTeX, PSTricks, etc. it seems that a `simpler' and easier to use version
15 is not readily available -- though I did not check this.
16
17 A small and simple approach to shaded boxes is the use of a special font
18 providing shaded rectangles, and some macros which automatically compose the
19 desired box from these characters.
20
21 Since, of course, the finest shading can be achieved by using single pixels
22 for the pattern, the best shading pattern is *device dependent*.
23 Furthermore, one generally defined shading pattern would imply the danger,
24 that - because of rounding errors - at the boundaries (between two of the
25 characters) `lines' would occur, and that the pattern would not look completely
26 uniform. Consequently, since different fonts are to be used for different
27 printers, the dvi file is *device dependent* in this sense, too, though the
28 code - both for the macros and for the metafont description - is device
29 independent.