summaryrefslogtreecommitdiff
path: root/print/tex-listings
AgeCommit message (Collapse)AuthorFilesLines
2011-01-22Let tex-listings depend on tex-url instead of tex-ltxmisc, becauseminskim1-2/+3
url.sty is no longer included in tex-ltxmisc.
2010-09-14Update DISTFILES for TeX Live 2010. No functional change.minskim2-5/+6
2010-05-11Update DISTFILES.minskim2-7/+7
2009-08-03Import tex-listings-1.4 as print/tex-listings.minskim4-0/+42
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).