Fedora Packages

texlive-listings Subpackage of texlive

Typeset source code listings using LaTeX

The package enables the user to typeset programs (programming code) within LaTeX; the source code is read directly by TeX--no front-end processor is needed. Keywords, comments and strings can be typeset using different styles (default is bold for keywords, italic for comments and no special style for strings). Support for hyperref is provided. To use, \usepackage{listings}, identify the language of the object to typeset, using a construct like: \lstset{language=Python}, then use environment lstlisting for inline code. External files may be formatted using \lstinputlisting to process a given file in the form appropriate for the current language. Short (in-line) listings are also available, using either \lstinline|...| or |...| (after defining the | token with the \lstMakeShortInline command).

Releases Overview

Release Stable Testing
Fedora Rawhide svn66222-71.fc40 -
Fedora 40 svn66222-71.fc40 -
Fedora 39 svn66222-69.fc39 -
Fedora 38 svn55265-65.fc38 -
File a new bug report »
Package Info
Related Packages

You can contact the maintainers of this package via email at texlive dash maintainers at fedoraproject dot org.



Sources on Pagure