summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlpsrc/listings.tlpsrc
blob: 5fbfdf1b1a614a4e4577664ddc789e44f93c572f (plain)
1
2
3
4
5
6
7
8
9
10
11
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]