Tcode – Typesetting verbatim code: C, python,…
This is a package for typesetting code (e.g., C, python, julia,…). pdfTeX is enough for it (you can use it with LaTeX, but it does not need it). The package has a kernel supporting no language in particular and comes with support (syntax highlighting and other) for C, python and julia, in decreasing order.
The inline macro is \ncode{}, and the display ones \Code … \endCode, or \begin{Code} … \end{Code}. This package is much faster than the listings package, though for the time being it only comes with full support for C and to a lesser extent for python and julia. You are welcome to add support for other languages. You may take Tcode_example.tex and Tcode_julia.tex as templates.
| Quellen | /macros/generic/tcode |
| Dokumentation | |
| Version | 2026-10-07 |
| Lizenzen | Public Domain Software |
| Betreuer | Javier A. Múgica |
| Themen | Syntax-Highlighting Verbatim Listings |
Herunterladen des vollständigen Inhalts dieses Pakets in einem Zip-Archiv (166.2k).
Vorschläge
Vielleicht sind auch die folgenden Pakete von Interesse.
Bewertungskommentare