Changeset 3eb5f993 for doc/theses


Ignore:
Timestamp:
Jun 12, 2024, 9:09:12 AM (6 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
4c8f29ff
Parents:
f1d2c44
Message:

add missing keywords match and case to Python lstnewenvironment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/jiada_liang_MMath/uw-ethesis.tex

    rf1d2c44 r3eb5f993  
    106106\lstnewenvironment{rust}[1][]{\lstset{language=Rust,escapechar=\$,moredelim=**[is][\color{red}]{@}{@},}\lstset{#1}}{}
    107107\lstnewenvironment{swift}[1][]{\lstset{language=Swift,escapechar=\$,moredelim=**[is][\color{red}]{@}{@},}\lstset{#1}}{}
    108 \lstnewenvironment{python}[1][]{\lstset{language=Python,escapechar=\$,moredelim=**[is][\color{red}]{@}{@},}\lstset{#1}}{}
     108\lstnewenvironment{python}[1][]{\lstset{language=Python,morekeywords={match,case},
     109        escapechar=\$,moredelim=**[is][\color{red}]{!}{!},}\lstset{#1}}{}
    109110\lstnewenvironment{ocaml}[1][]{\lstset{language=OCaml,escapechar=\$,moredelim=**[is][\color{red}]{@}{@},}\lstset{#1}}{}
    110111
Note: See TracChangeset for help on using the changeset viewer.