A Pygments style based on the Corporate Design of the Ruhr-University Bochum.
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
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}
This project has been released under the terms of the BSD-License. Please read
the LICENSE
file for more information.