summaryrefslogtreecommitdiff
path: root/support/latexindent/documentation/cmhlistings.tex
blob: 1f058616d6d61a87804338b89eff8dbcfb2c9488 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
\newcommand{\cmhlistingsfromfile}[4]{
.. literalinclude:: #1^^J
^^I:class: .#4^^J
^^I:caption: #2^^J
^^I:name: #3^^J
}
\newcommand{\cmhlistingsfromfilefour}[6]{
.. literalinclude:: #3^^J
^^I:class: .#6^^J
^^I:caption: #4^^J
^^I:name: #5^^J
^^I:lines: #1-#2^^J
^^I:linenos:^^J
^^I:lineno-start: #1^^J
}
\newcommand{\cmhlabel}[1]{
.. _#1:^^J
}
\newcommand{\warning}[1]{
.. warning::^^J
#1^^J
.. endwarning::^^J
}
\newcommand{\example}[1]{
.. proof:example::^^J
#1^^J
.. endproof:example::^^J
}