summaryrefslogtreecommitdiff
path: root/print/tex-listings-doc
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2009-08-03 23:45:46 +0000
committerminskim <minskim@pkgsrc.org>2009-08-03 23:45:46 +0000
commit3743776a9ce4858d6fa8fc9127c9a258da7b7b9a (patch)
tree9f0ccf7671355b7fe5819f5500dac51e39428c4d /print/tex-listings-doc
parentb006ac9f3605cc9de3c862a061d12359bc1e4049 (diff)
downloadpkgsrc-3743776a9ce4858d6fa8fc9127c9a258da7b7b9a.tar.gz
Import tex-listings-1.4 as print/tex-listings.
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).
Diffstat (limited to 'print/tex-listings-doc')
0 files changed, 0 insertions, 0 deletions