texlive[57141] Master/texmf-dist: fontsetup (14dec20)
commits+karl at tug.org
commits+karl at tug.org
Mon Dec 14 23:15:51 CET 2020
Revision: 57141
http://tug.org/svn/texlive?view=revision&revision=57141
Author: karl
Date: 2020-12-14 23:15:51 +0100 (Mon, 14 Dec 2020)
Log Message:
-----------
fontsetup (14dec20)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/fontsetup/README
trunk/Master/texmf-dist/doc/latex/fontsetup/fontsetup-doc.pdf
trunk/Master/texmf-dist/doc/latex/fontsetup/fontsetup-doc.tex
trunk/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty
Modified: trunk/Master/texmf-dist/doc/latex/fontsetup/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fontsetup/README 2020-12-14 22:15:33 UTC (rev 57140)
+++ trunk/Master/texmf-dist/doc/latex/fontsetup/README 2020-12-14 22:15:51 UTC (rev 57141)
@@ -1,5 +1,5 @@
The fontsetup package
- (Version 1.007, GPL3)
+ (Version 1.008, GPL3)
This simple package makes it trivial to switch quickly between
different quality fonts supporting Mathematics.
Modified: trunk/Master/texmf-dist/doc/latex/fontsetup/fontsetup-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/fontsetup/fontsetup-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/fontsetup/fontsetup-doc.tex 2020-12-14 22:15:33 UTC (rev 57140)
+++ trunk/Master/texmf-dist/doc/latex/fontsetup/fontsetup-doc.tex 2020-12-14 22:15:51 UTC (rev 57141)
@@ -9,8 +9,8 @@
\textit{by}\\[1ex]
{\large Antonis Tsolomitis}\\
University of the Aegean\\ Department of Mathematics\\[1ex]
- \textsc{24} August \textsc{2020}\\[1ex]
- Version 1.007, \textsc{gpl3}
+ \textsc{14} December \textsc{2020}\\[1ex]
+ Version 1.008, \textsc{gpl3}
\end{center}
This package is a simple wrapper-type package that makes the setup of fonts easy and
@@ -31,6 +31,7 @@
which is an assembly of cm fonts plus
more fonts to support Greek (cbgreek) and Cyrillic languages. It also provides
\begin{itemize}
+ \item the option ``upint'' for switching to upright integrals in mathmode.
\item commands to access prosgegrammeni instead of ypogegrammeni for capitals and small
capitals, by writing \verb|\textprosgegrammeni{<text>}| or \verb|{\prosgegrammeni <text>}|.
\item commands to access 4th and 6th century bce Greek by writing
Modified: trunk/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty 2020-12-14 22:15:33 UTC (rev 57140)
+++ trunk/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty 2020-12-14 22:15:51 UTC (rev 57141)
@@ -1,6 +1,6 @@
%\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{fontsetup}[2019/12/20 Easy font setup by Antonis Tsolomitis]
-\typeout{fontsetup: Easy font setup by Antonis Tsolomitis}
+\ProvidesPackage{fontsetup}[2020/12/14 Easy font setup by Antonis Tsolomitis]
+\typeout{fontsetup: Easy font setup by Antonis Tsolomitis}
\chardef\fontsetupdefault=0 %
\chardef\fontsetupgfsartemisia=1
@@ -43,6 +43,10 @@
\DeclareOption{libertinus}{\chardef\fontsetupfont\fontsetuplibertinus}
\DeclareOption{olddefault}{\chardef\fontsetupfont\fontsetupolddefault}
\DeclareOption*{\PackageWarning{fontsetup}{Unknown ‘\CurrentOption’}}
+%
+\newif\if at upint
+\DeclareOption{upint}{\@upinttrue}
+%
\ProcessOptions
%provide a test to know if a 16bits TeX is used.
@@ -62,7 +66,14 @@
%The user runs unicode engine
\ifcase\fontsetupfont
\RequirePackage{fspdefault}
-\or
+%
+\if at upint
+\setmathfont[StylisticSet=2]{NewCMMath-Book.otf}
+\else
+\setmathfont{NewCMMath-Book.otf}
+\fi
+%
+ \or
\RequirePackage{fspgfsartemisiaot}
\or
\RequirePackage{fspgfsdidotot}
@@ -98,7 +109,14 @@
\or
\RequirePackage{libertinus-otf}
\or
- \RequirePackage{fspolddefault}
+\RequirePackage{fspolddefault}
+%
+\if at upint
+\setmathfont[StylisticSet=2]{NewCMMath-Regular.otf}
+\else
+\setmathfont{NewCMMath-Regular.otf}
+\fi
+%
\fi
}{%the user runs 8bit engine
\relax}
More information about the tex-live-commits
mailing list.