diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/listings/listings.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/listings/listings.sty | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/listings/listings.sty b/Master/texmf-dist/tex/latex/listings/listings.sty index 36b08b58cf5..b938be3b362 100644 --- a/Master/texmf-dist/tex/latex/listings/listings.sty +++ b/Master/texmf-dist/tex/latex/listings/listings.sty @@ -16,8 +16,8 @@ %% Send comments and ideas on the package, error reports and additional %% programming languages to Jobst Hoffmann at <j.hoffmann@fh-aachen.de>. %% -\def\filedate{2019/02/27} -\def\fileversion{1.8b} +\def\filedate{2019/09/10} +\def\fileversion{1.8c} \NeedsTeXFormat{LaTeX2e} \AtEndOfPackage{\ProvidesPackage{listings} [\filedate\space\fileversion\space(Carsten Heinz)]} @@ -1575,6 +1575,7 @@ \gdef\thelstlisting{\@arabic\c@lstlisting} \fi} \lst@UserCommand\lstlistingname{Listing} +\lst@UserCommand\lstlistingnamestyle{} \lst@Key{numberbychapter}{true}[t]{\lstKV@SetIf{#1}\lst@ifnumberbychapter} \@ifundefined{abovecaptionskip} {\newskip\abovecaptionskip @@ -1592,8 +1593,8 @@ \vskip\belowcaptionskip}% }{} \def\fnum@lstlisting{% - \lstlistingname - \ifx\lst@@caption\@empty\else~\thelstlisting\fi}% + {\lstlistingnamestyle\lstlistingname + \ifx\lst@@caption\@empty\else~\thelstlisting\fi}}% \def\lst@MakeCaption#1{% \lst@ifdisplaystyle \ifx #1t% |