Skip to main content

Ruhr-Uni Bochum Corporate Design colors for Pygments

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pygments-style-rub, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size pygments_style_rub-0.1.2-py3.6.egg (4.2 kB) File type Egg Python version 3.6 Upload date Hashes View
Filename, size pygments_style_rub-0.1.2-py3-none-any.whl (4.8 kB) File type Wheel Python version 3.6 Upload date Hashes View
Filename, size pygments-style-rub-0.1.2.tar.gz (33.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page