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 complete contents of this directory 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
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|
|Copyright||2010 Federico Garcia|
|Contained in||TeXLive as colordoc|
|MiKTeX as colordoc|
macros and tools for preparing documentation|