CTAN Comprehensive TeX Archive Network

CTAN update: pyjupyter

Date: March 12, 2026 8:50:20 PM CET
Bara Ouyèté Bright submitted an update to the pyjupyter package. Version number: 1.1.0 2026-03-11 License type: lppl1.3c Summary description: Lightweight environment for typesetting Python code Announcement text:
We are pleased to announce pyjupyter v1.1.0, the second release of the LaTeX package for displaying Python code in Jupyter-style boxes. This release introduces significant enhancements and customization options based on user feedback. Users can now select from multiple monospaced fonts, including sourcecodepro, beramono, inconsolata, lmtt, courier, and txtt, allowing greater typographic flexibility. The package also supports adjustment of the code font size using standard LaTeX sizes such as tiny, scriptsize, footnotesize, small, normalsize, and large. Syntax highlighting has been improved to handle Python operators, keywords, and comments more accurately for better readability. Additionally, all tcolorbox options are now fully supported, including background and frame colors, corner rounding, spacing, and other layout customizations. Line numbering can be easily enabled using the built-in numbered option. This version maintains the package’s focus on providing a clean, minimal, and robust environment for embedding Python code in LaTeX documents, making it ideal for scientific reports, teaching materials, and reproducible research.
This package is located at https://mirrors.ctan.org/macros/latex/contrib/pyjupyter More information is at https://www.ctan.org/pkg/pyjupyter
Thanks for the upload. For the CTAN Team Erik Braun
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs

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.
  • Font selection.
  • Code size modification.

Packagepyjupyter
Version1.1.0 2026-03-11
Copyright2026 Bara Ouyèté Bright
MaintainerBara Ouyèté Bright

Announcements

more

Guest Book Sitemap Contact Contact Author