From fb8646de6d28903d7fbff1e437e076aee1e38517 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 10 Aug 2017 21:20:29 +0000 Subject: xcharter (10aug17) git-svn-id: svn://tug.org/texlive/trunk@45006 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/xcharter/XCharter.sty | 31 +++++++++++++++++------ 1 file changed, 23 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/tex/latex/xcharter') 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 -- cgit v1.2.3