[latex3-commits] [git/LaTeX3-latex3-latex2e] textcomp: rename to \labelitemfont (5d3a0d4d)

Frank Mittelbach frank.mittelbach at latex-project.org
Wed Nov 6 00:08:23 CET 2019


Repository : https://github.com/latex3/latex2e
On branch  : textcomp
Link       : https://github.com/latex3/latex2e/commit/5d3a0d4d66903059300e2bada1de0fcc0c80233f

>---------------------------------------------------------------

commit 5d3a0d4d66903059300e2bada1de0fcc0c80233f
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Wed Nov 6 00:08:23 2019 +0100

    rename to \labelitemfont


>---------------------------------------------------------------

5d3a0d4d66903059300e2bada1de0fcc0c80233f
 base/classes.dtx       | 15 +++++----------
 base/textcomp-adds.tex |  4 ++--
 2 files changed, 7 insertions(+), 12 deletions(-)

diff --git a/base/classes.dtx b/base/classes.dtx
index 182d4d2b..c7bc820a 100644
--- a/base/classes.dtx
+++ b/base/classes.dtx
@@ -2954,16 +2954,11 @@
 %
 % \changes{v1.4l}{2019/11/05}{Normalize label fonts} 
 %    \begin{macrocode}
-\providecommand\labelitemnormalfont{}
-\newcommand\labelitemi{\labelitemnormalfont  \textbullet}
-%    \end{macrocode}
-%    We use \cs{normalfont} explicitly here as that should stay
-%    ``normal'' even if the others are allowed to chage their
-%    behavior.
-%    \begin{macrocode}
-\newcommand\labelitemii{\normalfont\bfseries \textendash}
-\newcommand\labelitemiii{\labelitemnormalfont\textasteriskcentered}
-\newcommand\labelitemiv{\labelitemnormalfont \textperiodcentered}
+\providecommand\labelitemfont{}
+\newcommand\labelitemi  {\labelitemfont \textbullet}
+\newcommand\labelitemii {\labelitemfont \bfseries \textendash}
+\newcommand\labelitemiii{\labelitemfont \textasteriskcentered}
+\newcommand\labelitemiv{ \labelitemfont \textperiodcentered}
 %    \end{macrocode}
 % \end{macro}
 % \end{macro}
diff --git a/base/textcomp-adds.tex b/base/textcomp-adds.tex
index 01ab603d..0d65e7fd 100644
--- a/base/textcomp-adds.tex
+++ b/base/textcomp-adds.tex
@@ -491,11 +491,11 @@
 
 % for item labels provide:
 
-\def\labelitemnormalfont{\fontseries\seriesdefault\fontshape\shapedefault\selectfont}
+\def\labelitemfont{\fontseries\seriesdefault\fontshape\shapedefault\selectfont}
 
 % or
 
-\def\labelitemnormalfont{\normalfont}
+\def\labelitemfont{\normalfont}
 
 % and use in \labelitem... in classes
 





More information about the latex3-commits mailing list