summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-08-10 21:20:29 +0000
committerKarl Berry <karl@freefriends.org>2017-08-10 21:20:29 +0000
commitfb8646de6d28903d7fbff1e437e076aee1e38517 (patch)
tree966e58dd419bdc09bb8353f57d9402469bba7430 /Master/texmf-dist/tex
parent8259f25dab2a9d6d23a74ccbebf88f338809e95b (diff)
xcharter (10aug17)
git-svn-id: svn://tug.org/texlive/trunk@45006 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/xcharter/XCharter.sty31
1 files changed, 23 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/xcharter/XCharter.sty b/Master/texmf-dist/tex/latex/xcharter/XCharter.sty
index fe69e3be7b3..efbded30235 100644
--- a/Master/texmf-dist/tex/latex/xcharter/XCharter.sty
+++ b/Master/texmf-dist/tex/latex/xcharter/XCharter.sty
@@ -3,8 +3,8 @@
%%
\NeedsTeXFormat{LaTeX2e}
-\def\fileversion{1.09}
-\def\filedate{2017/06/25}
+\def\fileversion{1.094}
+\def\filedate{2017/08/08}
\ProvidesPackage{XCharter}[\filedate\space v\fileversion]
@@ -34,18 +34,18 @@
\fa@naming@exception{figures}{{numerators}{tabular}}{Numr}
\def\nufigures{\@nomath\nufigures%
\fontfigurestyle{numerators}\selectfont}
- \DeclareTextFontCommand{\textnu}{\nufigures}
- \let\textnumerator\textnu
+ \DeclareTextFontCommand{\textnumerator}{\nufigures}
+ %\let\textnu\textnumerator --- conflict with babel greek
\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
+ \DeclareTextFontCommand{\textdenominator}{\defigures}
+ \let\textde\textdenominator
}{}
\providecommand*{\textfrac}[2]{%
- \textnu{#1}\kern0em\textfractionsolidus\kern0em\textde{#2}}
+ \textnumerator{#1}\kern0em\textfractionsolidus\kern0em\textdenominator{#2}}
\DeclareRobustCommand{\lfstyle}{%
\not@math@alphabet\lfstyle\relax
\fontfamily{XCharter-TLF}\selectfont }
@@ -126,9 +126,23 @@
{\fontfamily{XCharter-TOsF}\fontshape{sc}\selectfont #1}%
}\fi% use OsF in small caps
+\newif\ifxch@KOMA
+\@ifundefined{KOMAClassName}{}{\xch@KOMAtrue}
+\@ifundefined{ver@scrextend.sty}{}{\xch@KOMAtrue}
\if@XCh@sups %
- \ifdefined\sufigures
+ \ifxch@KOMA %
+ %\message{KOMA}
+% \AtEndPreamble{%
+% \gdef\@textsuperscript#1{\textsu{#1}}
+ %\show\@textsuperscript
+% \@ifpackageloaded{authblk}{%
+% \renewcommand\AB@authnote[1]{\textsuperscript{#1}}
+% \renewcommand\AB@affilnote[1]{\textsuperscript{#1}}
+% }%
+% }%
+ \else % not KOMA
+% \ifdefined\sufigures
\def\f@@tn@te{footnote}
\def\@makefnmark{%
\ifx\@mpfn\f@@tn@te%not in a minipage
@@ -152,6 +166,7 @@
% \normalfont
%\else
\AtEndPreamble{%
+\@ifundefined{textnu}{\let\textnu\textnumerator}{}%
\renewcommand*{\rmdefault}{XCharter-\XCharter@figurestyle}
\normalfont}
%\fi