diff options
author | Norbert Preining <norbert@preining.info> | 2021-05-05 23:57:52 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-05-05 23:57:52 +0900 |
commit | b020ed8d68a79946c4678a71d049c808244bb5ec (patch) | |
tree | e8e6a9a66b590cc18e60f6686004a03e3b807f6c /texmf-dist | |
parent | 2bb5438924c3f565e6195321ccc55c51bf7b4c71 (diff) |
Add fontsetup-nonfree
Diffstat (limited to 'texmf-dist')
16 files changed, 362 insertions, 0 deletions
diff --git a/texmf-dist/doc/latex/fontsetup-nonfree/README b/texmf-dist/doc/latex/fontsetup-nonfree/README new file mode 100644 index 00000000..5a68a220 --- /dev/null +++ b/texmf-dist/doc/latex/fontsetup-nonfree/README @@ -0,0 +1,14 @@ + The fontsetup-nonfree package + (Version 1.02, GPL3) + +This package accompanies fontsetup, and inludes support for nonfree fonts. + +For more information read the file fontsetup-nonfree-doc.pdf in +the doc subdirectory. + +Antonis Tsolomitis +Professor +University of the Aegean +Department of Mathematics +83200 Samos, Greece + diff --git a/texmf-dist/doc/latex/fontsetup-nonfree/fontsetup-nonfree-doc.pdf b/texmf-dist/doc/latex/fontsetup-nonfree/fontsetup-nonfree-doc.pdf Binary files differnew file mode 100644 index 00000000..071b8771 --- /dev/null +++ b/texmf-dist/doc/latex/fontsetup-nonfree/fontsetup-nonfree-doc.pdf diff --git a/texmf-dist/doc/latex/fontsetup-nonfree/fontsetup-nonfree-doc.tex b/texmf-dist/doc/latex/fontsetup-nonfree/fontsetup-nonfree-doc.tex new file mode 100644 index 00000000..5711b01a --- /dev/null +++ b/texmf-dist/doc/latex/fontsetup-nonfree/fontsetup-nonfree-doc.tex @@ -0,0 +1,100 @@ +\documentclass{book} +\usepackage[default]{fontsetup} +\usepackage{graphicx,fullpage,supertabular} +\begin{document} + + + \begin{center} + {\LARGE The \texttt{fontsetup-nonfree} package}\\[1ex] + \textit{by}\\[1ex] + {\large Antonis Tsolomitis}\\ +University of the Aegean\\ Department of Mathematics\\[1ex] + \textsc{3} May \textsc{2021}\\[1ex] + Version 1.02, \textsc{gpl3} + \end{center} + + This package is part of the fontsetup package but for license issues it has been + separated from the rest. For general information about the use of fontsetup check + the file fontsetup-doc.pdf of the (free) fontsetup package. This package must + be installed to access the commercial fonts that supports. + +\bigskip + +\textbf{Summary of installation steps to support all commercial fonts supported} + +\medskip + +\textit{Please note that Greek Small Caps for Linotype Palatino and MinionPro + are supported only for} \verb|xelatex|. + Users of \verb|lualatex| have to use custom commands as lua does not work with + the \verb|ucharclasses| package. +\medskip + +\begin{enumerate} +\item Install as system fonts the supplied \verb|fspmnscel.otf| + and \verb|fsplpscel.otf| (in \verb|C:\Windows\Fonts\| on MS-Windows or in + \verb|/home/user/.fonts/| in Linux or system-wide install as administrator) +\item Repeat the previous step for all MinionPro and MyriadPro fonts from the + installation of the free Adobe Acrobat Reader. +\item Repeat the above for the MS-Garamond fonts (\verb|Gara.ttf|, \verb|Garabd.ttf| + and \verb|Garait.ttf|) as well as for the Linotype Palatino fonts + found in some versions of Microsoft Windows (\verb|palabi.ttf|, \verb|palab.ttf|, + \verb|palai.ttf|, and \verb|pala.ttf|). +\item Repeat the above for the Cambria fonts (\verb|cambria.ttc|, \verb|cambriab.ttf|, + \verb|cambriai.ttf|, \verb|cambriaz.ttf|). +\item Install the commercial Lucida fonts (if available) in your TeX tree. +%\item Install \verb|euler.otf| in your TeX tree from +% here: \verb|https://github.com/khaledhosny/euler-otf| +\end{enumerate} + +\bigskip + + + + +Samples of the supported commercial fonts follow. + +\newpage + +\begin{center} +{\Large Cambria and CambriaMath: option \verb|cambria|}\\ +Cambria Fonts must be installed as system fonts\\[1cm] +\includegraphics[scale=1.2]{fspsample-cambria.pdf} +\end{center} + +\newpage + +\begin{center} +{\Large Lucida and Lucida-Math (commercial): option \verb|lucida|}\\[1cm] +\includegraphics[scale=1.2]{fspsample-lucida.pdf} +\end{center} + +\newpage + +\begin{center} +{\Large MinionPro (commercial) and Stix2Math: option \verb|minion|}\\ +MinionPro Fonts and the supplied fspmnscel.otf must +be installed as system fonts\\[1cm] +\includegraphics[scale=1.2]{fspsample-minion.pdf} +\end{center} + +\newpage + +\begin{center} +{\Large MS-Garamond (commercial) and Garamond-Math: option \verb|msgaramond|}\\ +MS-Garamond Fonts must be installed as system fonts\\[1cm] +\includegraphics[scale=1.2]{fspsample-msgaramond.pdf} +\end{center} + +\newpage + +\begin{center} +{\Large Linotype Palatino (commercial) and texgyrepagella-math: option \verb|palatino|}\\ +Linotype Palatino Fonts and the supplied fsplpscel.otf must be installed as system fonts\\[1cm] +\includegraphics[scale=1.2]{fspsample-palatino.pdf} +\end{center} + +\newpage + + +\end{document} diff --git a/texmf-dist/doc/latex/fontsetup-nonfree/fspsample-cambria.pdf b/texmf-dist/doc/latex/fontsetup-nonfree/fspsample-cambria.pdf Binary files differnew file mode 100644 index 00000000..f003f222 --- /dev/null +++ b/texmf-dist/doc/latex/fontsetup-nonfree/fspsample-cambria.pdf diff --git a/texmf-dist/doc/latex/fontsetup-nonfree/fspsample-lucida.pdf b/texmf-dist/doc/latex/fontsetup-nonfree/fspsample-lucida.pdf Binary files differnew file mode 100644 index 00000000..bebf3cef --- /dev/null +++ b/texmf-dist/doc/latex/fontsetup-nonfree/fspsample-lucida.pdf diff --git a/texmf-dist/doc/latex/fontsetup-nonfree/fspsample-minion.pdf b/texmf-dist/doc/latex/fontsetup-nonfree/fspsample-minion.pdf Binary files differnew file mode 100644 index 00000000..ef26ae64 --- /dev/null +++ b/texmf-dist/doc/latex/fontsetup-nonfree/fspsample-minion.pdf diff --git a/texmf-dist/doc/latex/fontsetup-nonfree/fspsample-msgaramond.pdf b/texmf-dist/doc/latex/fontsetup-nonfree/fspsample-msgaramond.pdf Binary files differnew file mode 100644 index 00000000..e411c077 --- /dev/null +++ b/texmf-dist/doc/latex/fontsetup-nonfree/fspsample-msgaramond.pdf diff --git a/texmf-dist/doc/latex/fontsetup-nonfree/fspsample-palatino.pdf b/texmf-dist/doc/latex/fontsetup-nonfree/fspsample-palatino.pdf Binary files differnew file mode 100644 index 00000000..48644e57 --- /dev/null +++ b/texmf-dist/doc/latex/fontsetup-nonfree/fspsample-palatino.pdf diff --git a/texmf-dist/doc/latex/fontsetup-nonfree/fspsample.tex b/texmf-dist/doc/latex/fontsetup-nonfree/fspsample.tex new file mode 100644 index 00000000..23ec736e --- /dev/null +++ b/texmf-dist/doc/latex/fontsetup-nonfree/fspsample.tex @@ -0,0 +1,75 @@ +%% after xelatex run +%% pdfcrop fspsample.pdf output.pdf +%% to crop it +\documentclass{article} +\pagestyle{empty} +\usepackage{xgreek,graphicx} +\pagestyle{empty} +%\usepackage[greek]{babel} +%\usepackage[utf8x]{inputenc} +%\usepackage{amsfonts} + +\usepackage[default]{fontsetup} +%\usepackage[gfsartemisia]{fontsetup} +%\usepackage[gfsdidot]{fontsetup} +%\usepackage[gfsdidotclassic]{fontsetup} +%\usepackage[gfsneohellenic]{fontsetup} +%\usepackage[cambria]{fontsetup} +%\usepackage[lucida]{fontsetup} +%\usepackage[kerkis]{fontsetup} +%\usepackage[fira]{fontsetup} +%\usepackage[times]{fontsetup} +%\usepackage[palatino]{fontsetup} +%\usepackage[stixtwo]{fontsetup} +%\usepackage[neokadmus]{fontsetup} +%\usepackage[msgaramond]{fontsetup} +%\usepackage[ebgaramond]{fontsetup} +%\usepackage[minion]{fontsetup} +%\usepackage[neoeuler]{fontsetup} +%\usepackage[libertinus]{fontsetup} +%\usepackage[olddefault]{fontsetup} + + + +\newtheorem{theorem}{Theorem} +\newtheorem{theoremg}[theorem]{Θεώρημα} + + +\begin{document} + +\begin{theorem}[Dominated convergence of Lebesgue] +%Let $g$ be an +Assume that $g$ is an +in\-te\-grable func\-tion defined on the measurable set $E$ and that + $(\,f_n)_{n\in\mathbb N}$ is a sequence of mea\-sur\-able functions so that + $|\,f_n|\leq g$. If $f$ is a function so that $f_n\to f$ almost everywhere + then $$\lim_{n\to\infty}\int f_n=\int f.$$ +\end{theorem} +\textit{Proof}: The function $g-f_n$ is non-negative and thus from Fatou lemma +we have that $\int(g-f\,)\leq\liminf\int(g-f_n)$. Since $|\,f\,|\leq g$ and +$|\,f_n|\leq g$ the functions $f$ and $f_n$ are integrable and we have +$$\int g-\int f\,\leq \int g-\limsup\int f_n,$$ so +$$\int f\,\geq \limsup \int f_n.$$ +\par +\begin{theoremg}[Κυριαρχημένης σύγκλισης του Lebesgue] + Έστω ότι +η $g$ είναι μια ολοκληρώσιμη συνάρτηση ορισμένη στο μετρήσιμο σύνολο +$E$ και η $(\,f_n)_{n\in\mathbb N}$ είναι μια ακολουθία μετρήσιμων συναρτήσεων ώστε +$|\,f_n| ≤ g$. Υποθέτουμε ότι υπάρχει μια συνάρτηση $f$ +ώστε η $(f_n)_{n\in\mathbb N}$ να +τείνει στην $f$ σχεδόν παντού. Τότε +$$\lim \int f_n =\int f.$$ +\end{theoremg} +\textit{Απόδειξη}: Η συνάρτηση $g − f_n$ είναι μη αρνητική και άρα από +το Λήμμα του Fatou ισχύει +$\int (f-g) ≤ \liminf \int (g-f_n)$. Επειδή +$|\,f\,| ≤ g$ και $|\,f_n| ≤g$ οι $f$ και $f_n$ είναι ολοκληρώσιμες, έχουμε +$$\int g −\int f\, ≤ \int g − \limsup\int f_n,$$ +άρα +$$\int f\,\geq \limsup \int f_n.$$ + + + + + +\end{document} diff --git a/texmf-dist/doc/latex/fontsetup-nonfree/system-install-fonts/fsplpscel.otf b/texmf-dist/doc/latex/fontsetup-nonfree/system-install-fonts/fsplpscel.otf Binary files differnew file mode 100644 index 00000000..b505b6b9 --- /dev/null +++ b/texmf-dist/doc/latex/fontsetup-nonfree/system-install-fonts/fsplpscel.otf diff --git a/texmf-dist/doc/latex/fontsetup-nonfree/system-install-fonts/fspmnscel.otf b/texmf-dist/doc/latex/fontsetup-nonfree/system-install-fonts/fspmnscel.otf Binary files differnew file mode 100644 index 00000000..c0e233f4 --- /dev/null +++ b/texmf-dist/doc/latex/fontsetup-nonfree/system-install-fonts/fspmnscel.otf diff --git a/texmf-dist/tex/latex/fontsetup-nonfree/fspcambria.sty b/texmf-dist/tex/latex/fontsetup-nonfree/fspcambria.sty new file mode 100644 index 00000000..b2947bb3 --- /dev/null +++ b/texmf-dist/tex/latex/fontsetup-nonfree/fspcambria.sty @@ -0,0 +1,9 @@ +%% +%% Load Cambria fonts (C) A. Tsolomitis +%% +\RequirePackage{fontspec} +\setmainfont[Contextuals=AlternateOff,BoldFont=Cambria-Bold,ItalicFont=Cambria-Italic,BoldItalicFont=Cambria-BoldItalic]{Cambria} +\RequirePackage{unicode-math} +\setmathfont{Cambria Math} + +\endinput diff --git a/texmf-dist/tex/latex/fontsetup-nonfree/fsplucidaot.sty b/texmf-dist/tex/latex/fontsetup-nonfree/fsplucidaot.sty new file mode 100644 index 00000000..2287f486 --- /dev/null +++ b/texmf-dist/tex/latex/fontsetup-nonfree/fsplucidaot.sty @@ -0,0 +1,28 @@ +\RequirePackage{fontspec} +\setmainfont[% main font + UprightFont=LucidaBrightOT, + ItalicFont=LucidaBrightOT-Italic, + BoldFont=LucidaBrightOT-Demi, + BoldItalicFont=LucidaBrightOT-DemiItalic, + SmallCapsFeatures={Numbers=OldStyle}, + ]{LucidaBrightOT.otf} +\setsansfont[% + UprightFont=LucidaSansOT, + ItalicFont=LucidaSansOT-Italic, + BoldFont=LucidaSansOT-Demi, + BoldItalicFont=LucidaSansOT-DemiItalic, + SmallCapsFeatures={Numbers=OldStyle}, +]{LucidaSansOT.otf} +% +\setmonofont[% + UprightFont=LucidaSansTypewriterOT, + ItalicFont=LucidaSansTypewriterOT-Oblique, + BoldFont=LucidaSansTypewriterOT-Bold, + BoldItalicFont=LucidaSansTypewriterOT-BoldOblique, + SmallCapsFeatures={Numbers=OldStyle}, + ]{LucidaSansTypewriterOT.otf} +% support for OpenType math fonts: +\RequirePackage{unicode-math} +\setmathfont{LucidaBrightMathOT.otf} +\setmathfont[version=bold]{LucidaBrightMathOT-Demi.otf} + diff --git a/texmf-dist/tex/latex/fontsetup-nonfree/fspminion.sty b/texmf-dist/tex/latex/fontsetup-nonfree/fspminion.sty new file mode 100644 index 00000000..292f3dd7 --- /dev/null +++ b/texmf-dist/tex/latex/fontsetup-nonfree/fspminion.sty @@ -0,0 +1,46 @@ + + + +\RequirePackage{fontspec} +\defaultfontfeatures{Ligatures=TeX} +\setmainfont[SmallCapsFeatures={Numbers=OldStyle},% + NFSSFamily=MinionPro,% + ItalicFont=MinionPro-It,% + BoldFont=MinionPro-Bold,% + BoldItalicFont=MinionPro-BoldIt,% +]{MinionPro-Regular} +\setsansfont[SmallCapsFeatures={Numbers=OldStyle},% + NFSSFamily=MyriadPro,% + ItalicFont=MyriadPro-It,% + BoldFont=MyriadPro-Bold,% + BoldItalicFont=MyriadPro-BoldIt,% +]{MyriadPro-Regular} +\newfontfamily{\greekfont}[SmallCapsFont=fspmnscel,% + ItalicFont=MinionPro-It,% + BoldFont=MinionPro-Bold,% + BoldItalicFont=MinionPro-BoldIt,% +]{MinionPro-Regular} + +\newfontfamily{\defaultfont}[SmallCapsFeatures={Numbers=OldStyle},% + NFSSFamily=MinionPro,% + ItalicFont=MinionPro-It,% + BoldFont=MinionPro-Bold,% + BoldItalicFont=MinionPro-BoldIt,% +]{MinionPro-Regular} +\RequirePackage{iftex} +\ifxetex +\RequirePackage[Latin, Greek]{ucharclasses} +\setDefaultTransitions{\defaultfont}{} +\setTransitionsForLatin{\defaultfont}{} +\setTransitionsForGreek{\greekfont}{} +\else +\relax +\fi + + +\RequirePackage{unicode-math} +\setmathfont{STIXTwoMath-Regular.otf} +\setmathfont[range=\mathup/{num,latin,Latin,greek,Greek}]{MinionPro-Regular} +\setmathfont[range=\mathbfup/{num,latin,Latin,greek,Greek}]{MinionPro-Bold} +\setmathfont[range=\mathit/{num,latin,Latin,greek,Greek}]{MinionPro-It} +\setmathfont[range=\mathbfit/{num,latin,Latin,greek,Greek}]{MinionPro-BoldIt} diff --git a/texmf-dist/tex/latex/fontsetup-nonfree/fspmsgaramondot.sty b/texmf-dist/tex/latex/fontsetup-nonfree/fspmsgaramondot.sty new file mode 100644 index 00000000..5f50b8bf --- /dev/null +++ b/texmf-dist/tex/latex/fontsetup-nonfree/fspmsgaramondot.sty @@ -0,0 +1,55 @@ +%\RequirePackage[no-math]{fontspec} +\RequirePackage{fontspec} +\defaultfontfeatures{Ligatures=TeX} +%\RequirePackage[garamond]{mathdesign} + +\setmainfont[% + NFSSFamily=Garamond,% + ItalicFont=Garamond-Italic,% + BoldFont=Garamond-Bold,% + BoldItalicFont=Garamond-Bold,% + SlantedFont=Garamond,% + BoldSlantedFont=Garamond-Bold,% + SlantedFeatures={FakeSlant=0.25},% + BoldSlantedFeatures={FakeSlant=0.25},% +]{Garamond} +\newfontfamily{\greekfont}[% + ItalicFont=Garamond-Italic,% + BoldFont=Garamond-Bold,% + BoldItalicFont=Garamond-Bold,% + SlantedFont=Garamond,% + BoldSlantedFont=Garamond-Bold,% + SlantedFeatures={FakeSlant=0.25},% + BoldSlantedFeatures={FakeSlant=0.25},% +]{Garamond} +\newfontfamily{\defaultfont}[% + NFSSFamily=Garamond,% + ItalicFont=Garamond-Italic,% + BoldFont=Garamond-Bold,% + BoldItalicFont=Garamond-Bold,% + SlantedFont=Garamond,% + BoldSlantedFont=Garamond-Bold,% + SlantedFeatures={FakeSlant=0.25},% + BoldSlantedFeatures={FakeSlant=0.25},% +]{Garamond} + + +\RequirePackage{iftex} +\ifxetex +\RequirePackage[Latin, Greek]{ucharclasses} +\setDefaultTransitions{\defaultfont}{} +\setTransitionsForLatin{\defaultfont}{} +\setTransitionsForGreek{\greekfont}{} +\else +\relax +\fi + +\RequirePackage{unicode-math} +\setmathfont{Garamond-Math.otf} +\setmathfont[range=\mathup/{num,latin,Latin,greek,Greek}]{Garamond} +\setmathfont[range=\mathbfup/{num,latin,Latin,greek,Greek}]{Garamond-Bold} +\setmathfont[range=\mathit/{num,latin,Latin,greek,Greek}]{Garamond-Italic} +\setmathfont[range=\mathbfit/{num,latin,Latin,greek,Greek}]{Garamond-Bold} + + +\endinput diff --git a/texmf-dist/tex/latex/fontsetup-nonfree/fsppalatinoot.sty b/texmf-dist/tex/latex/fontsetup-nonfree/fsppalatinoot.sty new file mode 100644 index 00000000..48528a88 --- /dev/null +++ b/texmf-dist/tex/latex/fontsetup-nonfree/fsppalatinoot.sty @@ -0,0 +1,35 @@ +\RequirePackage{fontspec} +\defaultfontfeatures{Ligatures=TeX} +\setmainfont[SmallCapsFeatures={Numbers=OldStyle},% + NFSSFamily=Palatino Linotype,% + ItalicFont=PalatinoLinotype-Italic,% + BoldFont=PalatinoLinotype-Bold,% + BoldItalicFont=PalatinoLinotype-BoldItalic,% +]{PalatinoLinotype-Roman} +\newfontfamily{\greekfont}[SmallCapsFont=fsplpscel, + ItalicFont=PalatinoLinotype-Italic,% + BoldFont=PalatinoLinotype-Bold,% + BoldItalicFont=PalatinoLinotype-BoldItalic,% +]{PalatinoLinotype-Roman} +\newfontfamily{\defaultfont}[SmallCapsFeatures={Numbers=OldStyle},% + NFSSFamily=Palatino Linotype,% + ItalicFont=PalatinoLinotype-Italic,% + BoldFont=PalatinoLinotype-Bold,% + BoldItalicFont=PalatinoLinotype-BoldItalic,% +]{PalatinoLinotype-Roman} + +\RequirePackage{iftex} +\ifxetex +\RequirePackage[Latin, Greek]{ucharclasses} +\setDefaultTransitions{\defaultfont}{} +\setTransitionsForLatin{\defaultfont}{} +\setTransitionsForGreek{\greekfont}{} +\else +\relax +\fi + +\RequirePackage{unicode-math} +\setmathfont{texgyrepagella-math.otf} + + +\endinput |