texlive[68602] Master/texmf-dist: fontsetup (21oct23)

commits+karl at tug.org commits+karl at tug.org
Sat Oct 21 03:04:17 CEST 2023


Revision: 68602
          https://tug.org/svn/texlive?view=revision&revision=68602
Author:   karl
Date:     2023-10-21 03:04:17 +0200 (Sat, 21 Oct 2023)
Log Message:
-----------
fontsetup (21oct23)

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	2023-10-20 23:41:01 UTC (rev 68601)
+++ trunk/Master/texmf-dist/doc/latex/fontsetup/README	2023-10-21 01:04:17 UTC (rev 68602)
@@ -1,5 +1,5 @@
                The fontsetup package
-               (Version 1.6, GPL3)
+               (Version 1.7, 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	2023-10-20 23:41:01 UTC (rev 68601)
+++ trunk/Master/texmf-dist/doc/latex/fontsetup/fontsetup-doc.tex	2023-10-21 01:04:17 UTC (rev 68602)
@@ -14,8 +14,8 @@
     \textit{by}\\[1ex]
     {\large Antonis Tsolomitis}\\
 University of the Aegean\\ Department of Mathematics\\[1ex]
-	  \textsc{2} August \textsc{2023}\\[1ex]
-	  Version 1.6, \textsc{gpl3}
+	  \textsc{20} October \textsc{2023}\\[1ex]
+	  Version 1.7, \textsc{gpl3}
   \end{center}
 
   This package is a simple wrapper-type package that makes the setup of fonts easy and

Modified: trunk/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty	2023-10-20 23:41:01 UTC (rev 68601)
+++ trunk/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty	2023-10-21 01:04:17 UTC (rev 68602)
@@ -70,6 +70,9 @@
 \newif\if at varnothing
 \DeclareOption{varnothing}{\@varnothingtrue}
 %
+\newif\if at amsbb
+\DeclareOption{amsbb}{\@amsbbtrue}
+%
 \ProcessOptions
 
 %provide a test to know if a 16bits TeX is used.
@@ -92,15 +95,31 @@
 %
 \if at upint
    \if at varnothing
+	\if at amsbb
+	\setmathfont[StylisticSet=2,StylisticSet=3,CharacterVariant=1]{NewCMMath-Book.otf}
+	\else
    \setmathfont[StylisticSet=2,CharacterVariant=1]{NewCMMath-Book.otf}
+	\fi
    \else
+	\if at amsbb
+	\setmathfont[StylisticSet=2,StylisticSet=3]{NewCMMath-Book.otf}
+	\else
    \setmathfont[StylisticSet=2]{NewCMMath-Book.otf}
+	\fi
    \fi
 \else
    \if at varnothing
+	\if at amsbb
+	\setmathfont[StylisticSet=3,CharacterVariant=1]{NewCMMath-Book.otf}
+	\else
    \setmathfont[CharacterVariant=1]{NewCMMath-Book.otf}
+	\fi
    \else
+	\if at amsbb
+	\setmathfont[StylisticSet=3]{NewCMMath-Book.otf}
+	\else
    \setmathfont{NewCMMath-Book.otf}
+	\fi
    \fi
 \fi
 %
@@ -143,15 +162,31 @@
   \RequirePackage{fspolddefault}
 \if at upint
    \if at varnothing
-   \setmathfont[StylisticSet=2,CharacterVariant=1]{NewCMMath-Book.otf}
+	\if at amsbb
+	\setmathfont[StylisticSet=2,StylisticSet=3,CharacterVariant=1]{NewCMMath-Regular.otf}
+	\else
+   \setmathfont[StylisticSet=2,CharacterVariant=1]{NewCMMath-Regular.otf}
+	\fi
    \else
+	\if at amsbb
+	\setmathfont[StylisticSet=2,StylisticSet=3]{NewCMMath-Regular.otf}
+	\else
    \setmathfont[StylisticSet=2]{NewCMMath-Regular.otf}
+	\fi
    \fi
 \else
    \if at varnothing
-   \setmathfont[CharacterVariant=1]{NewCMMath-Book.otf}
+	\if at amsbb
+	\setmathfont[StylisticSet=3,CharacterVariant=1]{NewCMMath-Regular.otf}
+	\else
+   \setmathfont[CharacterVariant=1]{NewCMMath-Regular.otf}
+	\fi
    \else
+	\if at amsbb
+	\setmathfont[StylisticSet=3]{NewCMMath-Regular.otf}
+	\else
    \setmathfont{NewCMMath-Regular.otf}
+	\fi
    \fi
 \fi
 \or



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