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 | |
| Version | 1.1.0 |
| Licenses | The LaTeX Project Public License 1.3c |
| Copyright | 2026 Nan Geng |
| Maintainer | Nan Geng |
| Topics | Listing Debug support Verbatim |
Download the contents of this package in one zip archive (811.1k).
Suggestions
Maybe you are interested in the following packages as well.
Community Comments