summaryrefslogtreecommitdiff
path: root/fonts/xcharter/tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-02-02 03:04:47 +0000
committerNorbert Preining <norbert@preining.info>2022-02-02 03:04:47 +0000
commit460879b45ff6e83765da88734e8cc0c6da5043eb (patch)
tree8bbeaad213d6647db82d17b25a6ffd5bab08da18 /fonts/xcharter/tex
parent811714247a66acfce87bba00b9758441ff9d1413 (diff)
CTAN sync 202202020304
Diffstat (limited to 'fonts/xcharter/tex')
-rw-r--r--fonts/xcharter/tex/XCharter.sty11
1 files changed, 8 insertions, 3 deletions
diff --git a/fonts/xcharter/tex/XCharter.sty b/fonts/xcharter/tex/XCharter.sty
index 1eea759aa7..3165479cc4 100644
--- a/fonts/xcharter/tex/XCharter.sty
+++ b/fonts/xcharter/tex/XCharter.sty
@@ -3,8 +3,8 @@
%%
\NeedsTeXFormat{LaTeX2e}
-\def\fileversion{1.222}
-\def\filedate{2021/09/01}
+\def\fileversion{1.225}
+\def\filedate{2022/01/31}
\ProvidesPackage{XCharter}[\filedate\space v\fileversion]
@@ -39,13 +39,16 @@
\fontfigurestyle{numerators}\selectfont}
\DeclareTextFontCommand{\textnu}{\nufigures}
\let\textnumerator\textnu
-
+ \let\nustyle\nufigures
+
\fa@naming@exception{figures}{{denominators}{proportional}}{Dnom}
\fa@naming@exception{figures}{{denominators}{tabular}}{Dnom}
\def\defigures{\@nomath\defigures%
\fontfigurestyle{denominators}\selectfont}
\DeclareTextFontCommand{\textde}{\defigures}
\let\textdenominator\textde
+ \let\destyle\defigures
+
}{}
\newcommand{\textfrac}[3][]{% like \textfrac[1]{7}{8}
\mbox{%
@@ -262,8 +265,10 @@
\newcommand*{\thdefault}{XCharterTH-\XCharter@thfigurestyle}
\ifXCh@thrm
+ \@ifundefined{theoremstyle}{}{%
\theoremstyle{plain}
\patchcmd{\th@plain}{\itshape}{\thfamily}{\message{Replaced itshape by thfamily in theorem style plain.}}{\message{Unable to replace itshape by thfamily in theorem style plain.}}
+}
\fi
\normalfont}
%\fi