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.

Source Distribution

pygments-style-rub-0.1.2.tar.gz (33.0 kB view hashes)

Uploaded source

Built Distributions

pygments_style_rub-0.1.2-py3.6.egg (4.2 kB view hashes)

Uploaded 3 6

Supported by

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