From a369ff2c1bd7ba6ac1d35b5722e5675bcf32bf04 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 2 Jan 2020 22:10:15 +0000 Subject: scholax (2jan20) git-svn-id: svn://tug.org/texlive/trunk@53301 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/scholax/newtx-nc-subs.tex | 17 +++++++++ .../tex/latex/scholax/newtx-ncf-subs.tex | 17 +++++++++ Master/texmf-dist/tex/latex/scholax/scholax.sty | 42 +++++++++++++++------- 3 files changed, 63 insertions(+), 13 deletions(-) create mode 100644 Master/texmf-dist/tex/latex/scholax/newtx-nc-subs.tex create mode 100644 Master/texmf-dist/tex/latex/scholax/newtx-ncf-subs.tex (limited to 'Master/texmf-dist/tex/latex/scholax') diff --git a/Master/texmf-dist/tex/latex/scholax/newtx-nc-subs.tex b/Master/texmf-dist/tex/latex/scholax/newtx-nc-subs.tex new file mode 100644 index 00000000000..e88ea8eb7c9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/scholax/newtx-nc-subs.tex @@ -0,0 +1,17 @@ +{f}{-2} +{j}{-2} +{p}{-1.5} +{y}{-1.5} +{A}{-1.5} +{B}{-1} +{D}{-1} +{H}{-1} +{I}{-1} +{K}{-1} +{L}{-1} +{M}{-1} +{N}{-0.5} +{P}{-1} +{X}{-1} +{\rho}{-1} +{\beta}{-1} \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/scholax/newtx-ncf-subs.tex b/Master/texmf-dist/tex/latex/scholax/newtx-ncf-subs.tex new file mode 100644 index 00000000000..e88ea8eb7c9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/scholax/newtx-ncf-subs.tex @@ -0,0 +1,17 @@ +{f}{-2} +{j}{-2} +{p}{-1.5} +{y}{-1.5} +{A}{-1.5} +{B}{-1} +{D}{-1} +{H}{-1} +{I}{-1} +{K}{-1} +{L}{-1} +{M}{-1} +{N}{-0.5} +{P}{-1} +{X}{-1} +{\rho}{-1} +{\beta}{-1} \ 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 98c2043a5ff..cfe25b49e5e 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.00} -\def\filedate{2019/12/30} +\def\fileversion{1.01} +\def\filedate{2020/01/01} \ProvidesPackage{scholax} [\filedate\space v\fileversion] @@ -164,10 +164,31 @@ OsF}\fontshape{sc}\selectfont #1}% {\not@math@alphabet\thfamily\relax \fontfamily\thdefault\selectfont} -\ifzcs@thrm - \ifdefined\newtheoremstyle %amsthm and ntheorem, not theorem.sty - \@ifpackageloaded{ntheorem}\relax{% - \newtheoremstyle{plain} +%\ifzcs@thrm +% \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 + +%\def\thrmplain{\ifzcs@thrm% +% \ifdefined\newtheoremstyle %amsthm and ntheorem, not theorem.sty +% \@ifpackageloaded{ntheorem}\relax{% +% \newtheoremstyle{plain} +% {\medskipamount} % ABOVESPACE, was \topsep +% {\medskipamount} % BELOWSPACE, was \topsep +% {\thfamily} % BODYFONT--\thfamily is defined to be \itshape with upright figures and punctuation +% {} % INDENT (empty value is the same as 0pt) +% {\bfseries} % HEADFONT--you may want to add \tlfstyle so the number is tab lining, regardless of text figure selection +% {.} % HEADPUNCT +% {5pt plus 1pt minus 1pt} % HEADSPACE +% % CUSTOM-HEAD-SPEC\newtheorem{thm}{Theorem}[section] +% } % end @ifpackageloaded +% \fi% +%\fi} + + + +\AtEndPreamble{% +\ifzcs@thrm% + \newtheoremstyle{plain} {\medskipamount} % ABOVESPACE, was \topsep {\medskipamount} % BELOWSPACE, was \topsep {\thfamily} % BODYFONT--\thfamily is defined to be \itshape with upright figures and punctuation @@ -175,13 +196,8 @@ OsF}\fontshape{sc}\selectfont #1}% {\bfseries} % HEADFONT--you may want to add \tlfstyle so the number is tab lining, regardless of text figure selection {.} % HEADPUNCT {5pt plus 1pt minus 1pt} % HEADSPACE - % CUSTOM-HEAD-SPEC\newtheorem{thm}{Theorem}[section] - } % end @ifpackageloaded - \fi% -\fi - - -\AtEndPreamble{% + {} % CUSTOM-HEAD-SPEC[ +\fi% \renewcommand*{\rmdefault}% {TeXGyreScholaX-\TeXGyreScholaX@figurealign\TeXGyreScholaX@figurestyle} \newcommand*{\thdefault}{zcsth-\TeXGyreScholaX@figurestyle} -- cgit v1.2.3