Last change
on this file since f678c53b 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
|
Line | |
---|
1 | \input{common} |
---|
2 | \CFAStyle % CFA code-style |
---|
3 | \lstset{language=CFA} % default language |
---|
4 | \setlength{\gcolumnposn}{3in} |
---|
5 | |
---|
6 | \newcommand{\newtermFont}{\emph} |
---|
7 | \newcommand{\Newterm}[1]{\newtermFont{#1}} |
---|
8 | %\renewcommand{\newterm}[1]{\newtermFont{#1}} |
---|
9 | |
---|
10 | \newcommand{\code}[1]{\lstinline[language=CFA]{#1}} |
---|
11 | \newcommand{\Go}[1]{\lstinline[language=Go]{#1}} |
---|
12 | \newcommand{\uC}{$\mu$\CC} |
---|
13 | \newcommand{\PAB}[1]{{\color{red}PAB: #1}} |
---|
14 | \newcommand{\CAP}[1]{{\color{orange}CAP: #1}} |
---|
15 | |
---|
16 | \newsavebox{\myboxA} % used with subfigure |
---|
17 | \newsavebox{\myboxB} |
---|
18 | |
---|
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 | |
---|
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.