diff options
Diffstat (limited to 'macros/latex/contrib/koma-script/source/scrkernel-listsandtabulars.dtx')
-rw-r--r-- | macros/latex/contrib/koma-script/source/scrkernel-listsandtabulars.dtx | 68 |
1 files changed, 56 insertions, 12 deletions
diff --git a/macros/latex/contrib/koma-script/source/scrkernel-listsandtabulars.dtx b/macros/latex/contrib/koma-script/source/scrkernel-listsandtabulars.dtx index a20f0aca5d..da04fa553c 100644 --- a/macros/latex/contrib/koma-script/source/scrkernel-listsandtabulars.dtx +++ b/macros/latex/contrib/koma-script/source/scrkernel-listsandtabulars.dtx @@ -1,8 +1,7 @@ -% \CheckSum{316} % \iffalse meta-comment % ====================================================================== % scrkernel-listsandtabulars.dtx -% Copyright (c) Markus Kohm, 2002-2019 +% Copyright (c) Markus Kohm, 2002-2021 % % This file is part of the LaTeX2e KOMA-Script bundle. % @@ -20,7 +19,7 @@ % This work consists of all files listed in manifest.txt. % ---------------------------------------------------------------------- % scrkernel-listsandtabulars.dtx -% Copyright (c) Markus Kohm, 2002-2019 +% Copyright (c) Markus Kohm, 2002-2021 % % Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz, % Version 1.3c, verteilt und/oder veraendert werden. @@ -55,7 +54,7 @@ % Right brace \} Tilde \~} % % \iffalse -%%% From File: $Id: scrkernel-listsandtabulars.dtx 3394 2019-11-19 11:56:28Z kohm $ +%%% From File: $Id: scrkernel-listsandtabulars.dtx 3563 2021-02-15 18:40:44Z kohm $ %<option>%%% (run: option) %<body>%%% (run: body) %<*dtx> @@ -63,7 +62,7 @@ \ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi \begingroup \def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}} - \filedate$Date: 2019-11-19 12:56:28 +0100 (Tue, 19 Nov 2019) $ + \filedate$Date: 2021-02-15 19:40:44 +0100 (Mon, 15 Feb 2021) $ \def\filerevision$#1: #2 ${\gdef\filerevision{r#2}} \filerevision$Revision: 1872 $ \edef\reserved@a{% @@ -226,13 +225,21 @@ % \begin{macro}{\p@enumiii} % \begin{macro}{\p@enumiv} % \begin{macro}{\labelitemi} -% \changes{v2.5g}{1999/10/09}{Mathemodus eliminiert}%^^A +% \changes{v2.5g}{1999/10/09}{Mathemodus eliminiert} +% \changes{v3.33}{2021/02/15}{Usage of new font element +% \texttt{labelitemi}} % \begin{macro}{\labelitemii} % \changes{v2.5g}{1999/10/09}{\cs{textendash} verwendet} +% \changes{v3.33}{2021/02/15}{Usage of new font element +% \texttt{labelitemii}} % \begin{macro}{\labelitemiii} -% \changes{v2.5g}{1999/10/09}{Mathemodus eliminiert}%^^A +% \changes{v2.5g}{1999/10/09}{Mathemodus eliminiert} +% \changes{v3.33}{2021/02/15}{Usage of new font element +% \texttt{labelitemiii}} % \begin{macro}{\labelitemiv} -% \changes{v2.5g}{1999/10/09}{Mathemodus eliminiert}%^^A +% \changes{v2.5g}{1999/10/09}{Mathemodus eliminiert} +% \changes{v3.33}{2021/02/15}{Usage of new font element +% \texttt{labelitemiv}} % Für die numerierten Listenumgebungen müssen Marken bzw. Numerierungen % festgelegt werden. Dazu wird eine Darstellung der Zähler, ihr Prefix % und ihre Labeldarstellung neu definiert. @@ -248,10 +255,10 @@ \renewcommand*\p@enumii{\theenumi} \renewcommand*\p@enumiii{\p@enumii(\theenumii)} \renewcommand*\p@enumiv{\p@enumiii\theenumiii} -\newcommand*\labelitemi{\textbullet} -\newcommand*\labelitemii{\normalfont\bfseries\textendash} -\newcommand*\labelitemiii{\textasteriskcentered} -\newcommand*\labelitemiv{\textperiodcentered} +\newcommand*\labelitemi{\usekomafont{labelitemi}{\textbullet}} +\newcommand*\labelitemii{\usekomafont{labelitemii}{\textendash}} +\newcommand*\labelitemiii{\usekomafont{labelitemiii}{\textasteriskcentered}} +\newcommand*\labelitemiv{\usekomafont{labelitemiv}{\textperiodcentered}} % \end{macrocode} % \end{macro} % \end{macro} @@ -510,6 +517,43 @@ % \end{macrocode} % \end{macro} % +% \selectlanguage{english} +% \begin{KOMAfont}{itemizelabel} +% \changes{v3.33}{2021/02/15}{new font element} +% \begin{KOMAfont}{labelitemi} +% \changes{v3.33}{2021/02/15}{new font element} +% \begin{KOMAfont}{labelitemii} +% \changes{v3.33}{2021/02/15}{new font element} +% \begin{KOMAfont}{labelitemiii} +% \changes{v3.33}{2021/02/15}{new font element} +% \begin{KOMAfont}{labelitemiv} +% \changes{v3.33}{2021/02/15}{new font element} +% \begin{macro}{\labelitemfont} +% \changes{v3.33}{2021/02/15}{new} +% Due to a change in the LaTeX kernel 2020/02/02 the \texttt{itemize} items +% react on font changes. For this the standard classes have been changed to +% set the item \emph{bullets} using \cs{labelitemfont} which is +% \cs{normalfont} by default. I've adapted this using also \cs{labelitemfont} +% for compatibility but only to store the font of font element +% \texttt{itemizelabel} which is the default of the level depending font +% elements. \texttt{itemlabelii} differs, because the default \cs{textendash} +% should be bold. +% \begin{macrocode} +\newcommand*{\labelitemfont}{\normalfont} +\newcommand*\scr@fnt@itemizelabel{\labelitemfont} +\newkomafont{labelitemi}{\usekomafont{itemizelabel}} +\newkomafont{labelitemii}{\usekomafont{itemizelabel}\bfseries} +\newkomafont{labelitemiii}{\usekomafont{itemizelabel}} +\newkomafont{labelitemiv}{\usekomafont{itemizelabel}} +% \end{macrocode} +% \end{macro} +% \end{KOMAfont} +% \end{KOMAfont} +% \end{KOMAfont} +% \end{KOMAfont} +% \end{KOMAfont} +% \selectlanguage{ngerman} +% % \begin{KOMAfont}{labelinglabel} % \changes{v3.02}{2009/01/01}{neues Element}%^^A % \begin{KOMAfont}{labelingseparator} |