Skip to main content

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.

Metadata

Release files for pygments-style-rub 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pygments-style-rub 0.1.2
File Size Uploaded
pygments-style-rub-0.1.2.tar.gz 33.0 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for pygments-style-rub 0.1.2
File Interpreter ABI Platform
pygments_style_rub-0.1.2-py3.6.egg Legacy Egg format - - Details
pygments_style_rub-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 42.0 kB

Release files / pygments-style-rub-0.1.2.tar.gz

Download URL pygments-style-rub-0.1.2.tar.gz
Size 33.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c8df765d5b7d38e9dfe24907c16c472d914b008f996814f05e7075f6cde43ac7
BLAKE2b-256 checksum
How to use checksums
a2aa875713f6ec05d45bfdfa067fe740ad2982b39894ac10d91c876be6a8a9de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pygments_style_rub-0.1.2-py3.6.egg

Download URL pygments_style_rub-0.1.2-py3.6.egg
Size 4.2 kB
Tags Egg
SHA-256 checksum
How to use checksums
b65862d6b6b848ef97f6a5b78ddf7d3d4fcd7a85fb7ef238095a0b91fe18b2e7
BLAKE2b-256 checksum
How to use checksums
8413e2dbddda3d07fcec787adc9ae7bb80b1f88b99a191780edb12f3db06b551
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pygments_style_rub-0.1.2-py3-none-any.whl

Download URL pygments_style_rub-0.1.2-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
927d1a4f864fb68fdb49d00a9664df4cfdb21030a9653bed0298d2b19bd6dd5c
BLAKE2b-256 checksum
How to use checksums
688f850e671c0beed8658f10d435127d2ec01d699a8564ff07852f9fa7468800
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.2 This release

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page