[latex3-commits] [latex3/xfrac] main: Load textcomp only if necessary (b25e2f1)
github at latex-project.org
github at latex-project.org
Tue Feb 13 18:32:40 CET 2024
Repository : https://github.com/latex3/xfrac
On branch : main
Link : https://github.com/latex3/xfrac/commit/b25e2f1e476c1195977ca3e2d4ba8dbe79052e04
>---------------------------------------------------------------
commit b25e2f1e476c1195977ca3e2d4ba8dbe79052e04
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Tue Feb 13 17:32:40 2024 +0000
Load textcomp only if necessary
>---------------------------------------------------------------
b25e2f1e476c1195977ca3e2d4ba8dbe79052e04
xfrac.dtx | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/xfrac.dtx b/xfrac.dtx
index 700bb78..d5b215f 100644
--- a/xfrac.dtx
+++ b/xfrac.dtx
@@ -24,7 +24,7 @@
% for those people who are interested.
%
%<*driver|package>
-\RequirePackage{amstext,graphicx,textcomp,xtemplate}
+\RequirePackage{amstext,graphicx,xtemplate}
%</driver|package>
%<*driver>
\documentclass[full]{l3doc}
@@ -525,6 +525,12 @@
% \end{macro}
%
% \begin{macrocode}
+\IfFormatAtLeastTF { 2020-02-02 }
+ { }
+ { \RequirePackage { textcomp } }
+% \end{macrocode}
+%
+% \begin{macrocode}
\IfFormatAtLeastTF { 2020-10-01 }
{ }
{ \RequirePackage { xparse } }
More information about the latex3-commits
mailing list.