diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/scholax/scholax.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/scholax/scholax.sty | 45 |
1 files changed, 25 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/scholax/scholax.sty b/Master/texmf-dist/tex/latex/scholax/scholax.sty index 6613c6c0a7b..23dd1c14c88 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/27} +\def\fileversion{1.024} +\def\filedate{2020/03/09} \ProvidesPackage{scholax} [\filedate\space v\fileversion] @@ -64,8 +64,8 @@ \@onlypreamble\useproportional \newif\ifzcs@thrm -\def\zcs@foresolidus{.06em} -\def\zcs@aftsolidus{-.06em} +\def\zcs@foresolidus{-.1em} +\def\zcs@aftsolidus{-.11em} \def\zcs@raisefrac{.111em} \edef\bfseries@rm{b} \edef\mdseries@rm{m} @@ -165,28 +165,33 @@ OsF}\fontshape{sc}\selectfont #1}% {\not@math@alphabet\thfamily\relax \fontfamily\thdefault\selectfont} -\ifzcs@thrm - %\RequirePackage{amsmath,amsthm} % in case of theoremfont - \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%} +%\show\th@plain +%\ifzcs@thrm +% %\RequirePackage{amsmath,amsthm} % in case of theoremfont +% \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{% \renewcommand*{\rmdefault}% {TeXGyreScholaX-\TeXGyreScholaX@figurealign\TeXGyreScholaX@figurestyle} \newcommand*{\thdefault}{zcsth-\TeXGyreScholaX@figurestyle} +\ifzcs@thrm + \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} \endinput |