aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorProf. Dr. Jobst Hoffmann <ax006ho@doityourselfIV.athome>2019-09-11 13:45:39 +0200
committerProf. Dr. Jobst Hoffmann <ax006ho@doityourselfIV.athome>2019-09-11 13:45:39 +0200
commit474cf43976df7e48dd5177f5cee686fdf3918082 (patch)
tree9645d86fff321d2029f54a52279c16b40a010cd2
parentcdce1d30104d4f44bcf10a6ae4c65bb51f360743 (diff)
downloadlistings-474cf43976df7e48dd5177f5cee686fdf3918082.tar.gz
listings-474cf43976df7e48dd5177f5cee686fdf3918082.tar.bz2
more text about the use of \lstlistingnamestyle
-rw-r--r--listings.dtx23
1 files changed, 15 insertions, 8 deletions
diff --git a/listings.dtx b/listings.dtx
index 4624323..3896bb9 100644
--- a/listings.dtx
+++ b/listings.dtx
@@ -2729,9 +2729,12 @@
%
% \item[,{{}},data] \rcmdname\lstlistingnamestyle
%
-% The style of the caption label for listings, something
-% like |\small|, |\bfseries| or a combination of
-% several commands.
+% customizes the style of the caption label for program listings in a
+% simple way, something like |\small|, |\bfseries| or a combination
+% of several commands. If there is a need for a complete
+% customization of the label (justification, fonts, margins, \ldots),
+% one should use the \textsf{caption} package by A.~Sommerfeldt
+% \cite{Sommerfeldt:caption}.
%
% \item[0.20,\arabic{lstlisting},data] \rcmdname\thelstlisting
%
@@ -4410,13 +4413,17 @@
% \StopEventually{%
% \begin{thebibliography}{MDB01}
%
+% \bibitem[DS13]{DanielSchubert:mdframed}
+% Marco Daniel and Elke Schubert.
+% \newblock{The \textsf{mdframed} package}, 2013.
+%
% \bibitem[Fai11]{Fairbairns:moreverb}
% Robin Fairbairns.
% \newblock{The \textsf{moreverb} package}, 2011.
%
-% \bibitem[DS13]{DanielSchubert:mdframed}
-% Marco Daniel and Elke Schubert.
-% \newblock{The \textsf{mdframed} package}, 2013.
+% \bibitem[Som11]{Sommerfeldt:captions}
+% Axel Sommerfeldt.
+% \newblock{Customizing captions of floating environments}, 2011.
% \end{thebibliography}
% \setcounter{IndexColumns}{2}\PrintIndex}
%
@@ -5836,7 +5843,7 @@
% \part{Implementation}
%
%
-% \CheckSum{12380}
+% \CheckSum{12381}
%^^A
%^^A Don't index TeX-primitives.
%^^A
@@ -14235,7 +14242,7 @@
\vspace\lst@aboveskip
\fi
\fi
-% \end{macrocode}
+% \end{macrocode} ^^A$ to make emacs font locking happy
% Moved |\vspace| after |\par|---or we can get an empty line atop listings.
% Bug reported by \lsthelper{Jim~Hefferon}{1999/08/27}{empty line before
% listings with |\lstinputlisting|}.

Return to:

Send suggestions and report system problems to the System administrator.