summaryrefslogtreecommitdiff
path: root/macros/unicodetex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-10-21 03:01:29 +0000
committerNorbert Preining <norbert@preining.info>2023-10-21 03:01:29 +0000
commit6deeaf1bda76263051b929f5d5401c98d85e74ef (patch)
tree385460fec9e3be1f3e98950bde1c729aa3a8aa5b /macros/unicodetex
parentc9ab6fbcc0f960c5e669419f2565ff121a7f33fd (diff)
CTAN sync 202310210301
Diffstat (limited to 'macros/unicodetex')
-rw-r--r--macros/unicodetex/latex/fontsetup/README2
-rw-r--r--macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.pdfbin584050 -> 556078 bytes
-rw-r--r--macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.tex4
-rw-r--r--macros/unicodetex/latex/fontsetup/fontsetup.sty39
4 files changed, 40 insertions, 5 deletions
diff --git a/macros/unicodetex/latex/fontsetup/README b/macros/unicodetex/latex/fontsetup/README
index 472a898d2f..ef172cfe23 100644
--- a/macros/unicodetex/latex/fontsetup/README
+++ b/macros/unicodetex/latex/fontsetup/README
@@ -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.
diff --git a/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.pdf b/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.pdf
index 6b90a5bab1..7ce909832c 100644
--- a/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.pdf
+++ b/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.pdf
Binary files differ
diff --git a/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.tex b/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.tex
index 870bc36f03..dc52a0cbfa 100644
--- a/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.tex
+++ b/macros/unicodetex/latex/fontsetup/doc/fontsetup-doc.tex
@@ -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
diff --git a/macros/unicodetex/latex/fontsetup/fontsetup.sty b/macros/unicodetex/latex/fontsetup/fontsetup.sty
index f68237105b..5d40b84f27 100644
--- a/macros/unicodetex/latex/fontsetup/fontsetup.sty
+++ b/macros/unicodetex/latex/fontsetup/fontsetup.sty
@@ -70,6 +70,9 @@
\newif\if@varnothing
\DeclareOption{varnothing}{\@varnothingtrue}
%
+\newif\if@amsbb
+\DeclareOption{amsbb}{\@amsbbtrue}
+%
\ProcessOptions
%provide a test to know if a 16bits TeX is used.
@@ -92,15 +95,31 @@
%
\if@upint
\if@varnothing
+ \if@amsbb
+ \setmathfont[StylisticSet=2,StylisticSet=3,CharacterVariant=1]{NewCMMath-Book.otf}
+ \else
\setmathfont[StylisticSet=2,CharacterVariant=1]{NewCMMath-Book.otf}
+ \fi
\else
+ \if@amsbb
+ \setmathfont[StylisticSet=2,StylisticSet=3]{NewCMMath-Book.otf}
+ \else
\setmathfont[StylisticSet=2]{NewCMMath-Book.otf}
+ \fi
\fi
\else
\if@varnothing
+ \if@amsbb
+ \setmathfont[StylisticSet=3,CharacterVariant=1]{NewCMMath-Book.otf}
+ \else
\setmathfont[CharacterVariant=1]{NewCMMath-Book.otf}
+ \fi
\else
+ \if@amsbb
+ \setmathfont[StylisticSet=3]{NewCMMath-Book.otf}
+ \else
\setmathfont{NewCMMath-Book.otf}
+ \fi
\fi
\fi
%
@@ -143,15 +162,31 @@
\RequirePackage{fspolddefault}
\if@upint
\if@varnothing
- \setmathfont[StylisticSet=2,CharacterVariant=1]{NewCMMath-Book.otf}
+ \if@amsbb
+ \setmathfont[StylisticSet=2,StylisticSet=3,CharacterVariant=1]{NewCMMath-Regular.otf}
+ \else
+ \setmathfont[StylisticSet=2,CharacterVariant=1]{NewCMMath-Regular.otf}
+ \fi
\else
+ \if@amsbb
+ \setmathfont[StylisticSet=2,StylisticSet=3]{NewCMMath-Regular.otf}
+ \else
\setmathfont[StylisticSet=2]{NewCMMath-Regular.otf}
+ \fi
\fi
\else
\if@varnothing
- \setmathfont[CharacterVariant=1]{NewCMMath-Book.otf}
+ \if@amsbb
+ \setmathfont[StylisticSet=3,CharacterVariant=1]{NewCMMath-Regular.otf}
+ \else
+ \setmathfont[CharacterVariant=1]{NewCMMath-Regular.otf}
+ \fi
\else
+ \if@amsbb
+ \setmathfont[StylisticSet=3]{NewCMMath-Regular.otf}
+ \else
\setmathfont{NewCMMath-Regular.otf}
+ \fi
\fi
\fi
\or