diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/scrkernel-tocstyle.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/koma-script/scrkernel-tocstyle.dtx | 43 |
1 files changed, 35 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/scrkernel-tocstyle.dtx b/Master/texmf-dist/source/latex/koma-script/scrkernel-tocstyle.dtx index 0906f5fd402..0778f3b4c3c 100644 --- a/Master/texmf-dist/source/latex/koma-script/scrkernel-tocstyle.dtx +++ b/Master/texmf-dist/source/latex/koma-script/scrkernel-tocstyle.dtx @@ -1,4 +1,4 @@ -% \CheckSum{1340} +% \CheckSum{1353} % \iffalse meta-comment % ====================================================================== % scrkernel-tocstyle.dtx @@ -55,7 +55,7 @@ % Right brace \} Tilde \~} % % \iffalse -%%% From File: $Id: scrkernel-tocstyle.dtx 2640 2017-05-08 09:36:55Z kohm $ +%%% From File: $Id: scrkernel-tocstyle.dtx 2731 2017-11-23 09:04:09Z kohm $ % The runs of run-time file generation: %<preidentify>%%% (run: preidentify) % - everything that is needed before selfidentification of resulting files @@ -80,7 +80,7 @@ \ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi \begingroup \def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}} - \filedate$Date: 2017-05-08 11:36:55 +0200 (Mon, 08 May 2017) $ + \filedate$Date: 2017-11-23 10:04:09 +0100 (Thu, 23 Nov 2017) $ \def\filerevision$#1: #2 ${\gdef\filerevision{r#2}} \filerevision$Revision: 2254 $ \edef\reserved@a{% @@ -1496,8 +1496,8 @@ \scr@ifundefinedorrelax{l@chapter}{% \ifstr{#1}{section}{% \@namedef{scr@tso@#1@linefill}{\hfill}% - }{} - }{} + }{}% + }{}% \expandafter\providecommand% \csname scr@tso@#1@linefill\endcsname{\TOCLineLeaderFill\relax}% }% @@ -1512,12 +1512,39 @@ % Auch die Seitenzahl kann speziell formatiert werden, wenn das gewünscht ist. % \begin{macrocode} \ifstr{#1}{part}{% +% \end{macrocode} +% Für \texttt{part} normalerweise groß und fett: +% \begin{macrocode} \expandafter\providecommand% \csname scr@tso@#1@pagenumberformat\endcsname[1]{\large\bfseries ##1}% }{% - \expandafter\providecommand% - \csname scr@tso@#1@pagenumberformat\endcsname[1]{% - \normalfont\normalcolor ##1}% +% \end{macrocode} +% \changes{v3.25}{2017/11/23}{Seitenzahlen für \texttt{chapter}-Einräge in der +% Voreinstellung fett}^^A +% Für \texttt{chapter} nur fett: +% \begin{macrocode} + \ifstr{#1}{chapter}{% + \expandafter\providecommand% + \csname scr@tso@#1@pagenumberformat\endcsname[1]{\bfseries ##1}% + }{% + \scr@ifundefinedorrelax{l@chapter}{% + \ifstr{#1}{section}{% +% \end{macrocode} +% \changes{v3.25}{2017/11/23}{Seitenzahlen für \texttt{section}-Einräge in der +% Voreinstellung unter Umständen fett}^^A +% Für \texttt{section} ggf. auch fett: +% \begin{macrocode} + \expandafter\providecommand% + \csname scr@tso@#1@pagenumberformat\endcsname[1]{\bfseries ##1}% + }{}% + }{}% +% \end{macrocode} +% Sonst in normaler Schrift und Farbe: +% \begin{macrocode} + \expandafter\providecommand% + \csname scr@tso@#1@pagenumberformat\endcsname[1]{% + \normalfont\normalcolor ##1}% + }% }% % \end{macrocode} % Wobei die Seitenzahl normaleweise in eine Box fester Breite gesetzt wird. |