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.sty42
1 files changed, 29 insertions, 13 deletions
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}