| 1 |
Verbatim phrases and listings in LaTeX |
| 2 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 3 |
README by [email protected] at Sun Jan 16 15:33:24 CET 2005 |
| 4 |
|
| 5 |
This directory contains the examplep LaTeX package, which provides |
| 6 |
sophisticated features for typesetting verbatim source code listings, |
| 7 |
including the display of the source code and its compiled LaTeX or METAPOST |
| 8 |
output side-by-side, with automatic width detection and enabled page breaks |
| 9 |
(in the source), without the need for specifying the source twice. Special |
| 10 |
care is taken so section, page and footnote numbers do not interfere with the |
| 11 |
main document. For typesetting short verbatim phrases, a replacement for the |
| 12 |
\verb command is also provided in the package, which can be used inside |
| 13 |
tables and moving arguments such as footnotes and section titles. The |
| 14 |
listings package is used for syntax highlighting. |
| 15 |
|
| 16 |
The article (eurotex_2005_examplep.pdf) reviews the design decisions made |
| 17 |
during the package development and also presents some interesting |
| 18 |
implementation internals. examplep is compared to standard LaTeX packages |
| 19 |
such as listings, ltxdoc, sverb and moreverb. The new codep package and its |
| 20 |
accomanying Perl script, which provide a convenient interface to the examplep |
| 21 |
package for authors of manuals, is also presented. With codep it is possible |
| 22 |
to generate the source code, the LaTeX or METAPOST output and the compilable |
| 23 |
example file onto the CD from a single source embedded into the appropriate |
| 24 |
place of the .tex document file. |
| 25 |
|
| 26 |
The software is free software, covered by the GNU GPL v2.0 or later. |
| 27 |
There is NO WARRANTY. |