summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/latexindent/cmhlistings.tex
blob: 85aff0881cd8e361f5a38d56e82204f871a4ba70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
\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
}{}