CTAN Comprehensive TeX Archive Network

New on CTAN: pyjupyter

Datum: 8. März 2026 19:54:22 MEZ
Bara Ouyèté Bright submitted the pyjupyter package. Version number: 1.0.0 2026-03-06 License type: lppl1.3c Summary description: Lightweight environment for typesetting Python code Announcement text:
I am pleased to announce the first release of 'pyjupyter', a LaTeX package designed to typeset Python code with a visual style inspired by Jupyter Notebooks. The package provides a 'jupyter' environment based on tcolorbox and listings. It features out-of-the-box support for UTF-8 (French accents), customizable frames, and an optional line numbering system. A specific effort has been made to ensure robustness against common LaTeX/Python conflicts, such as the use of the '#' character in comments. The package also includes a .cwl file for TeXstudio users to provide auto-completion and syntax hinting.
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.

Paketpyjupyter
Version1.0.0 2026-03-06
Copyright2026 Bara Ouyèté Bright
BetreuerBara Ouyèté Bright

Ankündigungen

mehr

Gästebuch Seiten-Struktur Impressum Autor kontaktieren