Changeset 8bdc9705 for doc/LaTeXmacros
- Timestamp:
- Mar 12, 2024, 6:07:32 PM (9 months ago)
- Branches:
- master
- Children:
- 56a8eb8
- Parents:
- 423c0cd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/LaTeXmacros/lstlang.sty
r423c0cd r8bdc9705 8 8 %% Created On : Sat May 13 16:34:42 2017 9 9 %% Last Modified By : Peter A. Buhr 10 %% Last Modified On : Sat Mar 9 17:03:58 202411 %% Update Count : 4 110 %% Last Modified On : Tue Mar 12 17:29:58 2024 11 %% Update Count : 42 12 12 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 13 13 … … 99 99 } 100 100 101 \lstdefinelanguage{pseudo}{ 102 morekeywords={string,uint,int,bool,float}, 103 sensitive=true, 104 morecomment=[l]{//}, 105 morecomment=[s]{/*}{*/}, 106 morestring=[b]', 107 morestring=[b]", 108 morestring=[s]{`}{`}, 109 } 101 \lstdefinelanguage{OCaml}% 102 {morekeywords={ 103 and, as, asr, assert, begin, class, constraint do, done, downto, else, end, exception, external, 104 false, for, fun, function, functor, if, in, include, inherit, initializer, land, lazy, let, lor, lsl, lsr, lxor, 105 match, method, mod, module, open, mutable, new, nonrec, object, of, open, open!, or, private, rec, 106 sig, struct, then, to, true, try, type, val, virtual, when, while, with 107 }, 108 sensitive,% 109 morecomment=[n]{(*}{*)},% 110 morestring=[d]"% 111 }[keywords,comments,strings]% 110 112 111 113 % CFA programming language, based on ANSI C (with some gcc additions) … … 135 137 } 136 138 139 % pseudo code 140 \lstdefinelanguage{pseudo}{ 141 morekeywords={string,uint,int,bool,float}, 142 sensitive=true, 143 morecomment=[l]{//}, 144 morecomment=[s]{/*}{*/}, 145 morestring=[b]', 146 morestring=[b]", 147 morestring=[s]{`}{`}, 148 } 149 137 150 % Local Variables: % 138 151 % tab-width: 4 %
Note: See TracChangeset
for help on using the changeset viewer.