ast-experimental
|
Last change
on this file since 4d5c8552 was c0527f8, checked in by caparsons <caparson@…>, 2 years ago |
|
added CAP annotation macro
|
-
Property mode
set to
100644
|
|
File size:
570 bytes
|
| Line | |
|---|
| 1 | \input{common}
|
|---|
| 2 | \CFAStyle % CFA code-style
|
|---|
| 3 | \lstset{language=CFA} % default language
|
|---|
| 4 |
|
|---|
| 5 | \newcommand{\newtermFont}{\emph}
|
|---|
| 6 | \newcommand{\Newterm}[1]{\newtermFont{#1}}
|
|---|
| 7 |
|
|---|
| 8 | \newcommand{\code}[1]{\lstinline[language=CFA]{#1}}
|
|---|
| 9 | \newcommand{\Go}[1]{\lstinline[language=Go]{#1}}
|
|---|
| 10 | \newcommand{\uC}{$\mu$\CC}
|
|---|
| 11 | \newcommand{\PAB}[1]{{\color{red}PAB: #1}}
|
|---|
| 12 | \newcommand{\CAP}[1]{{\color{orange}CAP: #1}}
|
|---|
| 13 |
|
|---|
| 14 | \newsavebox{\myboxA} % used with subfigure
|
|---|
| 15 | \newsavebox{\myboxB}
|
|---|
| 16 |
|
|---|
| 17 | \lstnewenvironment{java}[1][]
|
|---|
| 18 | {\lstset{language=java,moredelim=**[is][\protect\color{red}]{@}{@}}\lstset{#1}}
|
|---|
| 19 | {}
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.