texlive[58733] Master/texmf-dist: scholax (4apr21)

commits+preining at tug.org commits+preining at tug.org
Sun Apr 4 04:25:12 CEST 2021


Revision: 58733
          http://tug.org/svn/texlive?view=revision&revision=58733
Author:   preining
Date:     2021-04-04 04:25:12 +0200 (Sun, 04 Apr 2021)
Log Message:
-----------
scholax (4apr21)

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/tfm/public/scholax/zncbmia.tfm
    trunk/Master/texmf-dist/fonts/tfm/public/scholax/zncfbmia.tfm
    trunk/Master/texmf-dist/fonts/tfm/public/scholax/zncfmia.tfm
    trunk/Master/texmf-dist/fonts/tfm/public/scholax/zncmia.tfm
    trunk/Master/texmf-dist/fonts/vf/public/scholax/zncbmia.vf
    trunk/Master/texmf-dist/fonts/vf/public/scholax/zncfbmia.vf
    trunk/Master/texmf-dist/fonts/vf/public/scholax/zncfmia.vf
    trunk/Master/texmf-dist/fonts/vf/public/scholax/zncmia.vf
    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	2021-04-04 02:23:36 UTC (rev 58732)
+++ trunk/Master/texmf-dist/doc/fonts/scholax/README	2021-04-04 02:25:12 UTC (rev 58733)
@@ -1,7 +1,7 @@
 The ScholaX Font Package
 ========================
 
-ScholaX is made up of text fonts based on TeXGyreSchola, extended to include a quite full set of superior letters and figures and a set of inferior figures. The italic face has been enhanced wth upright punctuation glyphs so that a special theorem font can be made available. Math support is available via newtxmath using one of two options: option "nc" (for New Century [Schoolbook]) uses the newtx Greek alphabets, while option "ncf" uses Greek math alphabets derived from those in the Fourier package. The additions to TeXGyreSchola, named TeXGyreScholaX, and the revisions/additions to the Fourier Greek alphabets are copyright (c) 2019 by Michael Sharpe. The first release was dated 2019-12-30.
+ScholaX is made up of text fonts based on TeXGyreSchola, extended to include a quite full set of superior letters and figures and a set of inferior figures. The italic face has been enhanced wth upright punctuation glyphs so that a special theorem font can be made available. Math support is available via newtxmath using one of two options: option "nc" (for New Century [Schoolbook]) uses the newtx Greek alphabets, while option "ncf" uses Greek math alphabets derived from those in the Fourier package. The additions to TeXGyreSchola, named TeXGyreScholaX, and the revisions/additions to the Fourier Greek alphabets are copyright (c) 2019--2021 by Michael Sharpe. The first release was dated 2019-12-30.
 
 LICENCE
 The licence of fourier-GUTenberg is LPPL (Latex Public
@@ -8,8 +8,12 @@
 Project Licence) and the licence for TeXGyre fonts is equivalent to the LPPL, so this package is released under the LPPL. 
 
 
-Current version: 1.029 2020-12-19
+Current version: 1.030 2021-03-24
 
+Changes in version 1.030
+1. Brought math blackboard bold alphabets into conformance with additions to newtxmath.
+2. Improved the \textfrac macro along the lines of the one in newtxtext.sty.
+
 Changes in version 1.029
 Added a number of Blackboard Bold Greek glyphs to math family lettersA.
 

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	2021-04-04 02:23:36 UTC (rev 58732)
+++ trunk/Master/texmf-dist/doc/fonts/scholax/scholax-doc.tex	2021-04-04 02:25:12 UTC (rev 58733)
@@ -15,7 +15,7 @@
 %\usepackage{amssymb}% don't use with newtxmath
 %SetFonts
 % scholax+newtxmath
-\usepackage[theoremfont,foresolidus=-.1em,aftsolidus=-.11em]{scholax} % use sb in place of bold
+\usepackage[theoremfont,foresolidus=.05em,aftsolidus=-.11em]{scholax} % use sb in place of bold
 \usepackage[T1]{fontenc}
 \usepackage{textcomp}
 \usepackage[varqu,varl]{zi4}% inconsolata
@@ -51,15 +51,8 @@
 \title{ScholaX}
 \author{Michael Sharpe}
 \date{\today}  % Activate to display a given date or no date
-\makeatletter
-%\renewcommand*{\textnu}[1]{\zcs at raisefrac \hbox{\textsu{#1}}}
-%\newcommand*{\textde}[1]{\zcs at raisefrac \hbox{\textin{#1}}}
-%\renewcommand*{\textfrac}[2]{%
-%    \hbox{\textsu{#1}\kern \zcs at foresolidus \textfractionsolidus\kern \zcs at aftsolidus \textin{#2}}}
-\makeatother
 \begin{document}
 \maketitle
-%\show\thdefault
 \section*{In short}
 
 {\tt ScholaX} has a text part and a math support part that is called with an option to {\tt newtxmath}. The text component has many of the options and macros that are part of the {\tt newtxtext} package, but with Times fonts replaced by {\tt TeXGyreScholaX} fonts, the latter being an an extension of the {\tt TeXGyreSchola} fonts which in turn extended the URW rendering of \emph{New Century Schoolbook} that was donated as open source to the Ghostscript project. The font is based on early nineteenth century ``Scotch'' type, whose dominant features are low contrast as compared to, say, Times and Baskerville, and a relatively tall x-height. Its revivals gained popularity because of studies indicating its readability by children leading to its adoption in many texts for that market. Now that I am approaching the age where second childhood is not uncommon, the font is looking more interesting.
@@ -149,11 +142,11 @@
 %\verb|\textsu{1}\textnu{1}; \textin{1}\textde{1}| \textsu{1}\textnu{1}; \textin{1}\textde{1} \verb|Note the differences in size and baseline|
 %\verb|\textfrac{17}{32}| \textfrac{17}{32} Constructs fractions using \verb|\textnu| and \verb|\textde|.
 \verb|\textsu{1}X\textin{1}| renders as \textsu{1}X\textin{1} \\
-\verb|2\textfrac{19}{32}| renders as 2\textfrac{19}{32} with default settings. Note also \textfrac{1}{2}, \textfrac{1}{4}, \textfrac{3}{4}, \textfrac{7}{8}, \textfrac{3}{16}, the first three of which are hard-coded in the font. There are clear deficiencies in the \verb|\textfrac| macro used in this package, and for a better one, one must use the approach now used in {\tt newtxtext}, which is much more involved.
+\verb|\textfrac[2]{19}{32}| renders as \textfrac[2]{19}{32} with default settings. Note also \textfrac{1}{2}, \textfrac{1}{4}, \textfrac{3}{4}, \textfrac{7}{8}, \textfrac{3}{16}. (The optional argument to \verb|\textfrac| is the integer part.)
 
 The \verb|\textfrac| constructs fractions using \verb|\textsu| and \verb|\textin|, raising the result to align with the text baseline. The behavior is quite configurable, there being three parameters available to control the kerns before and after the fraction solidus, and the amount to raise the resulting box. The three parameters are passed as options to {\tt scholax}, named
 \begin{verbatim}
-foresolidus % default value -.1em
+foresolidus % default value .04em
 aftsolidus  % default value -.11em
 raisefrac   % default value .111em
 \end{verbatim}
@@ -217,7 +210,7 @@
 Unless you specify in the options a choice (one of {\tt varbb}, {\tt vvarbb} for your blackboard bold alphabet, \verb|\mathbb| will use the default blackboard bold alphabet: $\mathbb{A\dots Z, k}$ (the only lowercase letter available is $\mathbb{k}$), which I find unappealing because the uneven separations between boundaries makes the gray level likewise uneven. There are  two macros which provide access to other alphabets: 
 \begin{itemize}
 \item
-\verb|\vmathbb| gives you $\vmathbb{A\dots Z k 1\imath\jmath}$ ($\vmathbb{k}$  is sole lowercase, $\vmathbb{1\imath\jmath}$ borrowed from \verb|\vvmathbb|);
+\verb|\vmathbb| gives you $\vmathbb{A\dots Z x 1\imath\jmath}$ (full lowercase, \verb|\imath,\jmath|, $\vmathbb{1}$ borrowed from \verb|\vvmathbb|);
 \item \verb|\vvmathbb| gives you $\vvmathbb{A\dots z12\imath\jmath}$ (full lowercase, digits, \verb|\imath,\jmath|).
 \end{itemize}
 For further details, consult the {\tt newtx} documentation.
@@ -430,5 +423,23 @@
 
 $$p_1(n)=\lim_{m\to\infty}\sum_{\nu=0}^\infty\bigl(1-\cos^{2m}(\nu!^n\pi/n)\bigr)$$
 
+\newpage
+\section*{Font Tables}
 
+\textsc{Math Letters (option {\tt nc})}
+\fonttable{zncmi}
+
+\newpage
+
+\textsc{Math LettersA (option {\tt nc})}
+\fonttable{zncmia}
+\newpage 
+\textsc{Math Letters (option {\tt ncf})}
+\fonttable{zncfmi}
+
+\newpage
+
+\textsc{Math LettersA (option {\tt ncf})}
+\fonttable{zncfmia}
+
  \end{document}  
\ No newline at end of file

Modified: trunk/Master/texmf-dist/fonts/tfm/public/scholax/zncbmia.tfm
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/tfm/public/scholax/zncfbmia.tfm
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/tfm/public/scholax/zncfmia.tfm
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/tfm/public/scholax/zncmia.tfm
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/vf/public/scholax/zncbmia.vf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/vf/public/scholax/zncfbmia.vf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/vf/public/scholax/zncfmia.vf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/fonts/vf/public/scholax/zncmia.vf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/latex/scholax/scholax.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/scholax/scholax.sty	2021-04-04 02:23:36 UTC (rev 58732)
+++ trunk/Master/texmf-dist/tex/latex/scholax/scholax.sty	2021-04-04 02:25:12 UTC (rev 58733)
@@ -1,7 +1,7 @@
 %%
 \NeedsTeXFormat{LaTeX2e}
-\def\fileversion{1.028}
-\def\filedate{2020/12/18}
+\def\fileversion{1.030}
+\def\filedate{2021/03/24}
 \ProvidesPackage{scholax}
     [\filedate\space v\fileversion]
 
@@ -9,6 +9,7 @@
 
 \RequirePackage[LY1,T1]{fontenc}
 \RequirePackage{textcomp}
+\RequirePackage{ifthen,xstring}
 \DeclareEncodingSubset{TS1}{TeXGyreScholaX-*}{0}
 \RequirePackage{etoolbox}
 \IfFileExists{mweights.sty}{\RequirePackage{mweights}}{}
@@ -35,8 +36,8 @@
         \fontfigurestyle{inferior}\selectfont}
     \DeclareTextFontCommand{\textin}{\infigures}
     \let\textinferior\textin
-    \providecommand*{\textfrac}[2]{%
-    \raise \zcs at raisefrac \hbox{\textsu{##1}\kern \zcs at foresolidus \textfractionsolidus\kern \zcs at aftsolidus \textin{##2}}}
+%    \providecommand*{\textfrac}[2]{%
+%    \raise \zcs at raisefrac \hbox{\textsu{##1}\kern \zcs at foresolidus \textfractionsolidus\kern \zcs at aftsolidus \textin{##2}}}
 }{}
 
 
@@ -65,7 +66,7 @@
 \@onlypreamble\useproportional
 \newif\ifzcs at thrm
 
-\def\zcs at foresolidus{-.1em}
+\def\zcs at foresolidus{.04em}
 \def\zcs at aftsolidus{-.11em}
 \def\zcs at raisefrac{.111em}
 \edef\bfseries at rm{b}
@@ -142,6 +143,43 @@
 OsF}\fontshape{sc}\selectfont #1}%
 }\fi% use OsF in small caps
 
+\newcommand{\textfrac}[3][]{% e.g., \textfrac[1]{7}{8}
+  \mbox{%
+    \ifthenelse{\not\equal{#1}{}}%Test for integer portion [optional #1]
+      {\textlf{#1}\kern.05em}{}%         
+    \raise \zcs at raisefrac \hbox{%
+    \textsu{#2}% numerator
+    \StrRight{#2}{1}[\@digit@]%
+    % look for  1, 2, 6, 7
+    \ifcase\@digit@% 0
+    \or%\kern.03em% 1
+    \or%\kern.02em% 2
+    \or\kern-.02em% 3
+    \or\kern.01em% 4
+    \or\kern-.01em% 5
+    \or%\kern-.01em% 6
+    \or\kern-.08em% 7
+    \or%\kern-.08em% 8
+    \or\kern-.04em% 9
+    \fi%
+    \kern\zcs at foresolidus{\fontencoding{TS1}\selectfont\char"2F}%
+    \kern\zcs at aftsolidus%
+    \StrLeft{#3}{1}[\@digit@]%
+    % look for 1, 4, 7
+    \ifcase\@digit@% 0
+    \or%\kern -.02em% 1
+    \or\kern .01em% 2
+    \or% 3
+    \or\kern -.08em% 4
+    \or\kern -.01em% 5
+    \or\kern -.04em% 6
+    \or%\kern .02em% 7
+    \fi%
+    \textin{#3}%       denominator [#3]
+  }% hbox
+  }
+}
+
 \renewcommand*{\rmdefault}{TeXGyreScholaX-TLF} % always TLF in math
 \renewcommand*{\familydefault}{\rmdefault}
 



More information about the tex-live-commits mailing list.