| 1 |
Brief description of shadethm.sty. 24July95 |
| 2 |
|
| 3 |
shadethm.sty is a LaTeX2e package that allows declarations of the form |
| 4 |
\newshadetheorem{thm}{Theorem} |
| 5 |
or \newshadetheorem{}[]{} |
| 6 |
or \newshadetheorem{}{}[] |
| 7 |
to produce shaded boxes from the usual command \begin{theorem} .. \end{theorem} |
| 8 |
(It is an upgrade of my LaTeX2.09 style file that did roughly the same thing.) |
| 9 |
The shaded boxes can, of course, be set to different sizes and colors. The |
| 10 |
color package is required. |
| 11 |
|
| 12 |
Brief Usage: Put the files where your LaTeX2e looks for .sty files, then: |
| 13 |
\documentclass{article} |
| 14 |
\usepackage{shadethm} |
| 15 |
\newtheorem{lem}{Lemma} |
| 16 |
\newshadetheorem{thm}{Theorem} |
| 17 |
\begin{document} |
| 18 |
\begin{lem} aaaaaaa \end{lemma} |
| 19 |
\begin{thm} bbbbbb bbbbbb \end{thm} |
| 20 |
\end{document} |
| 21 |
produces a LaTeX lemma, not shaded, and a LaTeX theorem, shaded. |
| 22 |
More instructions are in shadethm.sty. |
| 23 |
|
| 24 |
There are four files: |
| 25 |
shadethm.sty, colored.sth, shadeins.sth, 1st_read.me; |
| 26 |
the second two provide package options to the first. |
| 27 |
|
| 28 |
[email protected] |