Debian Codegraph @

texmf-dist/doc/fonts/pagella-otf/pagella-otf-doc.tex

raw
1 %% $Id: pagella-otf-doc.tex 633 2022-10-15 07:58:35Z herbert $
2 \listfiles
3 \documentclass[ngerman,spanish,polish,english,a4paper]{article}
4 \usepackage{pagella-otf}
5 \usepackage{heros-otf}
6 \setmonofont[Scale=MatchLowercase,FakeStretch=0.88]{AnonymousPro}
7 \usepackage{babel}
8 \usepackage{geometry}
9 \usepackage{booktabs}
10 \usepackage{xltabular}
11 \usepackage{listings}
12 \usepackage{xspace}
13 \usepackage{setspace}
14 \usepackage{xltabular}
15 \usepackage{marginnote}
16 \usepackage{xcolor,url}
17 \usepackage{varioref,multido}
18 \newcommand\Macro[1]{\texttt{\textbackslash#1}}
19 \newcommand\textstyleVariable[1]{\texttt{#1}}
20 \newcommand\textgerman[1]{\foreignlanguage{ngerman}{\texttt{#1}}}
21 \usepackage{hvextern}
22 \lstset{basicstyle=\ttfamily\small}
23 %\setkeys{hv}{lstOptions={basicstyle=\Mono\small,columns=fixed}}
24 \setkeys{hv}{moveToExampleDir,ExampleDir=Examples,showFilename,verbose}
25
26 \usepackage[imakeidx]{xindex}
27 \makeindex[title=Index]
28
29 \newenvironment{demoquote}
30 {\begingroup
31 \setlength{\topsep}{0pt}
32 \setlength{\partopsep}{0pt}
33 \list{}{\rightmargin\leftmargin}%
34 \item\relax}
35 {\endlist\endgroup}
36
37 \def\Lcs#1{\texttt{\textbackslash#1}\index{#1@\texttt{\textbackslash#1}}}
38 \def\Largb#1{\texttt{\{}\textit{#1}\texttt{\}}}
39 \def\Lpack#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Package!#1@\texttt{#1}}}
40 \def\testfeature#1#2#3{{\fontspec[RawFeature={+#2}]{#1}#3\relax}}
41 \def\Loption#1{\texttt{#1}\index{#1@\texttt{#1}}\index{Option!#1@\texttt{#1}}}
42 \def\SUP{\addfontfeatures{RawFeature={+sups}}}
43
44 \usepackage{multicol,luacode}
45 \setlength{\columnsep}{0.3cm}
46 \setlength{\columnseprule}{0.1pt}
47
48
49 \title{The \TeX\ Gyre Pagella OpenType font}
50 \author{Herbert Voß}
51 \usepackage{parskip}
52 \parindent=0pt
53
54
55 \begin{document}
56 \maketitle
57
58
59
60
61 \section{The default setting}
62
63 The \LaTeX\ package \Lpack{pagella-otf} supports the following OpenType fonts:
64 \begin{verbatim}
65 texgyrepagella-regular.otf
66 texgyrepagella-bold.otf
67 texgyrepagella-italic.otf
68 texgyrepagella-bolditalic.otf
69 texgyrepagella-math.otf
70 \end{verbatim}
71
72 The fonts are free available and part of any \TeX-distribution.
73
74
75 \begin{verbatim}
76 \setmainfont{texgyrepagella}[
77 RawFeature = {\pagella@figurealign;\pagella@figurestyle},
78 Scale = \pagellaRM@scale ,
79 UprightFont = *-regular,
80 ItalicFont = *-italic,
81 ItalicFeatures = { SmallCapsFont = *-italic },
82 SlantedFont = *-regular,
83 SlantedFeatures= {FakeSlant=0.2},
84 BoldFont = *-bold,
85 BoldFeatures = { SmallCapsFont = *-Bold },
86 BoldItalicFont = *-bolditalic,
87 BoldItalicFeatures = { SmallCapsFont = *-bolditalic },
88 BoldSlantedFont= *-bold,
89 BoldSlantedFeatures= {FakeSlant=0.2, SmallCapsFont = *-bold },
90 SmallCapsFont = *-regular,
91 % SmallCapsFeatures={RawFeature=+smcp},
92 SmallCapsFeatures={Letters=SmallCaps},
93 Extension = .otf
94 ]
95
96 \newfontfamily\pagellaOsF{texgyrepagella}[
97 RawFeature = {+onum},
98 Scale = \pagellaRM@scale ,
99 UprightFont = *-regular,
100 ItalicFont = *-italic,
101 ItalicFeatures = { SmallCapsFont = *-italic },
102 SlantedFont = *-regular,
103 SlantedFeatures= {FakeSlant=0.2},
104 BoldFont = *-bold,
105 BoldFeatures = { SmallCapsFont = *-Bold },
106 BoldItalicFont = *-bolditalic,
107 BoldItalicFeatures = { SmallCapsFont = *-bolditalic },
108 BoldSlantedFont= *-bold,
109 BoldSlantedFeatures= {FakeSlant=0.2, SmallCapsFont = *-bold },
110 SmallCapsFont = *-regular,
111 % SmallCapsFeatures={RawFeature=+smcp},
112 SmallCapsFeatures={Letters=SmallCaps},
113 Extension = .otf
114 ]
115
116 \newfontfamily\pagellaTLF{texgyrepagella}[
117 RawFeature = {+tnum;-onum},
118 Scale = \pagellaRM@scale ,
119 UprightFont = *-regular,
120 ItalicFont = *-italic,
121 ItalicFeatures = { SmallCapsFont = *-italic },
122 SlantedFont = *-regular,
123 SlantedFeatures= {FakeSlant=0.2},
124 BoldFont = *-bold,
125 BoldFeatures = { SmallCapsFont = *-Bold },
126 BoldItalicFont = *-bolditalic,
127 BoldItalicFeatures = { SmallCapsFont = *-bolditalic },
128 BoldSlantedFont= *-bold,
129 BoldSlantedFeatures= {FakeSlant=0.2, SmallCapsFont = *-bold },
130 SmallCapsFont = *-regular,
131 % SmallCapsFeatures={RawFeature=+smcp},
132 SmallCapsFeatures={Letters=SmallCaps},
133 Extension = .otf
134 ]
135 \end{verbatim}
136
137
138 \section{The serif font}
139
140 \selectlanguage{polish}
141 \marginnote{mdseries\\upright}
142 Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty
143 opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie
144 urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj
145 wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano
146 ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię
147 Taka Albo tace Usta pęk ucha.
148
149 \marginnote{\normalfont bfseries\\upright}\bfseries
150 Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty
151 opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie
152 urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj
153 wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano
154 ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię
155 Taka Albo tace Usta pęk ucha.
156
157
158 \marginnote{\normalfont mdseries\\itshape}\normalfont\itshape
159 Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty
160 opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie
161 urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj
162 wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano
163 ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię
164 Taka Albo tace Usta pęk ucha.
165
166 \marginnote{\normalfont bfseries\\itshape}\bfseries
167 Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty
168 opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie
169 urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj
170 wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano
171 ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię
172 Taka Albo tace Usta pęk ucha.
173
174 \normalfont
175 \marginnote{\normalfont mdseries\\slshape}\normalfont\slshape
176 Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty
177 opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie
178 urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj
179 wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano
180 ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię
181 Taka Albo tace Usta pęk ucha.
182
183 \marginnote{\normalfont bfseries\\slshape}\bfseries
184 Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty
185 opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie
186 urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj
187 wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano
188 ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię
189 Taka Albo tace Usta pęk ucha.
190
191 \normalfont
192 \marginnote{\normalfont mdseries\\upright\\scshape}\scshape
193 Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty
194 opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie
195 urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj
196 wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano
197 ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię
198 Taka Albo tace Usta pęk ucha.
199
200 \marginnote{\normalfont bfseries\\upright\\scshape}\bfseries
201 Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty
202 opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie
203 urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj
204 wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano
205 ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię
206 Taka Albo tace Usta pęk ucha.
207
208 \mdseries
209 \marginnote{\normalfont mdseries\\itshape\\scshape}\itshape
210 Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty
211 opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie
212 urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj
213 wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano
214 ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię
215 Taka Albo tace Usta pęk ucha.
216
217 \marginnote{\normalfont bfseries\\itshape\\scshape}\bfseries
218 Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty
219 opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie
220 urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj
221 wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano
222 ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię
223 Taka Albo tace Usta pęk ucha.
224
225 \marginnote{\normalfont mdseries\\slshape\\scspape}\mdseries
226 \slshape
227 Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty
228 opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie
229 urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj
230 wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano
231 ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię
232 Taka Albo tace Usta pęk ucha.
233
234 \marginnote{\normalfont bfseries\\slshape\\scspape}\bfseries
235 Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty
236 opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie
237 urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj
238 wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano
239 ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię
240 Taka Albo tace Usta pęk ucha.
241
242
243
244 \normalfont\normalsize
245 \selectlanguage{english}
246
247 \section{Package options}
248
249 Possible optional arguments are
250
251 \noindent
252 \begin{tabular}{@{} >{\ttfamily}l l @{}}
253 oldstyle, osf & old-style figures \\
254 lining, nf, lf & lining figures (default)\\
255 proportional, p & varying-width figures\\
256 tabular, t & fixed-width figures (default)\\
257 ScaleRM & scaling for the serif font, preset to 1\\
258 defaultfeatures & presetting of features only for rmfamily\\
259 libertinus & use integral symbols from Libertinus Math
260 \end{tabular}
261
262
263
264 %\lstset{extendedchars}
265
266 \begin{externalDocument}[
267 % grfOptions={width=0.5\linewidth},
268 frame,
269 compiler=lualatex,
270 crop,
271 force=true,
272 runs=2,
273 code,
274 docType=latex,
275 frame,
276 showFilename,
277 ExampleDir=Examples,
278 % align=\centering,
279 % lstOptions={columns=flexible}
280 ]{Pagella}
281 \documentclass{article}
282 \pagestyle{empty}
283 %StartVisiblePreamble
284 \usepackage[osf]{pagella-otf}
285 %StopVisiblePreamble
286 \begin{document}
287 0000111122223333444455556666777788889999\par abcdefghijklmn
288 \end{document}
289 \end{externalDocument}
290
291
292 \begin{externalDocument}[
293 % grfOptions={width=0.5\linewidth},
294 compiler=lualatex,
295 crop,
296 force=true,
297 runs=1,
298 code,
299 docType=latex,
300 frame,
301 % showFilename,
302 % align=\centering,
303 %lstOptions={columns=flexible}
304 ]{Pagella}
305 \documentclass{article}
306 \pagestyle{empty}
307 %StartVisiblePreamble
308 \usepackage[lining]{pagella-otf}
309 %StopVisiblePreamble
310 \begin{document}
311 0000111122223333444455556666777788889999\par
312 \addfontfeatures{RawFeature=-lnum;+onum}%
313 0000111122223333444455556666777788889999
314 \end{document}
315 \end{externalDocument}
316
317
318
319
320 \begin{externalDocument}[
321 frame,
322 compiler=lualatex,
323 crop,
324 force=true,
325 runs=1,
326 code,
327 docType=latex,
328 frame,
329 % showFilename,
330 % align=\centering,
331 %lstOptions={columns=flexible}
332 ]{Pagella}
333 \documentclass{article}
334 \pagestyle{empty}
335 %StartVisiblePreamble
336 \usepackage[t=false]{pagella-otf}
337 %StopVisiblePreamble
338 \begin{document}
339 0000111122223333444455556666777788889999\par
340 \addfontfeatures{RawFeature=+tnum}%L
341 0000111122223333444455556666777788889999
342 \end{document}
343 \end{externalDocument}
344
345
346
347
348
349
350 \begin{externalDocument}[
351 % grfOptions={width=0.5\linewidth},
352 frame,compiler=lualatex,
353 crop,
354 force=true,
355 runs=2,code,docType=latex,
356 frame,
357 % showFilename,
358 % align=\centering,
359 % lstOptions={columns=flexible}
360 ]{Pagella}
361 \documentclass{article}
362 \pagestyle{empty}
363 %StartVisiblePreamble
364 \usepackage[p]{pagella-otf}
365 %StopVisiblePreamble
366 \begin{document}
367 0000111122223333444455556666777788889999\par
368 \addfontfeatures{RawFeature=-pnum}%
369 0000111122223333444455556666777788889999
370 \end{document}
371 \end{externalDocument}
372
373 \section{Features}
374
375
376 \begin{lstlisting}[basicstyle=\ttfamily\small]
377 bash-3.2$ otfinfo --features texgyrepagella-regular.otf
378 aalt Access All Alternates
379 c2sc Small Capitals From Capitals
380 ccmp Glyph Composition/Decomposition
381 cpsp Capital Spacing
382 dlig Discretionary Ligatures
383 frac Fractions
384 kern Kerning
385 liga Standard Ligatures
386 lnum Lining Figures
387 mark Mark Positioning
388 mkmk Mark to Mark Positioning
389 onum Oldstyle Figures
390 pnum Proportional Figures
391 salt Stylistic Alternates
392 size Optical Size
393 smcp Small Capitals
394 ss01 Stylistic Set 1
395 ss02 Stylistic Set 2
396 ss03 Stylistic Set 3
397 ss04 Stylistic Set 4
398 ss10 Stylistic Set 10
399 tnum Tabular Figures
400 zero Slashed Zero
401 \end{lstlisting}
402
403 %$
404
405
406 \subsection{Capitals to Small Caps}
407
408 The macro \Lcs{Lctosc}\Largb{arg} is for a local change of \emph{arg} and \Lcs{LCtoSC+} and \Lcs{LCtoSC-} for
409 a global change of capitals to small caps.
410
411 \begin{externalDocument}[
412 % grfOptions={width=0.5\linewidth},
413 frame,compiler=lualatex,
414 crop,
415 force=true,
416 runs=2,code,docType=latex,
417 frame,
418 % showFilename,
419 % align=\centering,
420 % lstOptions={columns=flexible}
421 ]{Pagella}
422 \documentclass{article}
423 \pagestyle{empty}
424 \parindent=0pt
425 %StartVisiblePreamble
426 \usepackage{pagella-otf}
427 \usepackage{xcolor}
428 %StopVisiblePreamble
429 \begin{document}
430 Pagella Font ŐŰÉÁÄ \Lctosc{Pagella Font ŐŰÉÁÄ}\\
431 \LCtoSC+ Pagella Font ŐŰÉÁÄ
432 \end{document}
433 \end{externalDocument}
434
435
436
437 \subsection{Capitals to Small Caps and small captitals}
438
439 The macro \Lcs{Lctosmcp}\Largb{arg} is for a local change of \emph{arg} and \Lcs{LCtoSMCP+} and \Lcs{LCtoSMCP-} for
440 a global change of capitals to small caps.
441
442 \begin{externalDocument}[
443 % grfOptions={width=0.5\linewidth},
444 frame,compiler=lualatex,
445 crop,
446 force=true,
447 runs=2,code,docType=latex,
448 frame,
449 % showFilename,
450 % align=\centering,
451 % lstOptions={columns=flexible}
452 ]{Pagella}
453 \documentclass{article}
454 \pagestyle{empty}
455 \parindent=0pt
456 %StartVisiblePreamble
457 \usepackage{pagella-otf}
458 \usepackage{xcolor}
459 %StopVisiblePreamble
460 \begin{document}
461 Pagella Font ŐŰÉÁÄ \Lctosmcp{Pagella Font ŐŰÉÁÄ}\\
462 \LCtoSMCP+ Pagella Font ŐŰÉÁÄ
463 \end{document}
464 \end{externalDocument}
465
466 \subsection{Ligatures}
467
468 The macros \Lcs{Lliga}\Largb{arg} (standard ligatures), \Lcs{Lhlig}\Largb{arg} (historical ligatures),
469 \Lcs{Ldlig}\Largb{arg} (discretionary ligatures)
470 are for a local change of \emph{arg} and \Lcs{LLIGA+}/\Lcs{LLIGA-}, \Lcs{LHLIG+}/\Lcs{LHLIG-}, and \Lcs{LDLIG+}/\Lcs{LDIG-} for
471 a global change of capitals to small caps relative to the current group.
472
473 \begin{externalDocument}[
474 % grfOptions={width=0.5\linewidth},
475 frame,compiler=lualatex,
476 crop,
477 force=true,
478 runs=2,code,docType=latex,
479 frame,
480 % showFilename,
481 % align=\centering,
482 % lstOptions={columns=flexible}
483 ]{Pagella}
484 \documentclass{article}
485 \pagestyle{empty}
486 \parindent=0pt
487 %StartVisiblePreamble
488 \usepackage{pagella-otf}
489 \usepackage{xcolor}
490 %StopVisiblePreamble
491 \begin{document}%\LLIGA+ % Default
492 ff, fi, ffi, fl
493
494 \LLIGA- ff, fi, ffi, fl
495 \end{document}
496 \end{externalDocument}
497
498
499
500
501 \subsection{Capital spacing, uppercase kerning}
502
503 \begin{externalDocument}[
504 % grfOptions={width=0.5\linewidth},
505 frame,compiler=lualatex,
506 crop,
507 force=true,
508 runs=2,code,docType=latex,
509 frame,
510 % showFilename,
511 % align=\centering,
512 % lstOptions={columns=flexible}
513 ]{Pagella}
514 \documentclass{article}
515 \pagestyle{empty}
516 \parindent=0pt
517 %StartVisiblePreamble
518 \usepackage{pagella-otf}
519 \usepackage{xcolor}
520 %StopVisiblePreamble
521 \begin{document}
522 IN THE BEGINNING GOD CREATED THE HEAVENS AND THE EARTH.\\
523 \textcolor{red}{\Lcpsp{IN THE BEGINNING GOD CREATED THE HEAVENS AND THE EARTH.}}
524
525 \makebox[0pt][l]{IN THE BEGINNING GOD CREATED THE HEAVENS AND THE EARTH.}%
526 \textcolor{red}{\LCPSP IN THE BEGINNING GOD CREATED THE HEAVENS AND THE EARTH.}
527 \end{document}
528 \end{externalDocument}
529
530
531 \subsection{Stylistic Alternates}
532
533 The macro \Lcs{Lsalt}\Largb{arg} is for a local change of \emph{arg} and \Lcs{LSALT+} and \Lcs{LSALT-} for
534 the alternate characters.
535
536 \begin{externalDocument}[
537 % grfOptions={width=0.5\linewidth},
538 frame,compiler=lualatex,
539 crop,
540 force=true,
541 runs=2,code,docType=latex,
542 usefancyvrb,
543 frame,
544 % showFilename,
545 % align=\centering,
546 % lstOptions={columns=flexible}
547 ]{Pagella}
548 \documentclass{article}
549 \pagestyle{empty}
550 \parindent=0pt
551 %StartVisiblePreamble
552 \usepackage{pagella-otf}
553 %StopVisiblePreamble
554 \begin{document}
555 θκφ \quad \Lsalt{θκφ} \quad\LSALT+ θκφ \quad\LSALT- θκφ
556 \end{document}
557 \end{externalDocument}
558
559
560 % ss01 Stylistic Set 1
561 % ss02 Stylistic Set 2
562 % ss03 Stylistic Set 3
563 % ss04 Stylistic Set 4
564 % ss10 Stylistic Set 10
565
566 \subsection{Stylistic Sets}
567
568 \iffalse
569
570
571
572
573
574 ¡“¶¢[]|{}≠¿'
575 «∑€®†Ω¨⁄øπ•±
576 å‚∂ƒ©ªº∆@œæ
577 \≈ç√∫~µ∞…–
578 ---
579 ≥¬”#£fi^\˜·¯˙˚
580 »„‰¸˝ˇÁÛØ∏°’
581 ÅÍ™ÏÌÓıˆflŒÆ
582 ‡ÙÇ◊‹›˘˛÷—
583 \fi
584
585 There is a short command \Lcs{Lssxx}\Largb{text} for the seven stylistic sets, where xx is the number of the set (two digits)
586 and \textit{text} the local argument:
587
588 \begin{externalDocument}[
589 % grfOptions={width=0.5\linewidth},
590 frame,compiler=lualatex,
591 crop,
592 force=true,
593 usefancyvrb,
594 runs=2,code,docType=latex,
595 frame,
596 % showFilename,
597 % align=\centering,
598 % lstOptions={columns=flexible}
599 ]{Pagella}
600 \documentclass{article}
601 \pagestyle{empty}
602 \parindent=0pt
603 %StartVisiblePreamble
604 \usepackage{pagella-otf}
605 %StopVisiblePreamble
606 \begin{document}
607 εμφ πρθ Īī@©⁄¶® ̄ $\rightarrow$ \Lss01{εμφ πρθ Īī@©⁄¶® ̄}\par
608 @©⁄¶® $\rightarrow$ \Lss02{@©⁄¶®}\par
609 εμφπρθ $\rightarrow$ \Lss03{εμφ πρθ}\par
610 Īī̄ $\rightarrow$ \Lss04{Īī̄}\par
611 \end{document}
612 \end{externalDocument}
613
614 For a global change of the stylistic set one can use the command \Lcs{LSSxx}, where xx
615 is again the number of the set.
616
617 \begin{externalDocument}[
618 % grfOptions={width=0.5\linewidth},
619 frame,compiler=lualatex,
620 crop,
621 usefancyvrb,
622 force=true,
623 runs=2,code,docType=latex,
624 frame,
625 % showFilename,
626 % align=\centering,
627 % lstOptions={columns=flexible}
628 ]{Pagella}
629 \documentclass{article}
630 \pagestyle{empty}
631 %StartVisiblePreamble
632 \usepackage{pagella-otf}
633 %StopVisiblePreamble
634 \begin{document}
635 εμφ πρθ Īī@©⁄¶® ̄ $\rightarrow$ \LSS01 εμφ πρθ Īī@©⁄¶® ̄
636 \end{document}
637 \end{externalDocument}
638
639
640
641 \begin{externalDocument}[
642 frame,compiler=lualatex,
643 crop,
644 force=true,
645 usefancyvrb,
646 runs=2,code,docType=latex,
647 frame,
648 % lstOptions={columns=flexible}
649 ]{Pagella}
650 \documentclass{article}
651 \pagestyle{empty}
652 %StartVisiblePreamble
653 \usepackage{pagella-otf}
654 %StopVisiblePreamble
655 \begin{document}
656 @©⁄¶® $\rightarrow$ \LSS02 @©⁄¶®
657 \end{document}
658 \end{externalDocument}
659
660 \iffalse
661 ≤¡“¶¢[]|{}≠¿'
662 «∑€®†Ω¨⁄øπ•±
663 å‚∂ƒ©ªº∆@œæ
664 \≈ç√∫~µ∞…–
665 ---
666 ≥¬”#£fi^\˜·¯˙˚
667 »„‰¸˝ˇÁÛØ∏°’
668 ÅÍ™ÏÌÓıˆflŒÆ
669 ‡ÙÇ◊‹›˘˛÷—
670 \fi
671
672 \begin{externalDocument}[
673 % grfOptions={width=0.5\linewidth},
674 frame,compiler=lualatex,
675 crop,
676 force=true,
677 runs=2,code,docType=latex,
678 frame,
679 usefancyvrb,
680 % showFilename,
681 % align=\centering,
682 % lstOptions={columns=flexible}
683 ]{Pagella}
684 \documentclass{article}
685 \pagestyle{empty}
686 %StartVisiblePreamble
687 \usepackage{pagella-otf}
688 %StopVisiblePreamble
689 \begin{document}
690 \LARGE
691 ≈*\string\|\string{\string}[]‖÷=≠>≥<≤¬-±×()+∓/⩽⩾≤≥×\par
692 {\LSS10 ≈*\string\|\string{\string}[]‖÷=≠>≥<≤¬-±×()+∓/⩽⩾≤≥×}\par
693 ≈*\string\|\string{\string}
694 \end{document}
695 \end{externalDocument}
696
697 %≈*\string\|\{\}[]\char"2016÷=≠>≥<≤¬-±\times()+\char"2213\slash
698 %\char"2A7D\char"2A7E≤≥\times \par
699
700
701 %sflining (sflf) or sfoldstyle (sfosf, osfss)
702 %sftabular (sft) or sfproportional (sfp)
703
704 %\section{New text macros}
705 %
706 %\Lcs{textsup}\Largb{text} for superiors:
707 %
708 %\begin{verbatim}
709 %7\textsup{th} floor
710 %\end{verbatim}
711
712 %7\textsup{th} floor
713
714
715 \section{Font commands}
716 Instead of using the command \Lcs{fontspec} for changing to a different type of
717 a Pagella font, one can use a predefinded command:
718
719 \begin{verbatim}
720 \PagellaOsF (Old style proportional figures)
721 \end{verbatim}
722
723
724
725 \section{Math mode}
726
727
728 %bash-3.2$ otfinfo -f --script=math texgyrepagella-math.otf
729 %aalt Access All Alternates
730 %dtls <unknown feature>
731 %ssty <unknown feature>
732
733 \subsection{Integrals}
734 If you do not like the small integral symbols from Pagella then use the package
735 option \Loption{libertinus}. Then these symbols are taken from Libertinus Math.
736
737
738 \begin{externalDocument}[
739 frame,compiler=lualatex,
740 crop,
741 force=true,
742 runs=2,code,docType=latex,
743 frame,
744 usefancyvrb,
745 % lstOptions={columns=flexible}
746 ]{Pagella}
747 \documentclass{article}
748 \pagestyle{empty}
749 %StartVisiblePreamble
750 \usepackage[libertinus]{pagella-otf}% use integrals from Libertinus
751 %StopVisiblePreamble
752 \begin{document}
753 The integrals from Libertinus Math:
754 \[ \int_\gamma\iint\iiint\iiiint\oint\oiint\oiiint\frac{f(x)}{z-a} \]
755
756 The default integrals from Pagella:
757 \setmathfont{texgyrepagella-math.otf}
758 \[ \int_\gamma\iint\iiint\iiiint\oint\oiint\oiiint\frac{f(x)}{z-a} \]
759 \end{document}
760 \end{externalDocument}
761
762
763
764
765
766 \noindent\fbox{%
767 \begin{minipage}{\dimexpr\textwidth-2\fboxsep-2\fboxrule}
768 \textbf{Theorem 1 (Residue Theorem).}
769 Let $f$ be analytic in the region $G$ except for the isolated singularities $a_1,a_2,\ldots,a_m$. If $\gamma$ is a closed rectifiable curve in $G$ which does not pass through any of the points $a_k$ and if $\gamma\approx 0$ in $G$ then
770 %
771 \[
772 \mathop{\symup{Res}}\limits_{z=a}f(z) = \mathop{\mathrm{Res}}\limits_a f
773 = \frac{1}{2\pi\symup{i}} \int\limits_C f(z)\,\symup dz,
774 \]
775 %
776 where $C\subset D\backslash\{a\}$ is a closed line
777 $ n(C,a)=1$ (e.\,g. a counterclockwise circle loop).
778
779 \medskip
780 $\symup{A} \Lambda \Delta \nabla \symup{B C D} \Sigma \symup{E F} \Gamma \symup{G H I J} K L M N O
781 \Theta \Omega \symup{P} \Phi \Pi \Xi \mathtt{Q R S T} U V W X Y \Upsilon \Psi \symup{Z}$
782 $\mathsf{ABCDabcd1234}$
783
784 $a\alpha b \beta c \partial d \delta e \epsilon \varepsilon f \zeta \xi g \gamma h \hbar \iota i \imath j
785 k \kappa l \ell \lambda m n \eta \theta \vartheta o \sigma \varsigma \phi \varphi \wp p
786 \rho \varrho q r s t \tau \pi u \mu \nu v \upsilon w \omega \varpi $
787
788 $xyz \infty \propto \emptyset y=f(x)$
789 \hfill$\sum\int\prod\displaystyle~\prod\int\sum~
790 \textstyle\sum_a^b\int_a^b\prod_a^b~ \displaystyle\sum_a^b\int\limits_a^b\prod_a^b$
791
792 \boldmath
793 $\symup{A} \Lambda \Delta \nabla \symup{B C D} \Sigma \symup{E F} \Gamma \symup{G H I J} K L M N O
794 \Theta \Omega \symup{P} \Phi \Pi \Xi \mathtt{Q R S T} U V W X Y \Upsilon \Psi \symup{Z}$
795 $\mathsf{ABCDabcd1234}$
796
797 $a\alpha b \beta c \partial d \delta e \epsilon \varepsilon f \zeta \xi g \gamma h \hbar \iota i \imath j
798 k \kappa l \ell \lambda m n \eta \theta \vartheta o \sigma \varsigma \phi \varphi \wp p
799 \rho \varrho q r s t \tau \pi u \mu \nu v \upsilon w \omega \varpi $
800
801 $xyz \infty \propto \emptyset y=f(x)$
802 \hfill$\sum\int\prod\displaystyle~\prod\int\sum~
803 \textstyle\sum_a^b\int_a^b\prod_a^b~ \displaystyle\sum_a^b\int\limits_a^b\prod_a^b$
804 \unboldmath
805 \end{minipage}}
806
807
808 There exists an optional argument \texttt{math} for setting features only for the math font,
809 for example \texttt{+aalt} for slightly wider characters:
810
811
812 \begin{externalDocument}[
813 % grfOptions={width=0.5\linewidth},
814 frame,compiler=lualatex,
815 crop,
816 force=true,
817 runs=2,code,docType=latex,
818 frame,
819 % showFilename,
820 % align=\centering,
821 % lstOptions={columns=flexible}
822 ]{Pagella}
823 \documentclass{article}
824 \pagestyle{empty}
825 %StartVisiblePreamble
826 \usepackage{pagella-otf}
827 %StopVisiblePreamble
828 \begin{document}
829 $\alpha\beta\gamma\delta\Delta\epsilon\varepsilon\zeta
830 \eta\theta\Theta\vartheta\iota\kappa\lambda\Lambda\mu
831 \nu\xi\Xi\pi\Pi\varpi\rho\varrho\sigma\Sigma\varsigma
832 \tau\upsilon\Upsilon\phi\Phi\varphi\chi\psi\Psi\omega
833 \Omega$
834
835 {\setmathfont[Script=Math,RawFeature=+aalt]{texgyrepagella-math.otf}
836 $\alpha\beta\gamma\delta\Delta\epsilon\varepsilon\zeta
837 \eta\theta\Theta\vartheta\iota\kappa\lambda\Lambda\mu
838 \nu\xi\Xi\pi\Pi\varpi\rho\varrho\sigma\Sigma\varsigma
839 \tau\upsilon\Upsilon\phi\Phi\varphi\chi\psi\Psi\omega
840 \Omega$
841 }
842 \end{document}
843 \end{externalDocument}
844
845
846
847
848
849 \clearpage
850 \newgeometry{margin=1cm,bmargin=2cm}
851
852 \section{The font list of Pagella}
853
854 \rmfamily
855 \begin{multicols}{5}
856 \begin{luacode*}
857 local f = fontloader.open('/Users/voss/Links/fonts/opentype/public/tex-gyre/texgyrepagella-regular.otf')
858 print("Max glyphs: "..f.glyphmax)
859 local glyphs = {}
860 for i = 0, f.glyphmax - 1 do
861 local g = f.glyphs[i]
862 if g then
863 table.insert(glyphs, {name = g.name, unicode = g.unicode})
864 end
865 end
866 table.sort(glyphs, function (a,b) return (a.unicode < b.unicode) end)
867 for i = 1, #glyphs do
868 tex.sprint('\\scriptsize'..glyphs[i].unicode .. ': ')
869 if (glyphs[i].unicode > 0) then
870 tex.sprint('{\\char' .. glyphs[i].unicode .. '}');
871 end
872 tex.sprint(' {\\scriptsize (')
873 tex.sprint(-2, glyphs[i].name)
874 tex.sprint(')}\\\\')
875 end
876 fontloader.close(f)
877 \end{luacode*}
878 \end{multicols}
879
880
881 \printindex
882
883
884
885
886 \end{document}