Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/colordoc

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

Down­load the con­tents of this pack­age in one zip archive (182.6k).

col­or­doc – Coloured syn­tax high­lights in doc­u­men­ta­tion

The pack­age is used in doc­u­men­ta­tion files (that use the doc pack­age); with it the code list­ings will high­light (for ex­am­ple) pairs of curly braces with match­ing col­ors.

Other de­lim­iters like \if ... \fi, are high­lighted, as are the names of new com­mands.

All this makes code a lit­tle more read­able, and helps dur­ing pro­cess of writ­ing.

Three op­tions are pro­vided, in­clud­ing a non-color op­tion de­signed for print­ing (which num­bers de­lim­iters and un­der­lines new com­mands).

Ver­sion 2010-04-18
Li­cense The Project Public Li­cense 1
Copy­right2010 Fed­erico Gar­cia
Main­tainer Fed­erico Gar­cia
Con­tained inTeX Live as col­or­doc
MiKTeX as col­or­doc
Topics macros and tools for prepar­ing doc­u­men­ta­tion
Guest Book Sitemap Contact Contact Author