pygments-style-rub

Ruhr-Uni Bochum Corporate Design colors for Pygments


License
BSD-3-Clause
Install
pip install pygments-style-rub==0.1.2

Documentation

A Pygments style based on the Corporate Design of the Ruhr-University Bochum.

preview.png

The color definitions have been taken from the Corporate Design Manual.

pygments-style-rub is compatible with Python 2 & 3.

Install the current PyPI release:

$ pip install pygments-style-rub

Or install the development version from GitHub:

$ pip install git+https://github.com/Holzhaus/pygments-style-rub

Usage

After installation, you can use rub like any other Pygments style, e.g. on the command line:

$ pygmentize -l python -O style=rub -o output.html code.py

Or you can use it with the minted package in LaTeX:

\documentclass{article}
\usepackage{minted}
\usemintedstyle{rub}
\begin{document}
    \inputminted{python}{code.py}
\end{document}

License

This project has been released under the terms of the BSD-License. Please read the LICENSE file for more information.