CTAN Comprehensive TeX Archive Network

Codemwe – Typeset code with a result box and generate MWE files

This package typesets example code together with its compiled result and writes out a minimal, independently compilable source file for every example. It is written in expl3 and built on tcolorbox, fancyvrb and graphicx.

The package was written for manuals, teaching material and package documentation, where the same snippet has to appear three times: as displayed code, as a result, and as a standalone file that the reader can compile. codemwe keeps these three representations in step from a single source.

Sources/macros/latex/contrib/codemwe
Documentation
Bug tracker
Repository
Version1.1.0
LicensesThe Project Public License 1.3c
Copyright2026 Nan Geng
MaintainerNan Geng
TopicsVerbatim
Listing
Debug support

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

Community Comments

Loading...

Package Links

Guest Book Sitemap Contact Contact Author