CTAN Comprehensive TeX Archive Network

pyjupyter – Lightweight environment for typesetting Python code

The pyjupyter package provides a lightweight and elegant environment for typesetting Python code in 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 studio via an included .cwl file for auto-completion.
  • Robust handling of Python comments (#) using an optional argument syntax.

Sources/macros/latex/contrib/pyjupyter
Documentation
Version1.0.0 2026-03-06
LicensesThe Project Public License 1.3c
Copyright2026 Bara Ouyèté Bright
MaintainerBara Ouyèté Bright
TopicsListing
See alsopynotebook

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

Community Comments

Loading...
Guest Book Sitemap Contact Contact Author