Comprehensive TeX Archive Network

colordoc – Coloured syntax highlights in documentation

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).

Sources /macros/latex/contrib/colordoc
Ver­sion 2010-04-18
Li­cense The Project Public Li­cense 1
Main­tainer Fed­erico Gar­cia
Con­tained in TeX Live as col­or­doc
MiKTeX as col­or­doc
Topics macros and tools for prepar­ing doc­u­men­ta­tion

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

Com­mu­nity Com­ments



Here you can see a re­spec­tive di­a­gram in newer browsers.


Guest Book Sitemap Contact Contact Author