diff options
author | Norbert Preining <norbert@preining.info> | 2019-11-24 03:00:49 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-11-24 03:00:49 +0000 |
commit | 4ce3a0d4729af1865e66c9c1cd967f42b0830d26 (patch) | |
tree | 72eb6f1bfdde6ea4d196d2ee18e43df324be86ff /macros/latex/contrib/fontsetup/doc | |
parent | ce62a0079d7ae24531c203f5758502c163280ff7 (diff) |
CTAN sync 201911240300
Diffstat (limited to 'macros/latex/contrib/fontsetup/doc')
20 files changed, 333 insertions, 0 deletions
diff --git a/macros/latex/contrib/fontsetup/doc/fontsetup-doc.pdf b/macros/latex/contrib/fontsetup/doc/fontsetup-doc.pdf Binary files differnew file mode 100644 index 0000000000..a476585f84 --- /dev/null +++ b/macros/latex/contrib/fontsetup/doc/fontsetup-doc.pdf diff --git a/macros/latex/contrib/fontsetup/doc/fontsetup-doc.tex b/macros/latex/contrib/fontsetup/doc/fontsetup-doc.tex new file mode 100644 index 0000000000..80224d5f70 --- /dev/null +++ b/macros/latex/contrib/fontsetup/doc/fontsetup-doc.tex @@ -0,0 +1,261 @@ +\documentclass{article} +\usepackage[default]{fontsetup} +\usepackage{graphicx,fullpage} +\begin{document} + + + \begin{center} + {\LARGE The \texttt{fontsetup} package}\\[1ex] + \textit{by}\\[1ex] + {\large Antonis Tsolomitis}\\ +University of the Aegean\\ Department of Mathematics\\[1ex] + \textsc{21} November \textsc{2019}\\[1ex] + Version 1.000, \textsc{gpl3} + \end{center} + + This package is a simple wrapper-type package that makes the setup of fonts easy and + quick for XeLaTeX and LuaLaTeX. You just load the package using one of the supported + fonts as an option. + + The target is to provide easy access to fonts with a matching Mathematics font available in + TeX distributions plus a few commercial if available. + + The package will include more font combinations in the future, however there are + some restrictions. The fonts must have some commercial-level quality and must support + Mathematics. + + The options (in alphabetic order) are as follows: + + \begin{description} + \item[cambria] Loads the Cambria fonts of Microsoft. These must be already installed + as a system font (in \verb|C:\Windows\Fonts| in MS-Windows, in \verb|/home/user/.fonts/| in Linux + or elsewhere by the system administratior). + \item[default] Loads the NewComputerModern fonts, which is an assembly of cm fonts plus + more fonts to support Greek (cbgreek) and Cyrillic languages. + \item[ebgaramond] Loads the EB-Garamond fonts with Garamond-Math. + \item[fira] Loads the Fira family, a sans-serif font. + \item[gfsartemisia] Loads the GFSArtemisia, a font family designed to be used + as a Times replacement. The Mathematics is from stix2 but latin + and greek letters are substituted from GFSArtemisia to provide a better match. + \item[gfsdidotclassic] Uses the GFSDidotClassic for Greek with GFSPorson for italic. + The latin part is URW garamond. The Mathematics is from Garamond-Math but the greek + letters are substituted from GFSDidotClassic to provide a better match. Notice that + the Bold versions of the Greek fonts are faked using fontspec mechanism as + the Greek part does not have bold versions. + \item[gfsdidot] Loads the GFSDidot fonts. Stix2 is the Mathematics font, but latin + and greek letters are substituted from GFSdidot to provide a better match. + \item[gfsneohellenic] Loads the GFSNeohellenic family with GFSNeohellenic-Math. + \item[kerkis] Loads the kerkis font family and texgyrebonum-math. + \item[libertinus] Loads the Libertinus and LibertinusMath fonts. + \item[lucida] Loads the Lucida font family if available (a commercial font). + \item[minion] Loads the MinionPro family. To install it, find the fonts MinionPro and + MyriadPro from the installation of Adobe PDF Reader and install the fonts to your system + (in \verb|C:\Windows\Fonts| in MS-Windows, in \verb|/home/user/.fonts/| in Linux + or elsewhere by the system administratior). Moreover, install the supplied + MinionGreekSmallCaps.otf as a system font to have access to Greek small caps. + Mathematics is from stix2 + with letters replaced from MinionPro. Sans is MyriadPro. + \item[msgaramond] Loads the MS-Garamond fonts. These must be system installed + (in \verb|C:\Windows\Fonts| in MS-Windows, in \verb|/home/user/.fonts/| in Linux + or elsewhere by the system administratior). Mathematics is from + Garamond-Math with letters replaced + from MS-Garamond. + \item[neoeuler] Loads the Concrete fonts with the Euler for Mathematics. + Needs euler.otf to be instaled in the TeX installation. + \item[palatino] Loads the Linotype Palatino Fonts available from some versions of Windows. + Thefonts must be system installed (in \verb|C:\Windows\Fonts| in MS-Windows, + in \verb|/home/user/.fonts/| in Linux or elsewhere by the system administratior). The supplied + PalatinoGreekSmallCaps.otf must be also system-installed to allow access to Greek small caps. + Mathematics font is texgyrepagella-math. + \item[stixtwo] Loads the stix2 fonts, a Times-type font. + \item[times] Loads the FreeSerifb fonts, a Times font and stix2 for Mathematics + with letters replaced from FreeSerifb. + \end{description} + + You do not need to load \verb|fontspec|. This, as well as \verb|unicode-math|, are + automatically loaded. A minimal file is +\begin{verbatim} + \documentclass{article} + \usepackage[default]{fontsetup} + \begin{document} + ... + \end{document} +\end{verbatim} + +The switch to another font is trivial. You just change the option of \verb|fontsetup| +to another among the supported ones. + + +\bigskip + +\textbf{Summary of installation steps to support all fonts} + +\medskip + +You do not have to do any of these steps if you rely on free fonts +(except step 6 if you want to use the \verb|neoeuler| option) and do not want +to use the commercial ones. + +\medskip + +\begin{enumerate} +\item Install as system fonts the supplied \verb|MinionGreekSmallcaps.otf| + and \verb|PalatinoGreekSmallCaps.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 + + + + +You can indeed suggest a new combination of fonts and I will add them. However, I do +reserve the right to reject them if the font quality is bad or if Mathematics is not supported +with a matching font. + +Samples 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 ComputerModern fonts: option \verb|default|}\\[1cm] +\includegraphics[scale=1.2]{fspsample-cmr.pdf} +\end{center} + +\newpage + +\begin{center} +{\Large EB-Garamond and Garamond-Math fonts: option \verb|ebgaramond|}\\[1cm] +\includegraphics[scale=1.2]{fspsample-ebgaramond.pdf} +\end{center} + +\newpage + +\begin{center} +{\Large Fira fonts: option \verb|fira|}\\[1cm] +\includegraphics[scale=1.2]{fspsample-fira.pdf} +\end{center} + +\newpage + +\begin{center} +{\Large GFSArtemisia and Stix2Math fonts: option \verb|gfsartemisia|}\\[1cm] +\includegraphics[scale=1.2]{fspsample-gfsartemisia.pdf} +\end{center} + +\newpage + +\begin{center} +{\Large GFSDidotClassic, GFSPorson Italic, and Garamond-Math fonts: option \verb|gfsdidotclassic|}\\[1cm] +\includegraphics[scale=1.2]{fspsample-gfsdidotclassic.pdf} +\end{center} + +\newpage + +\begin{center} +{\Large GFSDidot and Stix2Math: option \verb|gfsdidot|}\\[1cm] +\includegraphics[scale=1.2]{fspsample-gfsdidot.pdf} +\end{center} + +\newpage + +\begin{center} +{\Large GFSNeohellenic and GFSNeohellenic-Math: option \verb|gfsneohellenic|}\\[1cm] +\includegraphics[scale=1.2]{fspsample-gfsneohellenic.pdf} +\end{center} + +\newpage + +\begin{center} +{\Large Kerkis and texgyrebonum-math: option \verb|kerkis|}\\[1cm] +\includegraphics[scale=1.2]{fspsample-kerkis.pdf} +\end{center} + + + +\newpage + +\begin{center} +{\Large Libertinus and LibertinusMath: option \verb|libertinus|}\\[1cm] +\includegraphics[scale=1.2]{fspsample-libertinus.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 MinionGreekSmallCaps.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 Concrete fonts and NeoEuler Math: option \verb|neoeuler|}\\ +NeoEuler font must be installed in TeX tree\\[1cm] +\includegraphics[scale=1.2]{fspsample-neoeuler.pdf} +\end{center} + +\newpage + +\begin{center} +{\Large Linotype Palatino (commercial) and texgyrepagella-math: option \verb|palatino|}\\ +Linotype Palatino Fonts and the supplied PalatinoGreekSmallCaps.otf must be installed as system fonts\\[1cm] +\includegraphics[scale=1.2]{fspsample-palatino.pdf} +\end{center} + +\newpage + +\begin{center} +{\Large Stix2 and Stix2Math: option \verb|stixtwo|}\\[1cm] +\includegraphics[scale=1.2]{fspsample-stixtwo.pdf} +\end{center} + +\newpage + +\begin{center} +{\Large FreeSerifb and Stix2Math: option \verb|times|}\\[1cm] +\includegraphics[scale=1.2]{fspsample-times.pdf} +\end{center} + + + + + +\end{document} diff --git a/macros/latex/contrib/fontsetup/doc/fspsample-cambria.pdf b/macros/latex/contrib/fontsetup/doc/fspsample-cambria.pdf Binary files differnew file mode 100644 index 0000000000..2b7f391800 --- /dev/null +++ b/macros/latex/contrib/fontsetup/doc/fspsample-cambria.pdf diff --git a/macros/latex/contrib/fontsetup/doc/fspsample-cmr.pdf b/macros/latex/contrib/fontsetup/doc/fspsample-cmr.pdf Binary files differnew file mode 100644 index 0000000000..14a66ed61d --- /dev/null +++ b/macros/latex/contrib/fontsetup/doc/fspsample-cmr.pdf diff --git a/macros/latex/contrib/fontsetup/doc/fspsample-ebgaramond.pdf b/macros/latex/contrib/fontsetup/doc/fspsample-ebgaramond.pdf Binary files differnew file mode 100644 index 0000000000..ebc2cbb5be --- /dev/null +++ b/macros/latex/contrib/fontsetup/doc/fspsample-ebgaramond.pdf diff --git a/macros/latex/contrib/fontsetup/doc/fspsample-fira.pdf b/macros/latex/contrib/fontsetup/doc/fspsample-fira.pdf Binary files differnew file mode 100644 index 0000000000..1c5215cce9 --- /dev/null +++ b/macros/latex/contrib/fontsetup/doc/fspsample-fira.pdf diff --git a/macros/latex/contrib/fontsetup/doc/fspsample-gfsartemisia.pdf b/macros/latex/contrib/fontsetup/doc/fspsample-gfsartemisia.pdf Binary files differnew file mode 100644 index 0000000000..d4af57e51f --- /dev/null +++ b/macros/latex/contrib/fontsetup/doc/fspsample-gfsartemisia.pdf diff --git a/macros/latex/contrib/fontsetup/doc/fspsample-gfsdidot.pdf b/macros/latex/contrib/fontsetup/doc/fspsample-gfsdidot.pdf Binary files differnew file mode 100644 index 0000000000..0a9f49edc2 --- /dev/null +++ b/macros/latex/contrib/fontsetup/doc/fspsample-gfsdidot.pdf diff --git a/macros/latex/contrib/fontsetup/doc/fspsample-gfsdidotclassic.pdf b/macros/latex/contrib/fontsetup/doc/fspsample-gfsdidotclassic.pdf Binary files differnew file mode 100644 index 0000000000..68bc005ced --- /dev/null +++ b/macros/latex/contrib/fontsetup/doc/fspsample-gfsdidotclassic.pdf diff --git a/macros/latex/contrib/fontsetup/doc/fspsample-gfsneohellenic.pdf b/macros/latex/contrib/fontsetup/doc/fspsample-gfsneohellenic.pdf Binary files differnew file mode 100644 index 0000000000..b155b14810 --- /dev/null +++ b/macros/latex/contrib/fontsetup/doc/fspsample-gfsneohellenic.pdf diff --git a/macros/latex/contrib/fontsetup/doc/fspsample-kerkis.pdf b/macros/latex/contrib/fontsetup/doc/fspsample-kerkis.pdf Binary files differnew file mode 100644 index 0000000000..ce4caf1121 --- /dev/null +++ b/macros/latex/contrib/fontsetup/doc/fspsample-kerkis.pdf diff --git a/macros/latex/contrib/fontsetup/doc/fspsample-libertinus.pdf b/macros/latex/contrib/fontsetup/doc/fspsample-libertinus.pdf Binary files differnew file mode 100644 index 0000000000..da4f818429 --- /dev/null +++ b/macros/latex/contrib/fontsetup/doc/fspsample-libertinus.pdf diff --git a/macros/latex/contrib/fontsetup/doc/fspsample-lucida.pdf b/macros/latex/contrib/fontsetup/doc/fspsample-lucida.pdf Binary files differnew file mode 100644 index 0000000000..79408b8237 --- /dev/null +++ b/macros/latex/contrib/fontsetup/doc/fspsample-lucida.pdf diff --git a/macros/latex/contrib/fontsetup/doc/fspsample-minion.pdf b/macros/latex/contrib/fontsetup/doc/fspsample-minion.pdf Binary files differnew file mode 100644 index 0000000000..949c22c03a --- /dev/null +++ b/macros/latex/contrib/fontsetup/doc/fspsample-minion.pdf diff --git a/macros/latex/contrib/fontsetup/doc/fspsample-msgaramond.pdf b/macros/latex/contrib/fontsetup/doc/fspsample-msgaramond.pdf Binary files differnew file mode 100644 index 0000000000..af7eb4b8ab --- /dev/null +++ b/macros/latex/contrib/fontsetup/doc/fspsample-msgaramond.pdf diff --git a/macros/latex/contrib/fontsetup/doc/fspsample-neoeuler.pdf b/macros/latex/contrib/fontsetup/doc/fspsample-neoeuler.pdf Binary files differnew file mode 100644 index 0000000000..7611ed11f9 --- /dev/null +++ b/macros/latex/contrib/fontsetup/doc/fspsample-neoeuler.pdf diff --git a/macros/latex/contrib/fontsetup/doc/fspsample-palatino.pdf b/macros/latex/contrib/fontsetup/doc/fspsample-palatino.pdf Binary files differnew file mode 100644 index 0000000000..5b6435de45 --- /dev/null +++ b/macros/latex/contrib/fontsetup/doc/fspsample-palatino.pdf diff --git a/macros/latex/contrib/fontsetup/doc/fspsample-stixtwo.pdf b/macros/latex/contrib/fontsetup/doc/fspsample-stixtwo.pdf Binary files differnew file mode 100644 index 0000000000..79e5f55cd6 --- /dev/null +++ b/macros/latex/contrib/fontsetup/doc/fspsample-stixtwo.pdf diff --git a/macros/latex/contrib/fontsetup/doc/fspsample-times.pdf b/macros/latex/contrib/fontsetup/doc/fspsample-times.pdf Binary files differnew file mode 100644 index 0000000000..57413898c1 --- /dev/null +++ b/macros/latex/contrib/fontsetup/doc/fspsample-times.pdf diff --git a/macros/latex/contrib/fontsetup/doc/fspsample.tex b/macros/latex/contrib/fontsetup/doc/fspsample.tex new file mode 100644 index 0000000000..b978369854 --- /dev/null +++ b/macros/latex/contrib/fontsetup/doc/fspsample.tex @@ -0,0 +1,72 @@ +\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} + + + + +\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 hat + $(f_n)_{n\in\mathbb N}$ is a sequence of mea\-sur\-able function 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} |