[latex3-commits] [git/LaTeX3-latex3-latex2e] textcomp: provide \UseLegacyTextSymbols (18f3a5d1)

Frank Mittelbach frank.mittelbach at latex-project.org
Tue Nov 5 19:26:03 CET 2019


Repository : https://github.com/latex3/latex2e
On branch  : textcomp
Link       : https://github.com/latex3/latex2e/commit/18f3a5d1863c39809a75938cd9805686784644b7

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

commit 18f3a5d1863c39809a75938cd9805686784644b7
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Tue Nov 5 19:26:03 2019 +0100

    provide \UseLegacyTextSymbols


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

18f3a5d1863c39809a75938cd9805686784644b7
 base/textcomp-adds.tex | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/base/textcomp-adds.tex b/base/textcomp-adds.tex
index 8bffd0af..01ab603d 100644
--- a/base/textcomp-adds.tex
+++ b/base/textcomp-adds.tex
@@ -502,4 +502,21 @@
 % footnote symbols already use \normalfont hardwired (and that should
 % probably stay like that).
 
+
+% maybe this should also be available in Unicode engines. There a
+% default is not enough since the symbols are defined in TU so one
+% would need to undefine them there or perhaps better redefine them
+% there.
+
+\def\UseLegacyTextSymbols{%
+  \DeclareTextSymbolDefault{\textasteriskcentered}{OMS}%
+  \DeclareTextSymbolDefault{\textdagger}{OMS}%
+  \DeclareTextSymbolDefault{\textdaggerdbl}{OMS}%
+  \DeclareTextSymbolDefault{\textbullet}{OMS}%
+  \DeclareTextSymbolDefault{\textsection}{OMS}%
+  \DeclareTextSymbolDefault{\textparagraph}{OMS}%
+  \DeclareTextSymbolDefault{\textperiodcentered}{OMS}%
+}
+
 \makeatother    
+





More information about the latex3-commits mailing list