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]