| 1 |
# bussproofs-colorful — Color extension for bussproofs |
| 2 |
|
| 3 |
`bussproofs-colorful` extends the `bussproofs` package by adding color |
| 4 |
support for proof trees. It provides configurable colors for nodes, |
| 5 |
inference lines, and rule labels, together with a theme system and a |
| 6 |
scoped `ProofColors` environment. The package is minimally invasive and |
| 7 |
preserves the layout and spacing logic of `bussproofs`. |
| 8 |
|
| 9 |
## Features |
| 10 |
|
| 11 |
- Global color configuration via package options: |
| 12 |
- `nodecolor=<color>` |
| 13 |
- `linecolor=<color>` |
| 14 |
- `labelcolor=<color>` |
| 15 |
- `theme=<name>` |
| 16 |
- Built‑in themes: |
| 17 |
- `classic`, `dark`, `pastel`, `highcontrast` |
| 18 |
- Runtime color control: |
| 19 |
- `\SetNodeColor{<color>}` |
| 20 |
- `\SetLineColor{<color>}` |
| 21 |
- `\SetLabelColor{<color>}` |
| 22 |
- `\LoadProofTheme{<theme>}` |
| 23 |
- `\ResetProofColors` |
| 24 |
- Local color blocks using: |
| 25 |
```tex |
| 26 |
\begin{ProofColors}[node=red, line=gray] |
| 27 |
... |
| 28 |
\end{ProofColors} |
| 29 |
|
| 30 |
## Requirements |
| 31 |
- bussproofs |
| 32 |
- xcolor |
| 33 |
- kvoptions |
| 34 |
All are part of standard LaTeX distributions. |
| 35 |
|
| 36 |
## License |
| 37 |
This package is released under the |
| 38 |
LaTeX Project Public License (LPPL) version 1.3c or later. |
| 39 |
|
| 40 |
## Maintainer |
| 41 |
Julian (lambdaphoenix) |
| 42 |
|
| 43 |
## Development |
| 44 |
The package is developed openly on GitHub: |
| 45 |
|
| 46 |
Repository: https://github.com/lambdaphoenix/bussproofs-colorful |
| 47 |
Issue tracker: https://github.com/lambdaphoenix/bussproofs-colorful/issues |
| 48 |
|
| 49 |
## Distribution: |
| 50 |
The CTAN distribution includes: |
| 51 |
- bussproofs-colorful.sty - version 1.0 of the style file. |
| 52 |
- bussproofs-colorful-manual.pdf - The documentation. |
| 53 |
- bussproofs-colorful-manual.tex - Latex source for the documentation. |
| 54 |
- README - This file. |