summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlpsrc/listings.tlpsrc
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/tlpsrc/listings.tlpsrc')
-rw-r--r--Master/tlpkg/tlpsrc/listings.tlpsrc12
1 files changed, 12 insertions, 0 deletions
diff --git a/Master/tlpkg/tlpsrc/listings.tlpsrc b/Master/tlpkg/tlpsrc/listings.tlpsrc
new file mode 100644
index 00000000000..5fbfdf1b1a6
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/listings.tlpsrc
@@ -0,0 +1,12 @@
+name listings
+category Package
+shortdesc Typeset source code listings using LaTeX.
+longdesc Typeset programs (programming code) within LaTeX. The source code
+longdesc is read directly by TeX. Keywords, comments and strings can be
+longdesc typeset using different styles (default is bold for keywords,
+longdesc italic for comments and no special style for strings). Includes
+longdesc support for hyperref. To use, simply \usepackage{listings},
+longdesc identify the language with \lstset{language=Python}, then employ
+longdesc the \begin{lstlisting} ... \end{lstlisting} environment or the
+longdesc \lstinputlisting{filename.py} command. [description copied from
+longdesc TeX Catalogue]