CTAN has a new package: colordoc
Date: May 13, 2010 7:26:23 PM CEST
This should reach your local mirror within a day.
Jim Hef{}feron
Saint Michael's College
........................................................................
The following information was provided by our fellow contributor:
Name of contribution: colordoc
Version number: 1
Author's name:s Federico Garcia
Summary description: Highlighting of braces and other TeX syntax conventions
License type: lppl
Announcement text:
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).
This package is located at http://tug.ctan.org/tex-archive/macros/latex/contrib/colordoc . More information is at http://tug.ctan.org/pkg/colordoc (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
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).
This package is located at http://tug.ctan.org/tex-archive/macros/latex/contrib/colordoc . More information is at http://tug.ctan.org/pkg/colordoc (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
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).
Package | colordoc |
Version | 2010-04-18 |
Copyright | 2010 Federico Garcia |
Maintainer | Federico Garcia-De Castro |