summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/latexindent/cmhlistings.tex
blob: b056bd23f79e3bcb261c69119a47fbb8a9c18b2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
\newcommand{\cmhlistingsfromfile}[3]{
.. literalinclude:: #1^^J
^^I:caption: #2^^J
^^I:name: #3^^J
}
\newcommand{\cmhlistingsfromfilefour}[5]{
.. literalinclude:: #3^^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
}{}