CTAN Comprehensive TeX Archive Network

examplep – Verbatim phrases and listings in

Examplep provides sophisticated features for typesetting verbatim source code listings, including the display of the source code and its compiled or output side-by-side, with automatic width detection and enabled page breaks (in the source), without the need for specifying the source twice. Special care is taken that section, page and footnote numbers do not interfere with the main document. For typesetting short verbatim phrases, a replacement for the \verb command is also provided in the package, which can be used inside tables and moving arguments such as footnotes and section titles. The listings package is used for syntax highlighting.

The accompanying codep package and the wrfiles.pl Perl script provide a convenient interface to the examplep package for authors of manuals. With codep it is possible to generate the source code, the or output and the compilable example file from a single source embedded into the appropriate place of the .tex document file.

LicensesGNU General Public License
MaintainerPéter Szabó
Contained inTeX Live as examplep
MiKTeX as examplep
TopicsMacro Demonstration

Download the contents of this package in one zip archive (434.2k).

Community Comments

Guest Book Sitemap Contact Contact Author