summaryrefslogtreecommitdiff
path: root/print/tex-listings/DESCR
diff options
context:
space:
mode:
Diffstat (limited to 'print/tex-listings/DESCR')
-rw-r--r--print/tex-listings/DESCR10
1 files changed, 10 insertions, 0 deletions
diff --git a/print/tex-listings/DESCR b/print/tex-listings/DESCR
new file mode 100644
index 00000000000..ddca997f816
--- /dev/null
+++ b/print/tex-listings/DESCR
@@ -0,0 +1,10 @@
+Typeset programs (programming code) within LaTeX. The source code is
+read directly by TeX. Keywords, comments and strings can be typeset
+using different styles (default is bold for keywords, italic for
+comments and no special style for strings). Includes support for
+hyperref. To use, simply \usepackage{listings}, identify the language
+with \lstset{language=Python}, then employ the \begin{lstlisting} ...
+\end{lstlisting} environment or the \lstinputlisting{filename.py}
+command. Short (in-line) listings are also available, using either
+\lstinline|...| or | ... | (after defining the | token with the
+\lstMakeShortInline command).