diff options
author | Karl Berry <karl@freefriends.org> | 2017-09-21 20:57:10 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-09-21 20:57:10 +0000 |
commit | bc6b2d9b5bc8514cdd075cb5ba3182b1c4c16d78 (patch) | |
tree | 87126e5c450bea6c9da8408fc120340cbc398a25 /Master/texmf-dist/tex/latex/xcharter/XCharter.sty | |
parent | aaf7eb239e9b4102e871ead46d9c4adbff184b42 (diff) |
xcharter (21sep17)
git-svn-id: svn://tug.org/texlive/trunk@45369 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/xcharter/XCharter.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/xcharter/XCharter.sty | 36 |
1 files changed, 11 insertions, 25 deletions
diff --git a/Master/texmf-dist/tex/latex/xcharter/XCharter.sty b/Master/texmf-dist/tex/latex/xcharter/XCharter.sty index efbded30235..87238c778f7 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.094} -\def\filedate{2017/08/08} +\def\fileversion{1.1} +\def\filedate{2017/09/19} \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{\textnumerator}{\nufigures} - %\let\textnu\textnumerator --- conflict with babel greek + \DeclareTextFontCommand{\textnu}{\nufigures} + \let\textnumerator\textnu \fa@naming@exception{figures}{{denominators}{proportional}}{Dnom} \fa@naming@exception{figures}{{denominators}{tabular}}{Dnom} \def\defigures{\@nomath\defigures% \fontfigurestyle{denominators}\selectfont} - \DeclareTextFontCommand{\textdenominator}{\defigures} - \let\textde\textdenominator + \DeclareTextFontCommand{\textde}{\defigures} + \let\textdenominator\textde }{} \providecommand*{\textfrac}[2]{% - \textnumerator{#1}\kern0em\textfractionsolidus\kern0em\textdenominator{#2}} + \textnu{#1}\kern0em\textfractionsolidus\kern0em\textde{#2}} \DeclareRobustCommand{\lfstyle}{% \not@math@alphabet\lfstyle\relax \fontfamily{XCharter-TLF}\selectfont } @@ -70,7 +70,7 @@ %\newif\ifXCh@babel %\ifdefined\bbl@tempa \XCh@babeltrue\fi \newif\if@XCh@scosf - +\newif\if@XCh@srb \def\XCharter@altone{1}% default is to use 1, not I \newif\if@XCh@sups \DeclareOptionX{lf}{\edef\XCharter@figurestyle{TLF}} @@ -83,6 +83,7 @@ \DeclareOptionX{osfI}{\edef\XCharter@figurestyle{TOsF}\edef\XCharter@altone{}} \DeclareOptionX{sups}{\@XCh@supstrue} \DeclareOptionX{scosf}{\@XCh@scosftrue} +\DeclareOptionX{serbianc}{\@XCh@srbtrue} \edef\bfseries@rm{b} \edef\mdseries@rm{m} @@ -126,23 +127,9 @@ {\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 % - \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 + \ifdefined\sufigures \def\f@@tn@te{footnote} \def\@makefnmark{% \ifx\@mpfn\f@@tn@te%not in a minipage @@ -165,8 +152,7 @@ % \renewcommand*{\rmdefault}{XCharter-\XCharter@figurestyle} % \normalfont %\else - \AtEndPreamble{% -\@ifundefined{textnu}{\let\textnu\textnumerator}{}% +\AtEndPreamble{% \renewcommand*{\rmdefault}{XCharter-\XCharter@figurestyle} \normalfont} %\fi |