Changes in doc/LaTeXmacros/common.tex [b1bdc7d6:c2183a3]
- File:
-
- 1 edited
-
doc/LaTeXmacros/common.tex (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/LaTeXmacros/common.tex
rb1bdc7d6 rc2183a3 228 228 229 229 % CFA programming language, based on ANSI C (with some gcc additions) 230 \lstdefinelanguage{Pseudo}{231 morekeywords={string,uint,int,bool,float},%232 sensitive=true,%233 morecomment=[l]{//},%234 morecomment=[s]{/*}{*/},%235 morestring=[b]',%236 morestring=[b]",%237 morestring=[s]{`}{`},%238 }%239 240 \lstset{241 language=Pseudo,242 columns=fullflexible,243 basicstyle=\linespread{0.9}\tt\small, % reduce line spacing and use typewriter font244 stringstyle=\sf\color{Mahogany}, % use sanserif font245 commentstyle=\itshape\color{OliveGreen}, % green and italic comments246 tabsize=4, % 4 space tabbing247 xleftmargin=\parindentlnth, % indent code to paragraph indentation248 extendedchars=true, % allow ASCII characters in the range 128-255249 escapechar=§, % escape to latex in CFA code250 mathescape=true, % allow $...$ LaTeX math escapes in code251 %keepspaces=true, %252 showstringspaces=false, % do not show spaces with cup253 showlines=true, % show blank lines at end of code254 aboveskip=4pt, % spacing above/below code block255 belowskip=3pt,256 moredelim=**[is][\color{red}]{®}{®}, % red highlighting257 moredelim=**[is][\color{blue}]{ß}{ß}, % blue highlighting258 moredelim=**[is][\color{OliveGreen}]{¢}{¢}, % green highlighting259 moredelim=[is][\lstset{keywords={}}]{¶}{¶}, % temporarily turn off keywords260 % replace/adjust listing characters that look bad in sanserif261 literate={-}{\raisebox{-0.15ex}{\texttt{-}}}1 {^}{\raisebox{0.6ex}{$\scriptscriptstyle\land\,$}}1 {©}{{\"u}}1262 {~}{\raisebox{0.3ex}{$\scriptstyle\sim\,$}}1 {_}{\makebox[1.2ex][c]{\rule{1ex}{0.1ex}}}1 {`}{\ttfamily\upshape\hspace*{-0.1ex}`}1263 {<-}{$\leftarrow$}2 {=>}{$\Rightarrow$}2,264 }%265 266 % CFA programming language, based on ANSI C (with some gcc additions)267 230 \lstdefinelanguage{CFA}[ANSI]{C}{ 268 231 morekeywords=[1]{_Alignas,_Alignof,__alignof,__alignof__,asm,__asm,__asm__,_At,_Atomic,__attribute,__attribute__,auto, … … 302 265 \lstMakeShortInline© % single-character for \lstinline 303 266 304 305 267 \let\Oldthebibliography\thebibliography 306 268 \renewcommand\thebibliography[1]{
Note:
See TracChangeset
for help on using the changeset viewer.