Menu
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

examplep – Verbatim phrases and listings in LaTeX

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 LaTeX 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 LaTeX or METAPOST 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.

Sources/macros/latex/contrib/examplep
Doc­u­men­ta­tion
Ver­sion0.04
Li­censeGNU Gen­eral Public Li­cense
Main­tainerPéter Sz­abó
Con­tained inTeXlive as ex­am­plep
MikTeX as ex­am­plep
Topics com­puter code list­ing

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

Guest Book Sitemap Contact 2014-04-23 23:14 CEST