summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-12-14 22:15:51 +0000
committerKarl Berry <karl@freefriends.org>2020-12-14 22:15:51 +0000
commit4146d1219b59c8a0fd47df5a19e9d68eba8c543f (patch)
tree39e57cfa35da35acb0c9ab80736a431739bc0f23 /Master
parentaa83410db5032f7db20b7f87daee9e6225cea8e8 (diff)
fontsetup (14dec20)
git-svn-id: svn://tug.org/texlive/trunk@57141 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/fontsetup/README2
-rw-r--r--Master/texmf-dist/doc/latex/fontsetup/fontsetup-doc.pdfbin710593 -> 708902 bytes
-rw-r--r--Master/texmf-dist/doc/latex/fontsetup/fontsetup-doc.tex5
-rw-r--r--Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty26
4 files changed, 26 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/latex/fontsetup/README b/Master/texmf-dist/doc/latex/fontsetup/README
index 377b78a5f5c..f433502f275 100644
--- a/Master/texmf-dist/doc/latex/fontsetup/README
+++ b/Master/texmf-dist/doc/latex/fontsetup/README
@@ -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.
diff --git a/Master/texmf-dist/doc/latex/fontsetup/fontsetup-doc.pdf b/Master/texmf-dist/doc/latex/fontsetup/fontsetup-doc.pdf
index 7bbc3d52bab..cbd4adde421 100644
--- a/Master/texmf-dist/doc/latex/fontsetup/fontsetup-doc.pdf
+++ b/Master/texmf-dist/doc/latex/fontsetup/fontsetup-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/fontsetup/fontsetup-doc.tex b/Master/texmf-dist/doc/latex/fontsetup/fontsetup-doc.tex
index b9ddc3ddcdc..3dad6488b79 100644
--- a/Master/texmf-dist/doc/latex/fontsetup/fontsetup-doc.tex
+++ b/Master/texmf-dist/doc/latex/fontsetup/fontsetup-doc.tex
@@ -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 @@ University of the Aegean\\ Department of Mathematics\\[1ex]
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
diff --git a/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty b/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty
index 32ed9bc0d4b..4d5dfb58229 100644
--- a/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty
+++ b/Master/texmf-dist/tex/latex/fontsetup/fontsetup.sty
@@ -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@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@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@upint
+\setmathfont[StylisticSet=2]{NewCMMath-Regular.otf}
+\else
+\setmathfont{NewCMMath-Regular.otf}
+\fi
+%
\fi
}{%the user runs 8bit engine
\relax}