3
V'íc¨ ã @ sD d Z ddlmZ ddlmZmZmZmZmZm Z G dd deZ
dS )aÎ
pygments.styles.algol
~~~~~~~~~~~~~~~~~~~~~
Algol publication style.
This style renders source code for publication of algorithms in
scientific papers and academic texts, where its format is frequently used.
It is based on the style of the revised Algol-60 language report[1].
o No colours, only black, white and shades of grey are used.
o Keywords are rendered in lowercase underline boldface.
o Builtins are rendered in lowercase boldface italic.
o Docstrings and pragmas are rendered in dark grey boldface.
o Library identifiers are rendered in dark grey boldface italic.
o Comments are rendered in grey italic.
To render keywords without underlining, refer to the `Algol_Nu` style.
For lowercase conversion of keywords and builtins in languages where
these are not or might not be lowercase, a supporting lexer is required.
The Algol and Modula-2 lexers automatically convert to lowercase whenever
this style is selected.
[1] `Revised Report on the Algorithmic Language Algol-60 <http://www.masswerk.at/algol60/report.htm>`
:copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
é )ÚStyle)ÚKeywordÚNameÚCommentÚStringÚErrorÚOperatorc @ sh e Zd ZdZedejdejdedejde j
de j
jde jde j
de jde jde jdejded ed
iZdS )Ú
AlgolStylez#ffffffzitalic #888zbold noitalic #888zunderline boldZitaliczbold italiczbold italic #666Zboldzitalic #666zborder:#FF0000N)Ú__name__Ú
__module__Ú__qualname__Zbackground_colorr ZPreprocÚSpecialr ZDeclarationr ZBuiltinZPseudoÚ NamespaceZClassZFunctionÚVariableÚConstantr ÚWordr r Zstyles© r r ú9/tmp/pip-build-gk9425m9/Pygments/pygments/styles/algol.pyr $ s r N)Ú__doc__Zpygments.styler Zpygments.tokenr r r r r r r r r r r Ú<module> s