summaryrefslogtreecommitdiff
path: root/fonts/pagella-otf
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-10-16 03:02:53 +0000
committerNorbert Preining <norbert@preining.info>2022-10-16 03:02:53 +0000
commit84ccc4dcda9db6735202d4ed21610de28392e708 (patch)
tree5572dd71e0688f59f52d89e22864ae162c88d365 /fonts/pagella-otf
parent716f66d13d38e113c2d0491804fae5879de67bb3 (diff)
CTAN sync 202210160302
Diffstat (limited to 'fonts/pagella-otf')
-rw-r--r--fonts/pagella-otf/Changes2
-rw-r--r--fonts/pagella-otf/doc/pagella-otf-doc.pdfbin317647 -> 311821 bytes
-rw-r--r--fonts/pagella-otf/doc/pagella-otf-doc.tex44
-rw-r--r--fonts/pagella-otf/latex/pagella-otf.sty18
4 files changed, 42 insertions, 22 deletions
diff --git a/fonts/pagella-otf/Changes b/fonts/pagella-otf/Changes
index 45aedbbfbe..91466d0be5 100644
--- a/fonts/pagella-otf/Changes
+++ b/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/fonts/pagella-otf/doc/pagella-otf-doc.pdf b/fonts/pagella-otf/doc/pagella-otf-doc.pdf
index 5ba915ef8c..547c96cc89 100644
--- a/fonts/pagella-otf/doc/pagella-otf-doc.pdf
+++ b/fonts/pagella-otf/doc/pagella-otf-doc.pdf
Binary files differ
diff --git a/fonts/pagella-otf/doc/pagella-otf-doc.tex b/fonts/pagella-otf/doc/pagella-otf-doc.tex
index 35dec92e88..7b76813410 100644
--- a/fonts/pagella-otf/doc/pagella-otf-doc.tex
+++ b/fonts/pagella-otf/doc/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/fonts/pagella-otf/latex/pagella-otf.sty b/fonts/pagella-otf/latex/pagella-otf.sty
index c68e9b6111..213921cbaa 100644
--- a/fonts/pagella-otf/latex/pagella-otf.sty
+++ b/fonts/pagella-otf/latex/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}}