diff options
author | Karl Berry <karl@freefriends.org> | 2022-10-15 20:14:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-10-15 20:14:54 +0000 |
commit | 17e5fde0d31143d944ebd3184d54f53801480395 (patch) | |
tree | 1a29715eccf4ad5e3b9d569f6db1a0b9e63c03cc | |
parent | 49acae06d8950281faae4e9a7b7606338e6d919f (diff) |
pagella-otf (15oct22)
git-svn-id: svn://tug.org/texlive/trunk@64705 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/fonts/pagella-otf/Changes | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/pagella-otf/pagella-otf-doc.pdf | bin | 317647 -> 311821 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/fonts/pagella-otf/pagella-otf-doc.tex | 44 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pagella-otf/pagella-otf.sty | 18 |
4 files changed, 42 insertions, 22 deletions
diff --git a/Master/texmf-dist/doc/fonts/pagella-otf/Changes b/Master/texmf-dist/doc/fonts/pagella-otf/Changes index 45aedbbfbee..91466d0be59 100644 --- a/Master/texmf-dist/doc/fonts/pagella-otf/Changes +++ b/Master/texmf-dist/doc/fonts/pagella-otf/Changes @@ -1 +1,3 @@ +0.02 2022-10-15 - new package option for bigger integral symbols + - fix typo Bold->bold in filename part 0.01 2022-10-11 - first CTAN version diff --git a/Master/texmf-dist/doc/fonts/pagella-otf/pagella-otf-doc.pdf b/Master/texmf-dist/doc/fonts/pagella-otf/pagella-otf-doc.pdf Binary files differindex 5ba915ef8cd..547c96cc899 100644 --- a/Master/texmf-dist/doc/fonts/pagella-otf/pagella-otf-doc.pdf +++ b/Master/texmf-dist/doc/fonts/pagella-otf/pagella-otf-doc.pdf diff --git a/Master/texmf-dist/doc/fonts/pagella-otf/pagella-otf-doc.tex b/Master/texmf-dist/doc/fonts/pagella-otf/pagella-otf-doc.tex index 35dec92e88f..7b768134106 100644 --- a/Master/texmf-dist/doc/fonts/pagella-otf/pagella-otf-doc.tex +++ b/Master/texmf-dist/doc/fonts/pagella-otf/pagella-otf-doc.tex @@ -1,4 +1,4 @@ -%% $Id: pagella-otf-doc.tex 621 2022-10-12 17:43:13Z herbert $ +%% $Id: pagella-otf-doc.tex 633 2022-10-15 07:58:35Z herbert $ \listfiles \documentclass[ngerman,spanish,polish,english,a4paper]{article} \usepackage{pagella-otf} @@ -38,6 +38,7 @@ \def\Largb#1{\texttt{\{}\textit{#1}\texttt{\}}} \def\Lpack#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Package!#1@\texttt{#1}}} \def\testfeature#1#2#3{{\fontspec[RawFeature={+#2}]{#1}#3\relax}} +\def\Loption#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Option!#1@\texttt{#1}}} \def\SUP{\addfontfeatures{RawFeature={+sups}}} \usepackage{multicol,luacode} @@ -68,7 +69,7 @@ texgyrepagella-bolditalic.otf texgyrepagella-math.otf \end{verbatim} -The fonts are free available and partcof any \TeX-distribution. +The fonts are free available and part of any \TeX-distribution. \begin{verbatim} @@ -243,10 +244,6 @@ Taka Albo tace Usta pęk ucha. \normalfont\normalsize \selectlanguage{english} - - - -\normalfont \section{Package options} Possible optional arguments are @@ -259,6 +256,7 @@ proportional, p & varying-width figures\\ tabular, t & fixed-width figures (default)\\ ScaleRM & scaling for the serif font, preset to 1\\ defaultfeatures & presetting of features only for rmfamily\\ +libertinus & use integral symbols from Libertinus Math \end{tabular} @@ -310,7 +308,9 @@ defaultfeatures & presetting of features only for rmfamily\\ \usepackage[lining]{pagella-otf} %StopVisiblePreamble \begin{document} -0000111122223333444455556666777788889999\par abcdefghijklmn +0000111122223333444455556666777788889999\par +\addfontfeatures{RawFeature=-lnum;+onum}% +0000111122223333444455556666777788889999 \end{document} \end{externalDocument} @@ -721,6 +721,20 @@ a Pagella font, one can use a predefinded command: \end{verbatim} + +\section{Math mode} + + +%bash-3.2$ otfinfo -f --script=math texgyrepagella-math.otf +%aalt Access All Alternates +%dtls <unknown feature> +%ssty <unknown feature> + +\subsection{Integrals} +If you do not like the small integral symbols from Pagella then use the package +option \Loption{libertinus}. Then these symbols are taken from Libertinus Math. + + \begin{externalDocument}[ frame,compiler=lualatex, crop, @@ -733,21 +747,19 @@ a Pagella font, one can use a predefinded command: \documentclass{article} \pagestyle{empty} %StartVisiblePreamble -\usepackage{pagella-otf} +\usepackage[libertinus]{pagella-otf}% use integrals from Libertinus %StopVisiblePreamble \begin{document} -The default 0123456 {\bfseries standard bold} \pagellaOsF normal weight 0123456 +The integrals from Libertinus Math: +\[ \int_\gamma\iint\iiint\iiiint\oint\oiint\oiiint\frac{f(x)}{z-a} \] + +The default integrals from Pagella: +\setmathfont{texgyrepagella-math.otf} +\[ \int_\gamma\iint\iiint\iiiint\oint\oiint\oiiint\frac{f(x)}{z-a} \] \end{document} \end{externalDocument} -\section{Math mode} - - -%bash-3.2$ otfinfo -f --script=math texgyrepagella-math.otf -%aalt Access All Alternates -%dtls <unknown feature> -%ssty <unknown feature> diff --git a/Master/texmf-dist/tex/latex/pagella-otf/pagella-otf.sty b/Master/texmf-dist/tex/latex/pagella-otf/pagella-otf.sty index c68e9b6111d..213921cbaa0 100644 --- a/Master/texmf-dist/tex/latex/pagella-otf/pagella-otf.sty +++ b/Master/texmf-dist/tex/latex/pagella-otf/pagella-otf.sty @@ -1,4 +1,4 @@ -%% $Id: pagella-otf.sty 620 2022-10-12 15:11:41Z herbert $ +%% $Id: pagella-otf.sty 633 2022-10-15 07:58:35Z herbert $ %% %% This file is distributed under the terms of the LaTeX Project Public %% License from CTAN archives in directory macros/latex/base/lppl.txt. @@ -6,7 +6,7 @@ %% % \ProvidesPackage{pagella-otf}[% - 2022/10/11 v. 0.01 (Herbert Voss) Supports pagella fonts for lualatex and xelatex.] + 2022/10/15 v. 0.02 (Herbert Voss) Supports pagella fonts for lualatex and xelatex.] \RequirePackage{iftex,xkeyval,textcomp} @@ -14,12 +14,14 @@ \newif\ifpagella@tabular \pagella@tabulartrue \newif\ifpagella@usefilenames \pagella@usefilenamestrue \newif\ifpagella@nomath \pagella@nomathfalse +\newif\ifpagella@libertinus \pagella@libertinusfalse \DeclareOptionX{lining}[true]{\@nameuse{pagella@lining#1}} \DeclareOptionX{nf}[true]{\@nameuse{pagella@lining#1}} \DeclareOptionX{lf}[true]{\@nameuse{pagella@lining#1}} \DeclareOptionX{oldstyle}[true]{\@nameuse{if#1}\pagella@liningfalse\else\pagella@liningtrue\fi} \DeclareOptionX{osf}[true]{\@nameuse{if#1}\pagella@liningfalse\else\pagella@liningtrue\fi} +\DeclareOptionX{libertinus}[true]{\@nameuse{pagella@libertinus#1}} \newcommand*\pagellaMM@feature{} \DeclareOptionX{math}[]{\renewcommand*\pagellaMM@feature{#1}} @@ -77,7 +79,7 @@ SlantedFont = *-regular, SlantedFeatures= {FakeSlant=0.2}, BoldFont = *-bold, - BoldFeatures = { SmallCapsFont = *-Bold }, + BoldFeatures = { SmallCapsFont = *-bold }, BoldItalicFont = *-bolditalic, BoldItalicFeatures = { SmallCapsFont = *-bolditalic }, BoldSlantedFont= *-bold, @@ -97,7 +99,7 @@ SlantedFont = *-regular, SlantedFeatures= {FakeSlant=0.2}, BoldFont = *-bold, - BoldFeatures = { SmallCapsFont = *-Bold }, + BoldFeatures = { SmallCapsFont = *-bold }, BoldItalicFont = *-bolditalic, BoldItalicFeatures = { SmallCapsFont = *-bolditalic }, BoldSlantedFont= *-bold, @@ -117,7 +119,7 @@ SlantedFont = *-regular, SlantedFeatures= {FakeSlant=0.2}, BoldFont = *-bold, - BoldFeatures = { SmallCapsFont = *-Bold }, + BoldFeatures = { SmallCapsFont = *-bold }, BoldItalicFont = *-bolditalic, BoldItalicFeatures = { SmallCapsFont = *-bolditalic }, BoldSlantedFont= *-bold, @@ -211,7 +213,11 @@ \typeout{*************************************^^J% * Using pagella math *^^J% *************************************}% -\setmathfont{texgyrepagella-math.otf}[AutoFakeBold,RawFeature=\pagellaMM@feature] + \setmathfont{texgyrepagella-math.otf}[AutoFakeBold,RawFeature=\pagellaMM@feature] + \ifpagella@libertinus + \setmathfont{LibertinusMath-Regular.otf}[AutoFakeBold,RawFeature=\pagellaMM@feature, + range={\int,\iint,\iiint,\iiiint,\oint,\oiint,\oiiint}] + \fi \fi \def\sufigures{\addfontfeatures{VerticalPosition=Superior}} |