summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/scholax/scholax.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/scholax/scholax.sty')
-rw-r--r--Master/texmf-dist/tex/latex/scholax/scholax.sty26
1 files changed, 14 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/scholax/scholax.sty b/Master/texmf-dist/tex/latex/scholax/scholax.sty
index cfe25b49e5e..369573adfe2 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.01}
-\def\filedate{2020/01/01}
+\def\fileversion{1.02}
+\def\filedate{2020/01/02}
\ProvidesPackage{scholax}
[\filedate\space v\fileversion]
@@ -188,16 +188,18 @@ OsF}\fontshape{sc}\selectfont #1}%
\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
- {} % 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[
-\fi%
+ \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
+% \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[
+%\fi%
\renewcommand*{\rmdefault}%
{TeXGyreScholaX-\TeXGyreScholaX@figurealign\TeXGyreScholaX@figurestyle}
\newcommand*{\thdefault}{zcsth-\TeXGyreScholaX@figurestyle}