Last change
on this file since 3be81a4 was
1ba3959,
checked in by Peter A. Buhr <pabuhr@…>, 17 months ago
|
change default horizontal comment position
|
-
Property mode set to
100644
|
File size:
845 bytes
|
Rev | Line | |
---|
[9a5a2cd] | 1 | \input{common} |
---|
[9432499] | 2 | \CFAStyle % CFA code-style |
---|
| 3 | \lstset{language=CFA} % default language |
---|
[1ba3959] | 4 | \setlength{\gcolumnposn}{3in} |
---|
[9a5a2cd] | 5 | |
---|
[39b2403] | 6 | \newcommand{\newtermFont}{\emph} |
---|
| 7 | \newcommand{\Newterm}[1]{\newtermFont{#1}} |
---|
[1ba3959] | 8 | %\renewcommand{\newterm}[1]{\newtermFont{#1}} |
---|
[39b2403] | 9 | |
---|
[9363b1b] | 10 | \newcommand{\code}[1]{\lstinline[language=CFA]{#1}} |
---|
[ca8c91ce] | 11 | \newcommand{\Go}[1]{\lstinline[language=Go]{#1}} |
---|
[9a5a2cd] | 12 | \newcommand{\uC}{$\mu$\CC} |
---|
[39b2403] | 13 | \newcommand{\PAB}[1]{{\color{red}PAB: #1}} |
---|
[c0527f8] | 14 | \newcommand{\CAP}[1]{{\color{orange}CAP: #1}} |
---|
[39b2403] | 15 | |
---|
| 16 | \newsavebox{\myboxA} % used with subfigure |
---|
| 17 | \newsavebox{\myboxB} |
---|
[9a5a2cd] | 18 | |
---|
[c67957e] | 19 | \lstnewenvironment{Golang}[1][] |
---|
| 20 | {\lstset{language=Go,literate={<-}{\makebox[2ex][c]{\textless\raisebox{0.4ex}{\rule{0.8ex}{0.075ex}}}}2, |
---|
| 21 | moredelim=**[is][\protect\color{red}]{@}{@}}\lstset{#1}} |
---|
| 22 | {} |
---|
| 23 | |
---|
[39b2403] | 24 | \lstnewenvironment{java}[1][] |
---|
| 25 | {\lstset{language=java,moredelim=**[is][\protect\color{red}]{@}{@}}\lstset{#1}} |
---|
| 26 | {} |
---|
Note: See
TracBrowser
for help on using the repository browser.