texlive[53311] Master/texmf-dist: scholax (3jan20)

commits+karl at tug.org commits+karl at tug.org
Fri Jan 3 23:15:21 CET 2020


Revision: 53311
          http://tug.org/svn/texlive?view=revision&revision=53311
Author:   karl
Date:     2020-01-03 23:15:20 +0100 (Fri, 03 Jan 2020)
Log Message:
-----------
scholax (3jan20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/fonts/scholax/README
    trunk/Master/texmf-dist/doc/fonts/scholax/scholax-doc.pdf
    trunk/Master/texmf-dist/doc/fonts/scholax/scholax-doc.tex
    trunk/Master/texmf-dist/fonts/map/dvips/scholax/ScholaX.map
    trunk/Master/texmf-dist/tex/latex/scholax/newtx-nc-subs.tex
    trunk/Master/texmf-dist/tex/latex/scholax/newtx-ncf-subs.tex
    trunk/Master/texmf-dist/tex/latex/scholax/scholax.sty

Modified: trunk/Master/texmf-dist/doc/fonts/scholax/README
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/scholax/README	2020-01-03 22:14:31 UTC (rev 53310)
+++ trunk/Master/texmf-dist/doc/fonts/scholax/README	2020-01-03 22:15:20 UTC (rev 53311)
@@ -8,8 +8,13 @@
 Project Licence) and the licence for TeXGyre fonts is equivalent to the LPPL, so this package is released under the LPPL. 
 
 
-Current version: 1.01 2020-01-01
+Current version: 1.02 2020-01-02
 
+Changes in version 1.02
+1. Corrected ScholaX.map entries. (Thanks Marcel Krueger.)
+2. Simplified code and documentation for theoremfont under various theorem packages.
+3. Small documentation fixes.
+
 Changes in version 1.01
 Corrected theoremfont code in scholax.sty and modified documentation accordingly.
 

Modified: trunk/Master/texmf-dist/doc/fonts/scholax/scholax-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/fonts/scholax/scholax-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/scholax/scholax-doc.tex	2020-01-03 22:14:31 UTC (rev 53310)
+++ trunk/Master/texmf-dist/doc/fonts/scholax/scholax-doc.tex	2020-01-03 22:15:20 UTC (rev 53311)
@@ -68,7 +68,7 @@
 {\tt scaled, scale:}\\
 Rescales every font in the package. E.g.,
 \begin{verbatim}
-\usepackage[scaled=1.15}{scholax}
+\usepackage[scaled=1.15]{scholax}
 \end{verbatim}
 scales everything up by 15\%.
 
@@ -88,31 +88,34 @@
 There are two ways to make use of \verb|\thfamily| for body text in theorem-like text.
 \begin{itemize}
 \item
-\textbf{(for {\tt amsthm} only)}---add the option {\tt theoremfont} to {\tt scholax}, which will patch the \verb|\th at plain| command which stores the definition of the plain theorem format, replacing \verb|\itshape| by \verb|\thfamily|. Then, in your document preamble, make the usual theorem specifications, like
+\textbf{(for {\tt amsthm} and {\tt theorem} only)}---add the option {\tt theoremfont} to {\tt scholax}, which will patch the \verb|\th at plain| command which stores the definition of the plain theorem format, replacing \verb|\itshape| by \verb|\thfamily|. Then, in your document preamble, make the usual theorem specifications, like
 \begin{verbatim}
 \theoremstyle{plain}
 \newtheorem{thm}{Theorem}[section]
+etc
 \end{verbatim}
 \item
-In your document preamble, make a new definition of the plain theorem format. For {\tt amsthm}, this would be like
+\textbf{(for {\tt ntheorem} only)} The {\tt theoremfont} option has no effect but will cause no harm. 
+%\begin{verbatim}
+%\newtheoremstyle{plain}
+%  {\medskipamount}   % ABOVESPACE
+%  {\medskipamount}   % BELOWSPACE
+%  {\thfamily}  % BODYFONT <<<<<<<<<NOTE THE CHANGE FROM \itshape
+%  {}       % INDENT (empty value is the same as 0pt)
+%  {\bfseries} % HEADFONT
+%  {.}         % HEADPUNCT
+%  {5pt plus 1pt minus 1pt} % HEADSPACE
+%  {}          % CUSTOM-HEAD-SPEC
+%\end{verbatim}
+Simply replace the theorem specifications described above for the {\tt plain} theorem style with
 \begin{verbatim}
-\newtheoremstyle{plain}
-  {\medskipamount}   % ABOVESPACE
-  {\medskipamount}   % BELOWSPACE
-  {\thfamily}  % BODYFONT <<<<<<<<<NOTE THE CHANGE FROM \itshape
-  {}       % INDENT (empty value is the same as 0pt)
-  {\bfseries} % HEADFONT
-  {.}         % HEADPUNCT
-  {5pt plus 1pt minus 1pt} % HEADSPACE
-  {}          % CUSTOM-HEAD-SPEC
-\end{verbatim}
-and then proceed as above with
-\begin{verbatim}
 \theoremstyle{plain}
+\theorembodyfont{\thfamily}
 \newtheorem{thm}{Theorem}[section]
+etc
 \end{verbatim}
-If you are using another theorem package (e.g., {\tt ntheorem, theorem}) you will have instead to to add your own descriptors as specified in the its documentation and set the body font to \verb|\thfamily|. The {\tt theoremfont} option is useless in this case.
 \end{itemize}
+
 After doing this, you should get output like  this:
 
 \begin{thm}

Modified: trunk/Master/texmf-dist/fonts/map/dvips/scholax/ScholaX.map
===================================================================
--- trunk/Master/texmf-dist/fonts/map/dvips/scholax/ScholaX.map	2020-01-03 22:14:31 UTC (rev 53310)
+++ trunk/Master/texmf-dist/fonts/map/dvips/scholax/ScholaX.map	2020-01-03 22:15:20 UTC (rev 53311)
@@ -204,13 +204,12 @@
 TeXGyreScholaX-Slanted-lf-sc-ly1--base TeXGyreScholaX-Slanted "AutoEnc_dodlyjs2j6s5jsmywryamwqrwh ReEncodeFont" <[zcs_dodlyj.enc <TeXGyreScholaX-Slanted.pfb
 TeXGyreScholaX-Slanted-lf-sc-t1--base TeXGyreScholaX-Slanted "AutoEnc_x5uxyb4kvkfg4q23aej7tnic5a ReEncodeFont" <[zcs_x5uxyb.enc <TeXGyreScholaX-Slanted.pfb
 TeXGyreScholaX-Slanted-lf-ts1--base TeXGyreScholaX-Slanted "AutoEnc_zwynmlymc3bfzra6tcycixeqaa ReEncodeFont" <[zcs_zwynml.enc <TeXGyreScholaX-Slanted.pfb
-zcs-Italic-tlf-th-t1 TeXGyreScholaX-Italic  enczcs-ecth-tlf ReEncodeFont  <zcs-ecth-tlf.enc <TeXGyreScholaX-Italic.pfb
-zcs-Italic-tlf-th-ot1 TeXGyreScholaX-Italic  enczcs-ot1-th-tlf ReEncodeFont  <zcs-ot1-th-tlf.enc <TeXGyreScholaX-Italic.pfb
-zcs-Italic-osf-th-ot1 TeXGyreScholaX-Italic  enczcs-ot1-th-osf ReEncodeFont  <zcs-ot1-th-osf.enc <TeXGyreScholaX-Italic.pfb
-zcs-Italic-tlf-th-ly1 TeXGyreScholaX-Italic  enczcs-texnansi-th-tlf ReEncodeFont  <zcs-texnansi-th-tlf.enc <TeXGyreScholaX-Italic.pfb
-zcs-Italic-osf-th-ly1 TeXGyreScholaX-Italic  enczcs-texnansi-th-osf ReEncodeFont  <zcs-texnansi-th-osf.enc <TeXGyreScholaX-Italic.pfb
-zcs-Italic-tlf-th-t1 TeXGyreScholaX-Italic  enczcs-ecth-tlf ReEncodeFont  <zcs-ecth-tlf.enc <TeXGyreScholaX-Italic.pfb
-
+zcs-Italic-osf-th-ly1 TeXGyreScholaX-Italic "enczcs-texnansi-th-osf ReEncodeFont" <zcs-texnansi-th-osf.enc <TeXGyreScholaX-Italic.pfb
+zcs-Italic-osf-th-ot1 TeXGyreScholaX-Italic "enczcs-ot1-th-osf ReEncodeFont" <zcs-ot1-th-osf.enc <TeXGyreScholaX-Italic.pfb
+zcs-Italic-tlf-th-ly1 TeXGyreScholaX-Italic "enczcs-texnansi-th-tlf ReEncodeFont" <zcs-texnansi-th-tlf.enc <TeXGyreScholaX-Italic.pfb
+zcs-Italic-tlf-th-ot1 TeXGyreScholaX-Italic "enczcs-ot1-th-tlf ReEncodeFont" <zcs-ot1-th-tlf.enc <TeXGyreScholaX-Italic.pfb
+zcs-Italic-tlf-th-t1 TeXGyreScholaX-Italic "enczcs-ecth-tlf ReEncodeFont" <zcs-ecth-tlf.enc <TeXGyreScholaX-Italic.pfb
+zcs-Italic-osf-th-t1 TeXGyreScholaX-Italic "enczcs-ecth-osf ReEncodeFont" <zcs-ecth-osf.enc <TeXGyreScholaX-Italic.pfb
 NCMathRM NCMathRM <NCMathRM.pfb
 NCMathBRM NCMathBRM <NCMathBRM
 NCMathBMI NCMathBMI <NCMathBMI

Modified: trunk/Master/texmf-dist/tex/latex/scholax/newtx-nc-subs.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/scholax/newtx-nc-subs.tex	2020-01-03 22:14:31 UTC (rev 53310)
+++ trunk/Master/texmf-dist/tex/latex/scholax/newtx-nc-subs.tex	2020-01-03 22:15:20 UTC (rev 53311)
@@ -1,8 +1,7 @@
-{f}{-2}
+{f}{-.5}
 {j}{-2}
-{p}{-1.5}
-{y}{-1.5}
-{A}{-1.5}
+{p}{-.5}
+{A}{-1}
 {B}{-1}
 {D}{-1}
 {H}{-1}
@@ -13,5 +12,6 @@
 {N}{-0.5}
 {P}{-1}
 {X}{-1}
-{\rho}{-1}
-{\beta}{-1}
\ No newline at end of file
+{\rho}{-2.5}
+{\beta}{-1}
+{\mu}{-2}

Modified: trunk/Master/texmf-dist/tex/latex/scholax/newtx-ncf-subs.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/scholax/newtx-ncf-subs.tex	2020-01-03 22:14:31 UTC (rev 53310)
+++ trunk/Master/texmf-dist/tex/latex/scholax/newtx-ncf-subs.tex	2020-01-03 22:15:20 UTC (rev 53311)
@@ -1,8 +1,7 @@
-{f}{-2}
+{f}{-.5}
 {j}{-2}
-{p}{-1.5}
-{y}{-1.5}
-{A}{-1.5}
+{p}{-.5}
+{A}{-1}
 {B}{-1}
 {D}{-1}
 {H}{-1}
@@ -13,5 +12,6 @@
 {N}{-0.5}
 {P}{-1}
 {X}{-1}
-{\rho}{-1}
-{\beta}{-1}
\ No newline at end of file
+{\rho}{-5}
+{\beta}{-3}
+{\mu}{-1.5}

Modified: trunk/Master/texmf-dist/tex/latex/scholax/scholax.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/scholax/scholax.sty	2020-01-03 22:14:31 UTC (rev 53310)
+++ trunk/Master/texmf-dist/tex/latex/scholax/scholax.sty	2020-01-03 22:15:20 UTC (rev 53311)
@@ -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 @@
 
 \AtEndPreamble{%
 \ifzcs at 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 at 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 at figurealign\TeXGyreScholaX at figurestyle}
 \newcommand*{\thdefault}{zcsth-\TeXGyreScholaX at figurestyle}



More information about the tex-live-commits mailing list