CTAN Comprehensive TeX Archive Network

examplep – Verbatim phrases and listings in

Ex­am­plep pro­vides so­phis­ti­cated fea­tures for type­set­ting ver­ba­tim source code list­ings, in­clud­ing the dis­play of the source code and its com­piled or out­put side-by-side, with au­to­matic width de­tec­tion and en­abled page breaks (in the source), with­out the need for spec­i­fy­ing the source twice. Spe­cial care is taken that sec­tion, page and foot­note num­bers do not in­ter­fere with the main doc­u­ment. For type­set­ting short ver­ba­tim phrases, a re­place­ment for the \verb com­mand is also pro­vided in the pack­age, which can be used in­side ta­bles and mov­ing ar­gu­ments such as foot­notes and sec­tion ti­tles. The list­ings pack­age is used for syn­tax high­light­ing.

The ac­com­pa­ny­ing codep pack­age and the wr­files.pl Perl script pro­vide a con­ve­nient in­ter­face to the ex­am­plep pack­age for au­thors of man­u­als. With codep it is pos­si­ble to gen­er­ate the source code, the or out­put and the com­pi­l­able ex­am­ple file from a sin­gle source em­bed­ded into the ap­pro­pri­ate place of the .tex doc­u­ment file.

Li­censesGNU Gen­eral Public Li­cense
Main­tainerPéter Sz­abó
Con­tained inTeX Live as ex­am­plep
MiKTeX as ex­am­plep

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

Com­mu­nity Com­ments

Guest Book Sitemap Contact Contact Author