From 0cadd338cce84cb1f0f9999d5bc39bdbf4528285 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 1 Feb 2022 22:04:54 +0000 Subject: scholax (1feb22) git-svn-id: svn://tug.org/texlive/trunk@61836 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/scholax/newtx-ncf-subs.tex | 2 +- Master/texmf-dist/tex/latex/scholax/scholax.sty | 26 +++++++++++++--------- 2 files changed, 16 insertions(+), 12 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/scholax/newtx-ncf-subs.tex b/Master/texmf-dist/tex/latex/scholax/newtx-ncf-subs.tex index e88ea8eb7c9..b340bc56bd1 100644 --- a/Master/texmf-dist/tex/latex/scholax/newtx-ncf-subs.tex +++ b/Master/texmf-dist/tex/latex/scholax/newtx-ncf-subs.tex @@ -14,4 +14,4 @@ {P}{-1} {X}{-1} {\rho}{-1} -{\beta}{-1} \ No newline at end of file +{\beta}{-1.01} \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/scholax/scholax.sty b/Master/texmf-dist/tex/latex/scholax/scholax.sty index ce850acdb08..3ecd7eccde3 100644 --- a/Master/texmf-dist/tex/latex/scholax/scholax.sty +++ b/Master/texmf-dist/tex/latex/scholax/scholax.sty @@ -1,7 +1,7 @@ %% \NeedsTeXFormat{LaTeX2e} -\def\fileversion{1.030} -\def\filedate{2021/03/24} +\def\fileversion{1.033} +\def\filedate{2022/01/31} \ProvidesPackage{scholax} [\filedate\space v\fileversion] @@ -9,18 +9,18 @@ \RequirePackage[LY1,T1]{fontenc} \RequirePackage{textcomp} -\RequirePackage{ifthen,xstring} +\RequirePackage{ifthen,xstring,scalefnt} \DeclareEncodingSubset{TS1}{TeXGyreScholaX-*}{0} \RequirePackage{etoolbox} \IfFileExists{mweights.sty}{\RequirePackage{mweights}}{} \IfFileExists{fontaxes.sty}{ - \RequirePackage{fontaxes} - \fa@naming@exception{figures}{{superior}{proportional}}{Sup} - \fa@naming@exception{figures}{{superior}{tabular}}{Sup} - \def\sufigures{\@nomath\sufigures - \fontfigurestyle{superior}\selectfont} - \DeclareTextFontCommand{\textsu}{\sufigures} - \let\textsuperior\textsu + \RequirePackage{fontaxes} +% \fa@naming@exception{figures}{{superior}{proportional}}{Sup} +% \fa@naming@exception{figures}{{superior}{tabular}}{Sup} +% \def\sufigures{\@nomath\sufigures +% \fontfigurestyle{superior}\selectfont} +% \DeclareTextFontCommand{\textsu}{\sufigures} +% \let\textsuperior\textsu \fa@naming@exception{figures}{{superior}{proportional}}{Sup} @@ -29,13 +29,15 @@ \fontfigurestyle{superior}\selectfont} \DeclareTextFontCommand{\textsu}{\sufigures} \let\textsuperior\textsu - + \let\nustyle\sufigures + \fa@naming@exception{figures}{{inferior}{proportional}}{Inf} \fa@naming@exception{figures}{{inferior}{tabular}}{Inf} \def\infigures{\@nomath\infigures% \fontfigurestyle{inferior}\selectfont} \DeclareTextFontCommand{\textin}{\infigures} \let\textinferior\textin + \let\destyle\infigures % \providecommand*{\textfrac}[2]{% % \raise \zcs@raisefrac \hbox{\textsu{##1}\kern \zcs@foresolidus \textfractionsolidus\kern \zcs@aftsolidus \textin{##2}}} }{} @@ -228,8 +230,10 @@ OsF}\fontshape{sc}\selectfont #1}% {TeXGyreScholaX-\TeXGyreScholaX@figurealign\TeXGyreScholaX@figurestyle} \newcommand*{\thdefault}{zcsth-\TeXGyreScholaX@figurestyle} \ifzcs@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} -- cgit v1.2.3