pyjupyter – Lightweight environment for typesetting Python code
The pyjupyter package provides a lightweight and elegant environment for typesetting Python code in LaTeX documents with a visual style inspired by Jupyter notebooks.
It leverages the listings package for syntax highlighting and tcolorbox for structured, breakable frames. Key features include:
- Full support for French accents and UTF-8 encoding.
- Intelligent syntax highlighting for Python operators and keywords.
- A dedicated numbered option for line numbering.
- Seamless integration with TeXstudio via an included .cwl file for auto-completion.
- Robust handling of Python comments (#) using an optional argument syntax.
| Quellen | /macros/latex/contrib/pyjupyter |
| Dokumentation | |
| Version | 1.0.0 2026-03-06 |
| Lizenzen | The LaTeX Project Public License 1.3c |
| Copyright | 2026 Bara Ouyèté Bright |
| Betreuer | Bara Ouyèté Bright |
| Enthalten in | TeX Live als pyjupyter |
| Themen | Listings |
| Siehe auch | pynotebook |
Herunterladen des vollständigen Inhalts dieses Pakets in einem Zip-Archiv (170.9k).
Ankündigungen
Vorschläge
Vielleicht sind auch die folgenden Pakete von Interesse.
Bewertungskommentare