By loading colordoc on top of a documentation file (that uses Frank Mittelbach's doc package), the code listings will highlight pairs of curly braces with matching colors. Other delimiters like \if ... \fi, are highlighted, as well as the names of new commands. It makes code a little more readable, and it helps when you're writing it. Three options, including a non-color option designed for printing (which numbers the delimiters and underlines the new commands). License: lppl
Download the contents of this package in one zip archive (182.6k).
colordoc – Coloured syntax highlights in documentation
The package is used in documentation files (that use the doc package); with it the code listings will highlight (for example) pairs of curly braces with matching colors.
Other delimiters like \if ... \fi, are highlighted, as are the names of new commands.
All this makes code a little more readable, and helps during process of writing.
Three options are provided, including a non-color option designed for printing (which numbers delimiters and underlines new commands).
|License||The LaTeX Project Public License 1|
|Contained in||TeX Live as colordoc|
|MiKTeX as colordoc|
macros and tools for preparing documentation|