diff options
author | Norbert Preining <norbert@preining.info> | 2020-02-23 03:01:01 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-02-23 03:01:01 +0000 |
commit | 0908ef0004729f1b45b8d9687656f2f92fc122ae (patch) | |
tree | aa4649a4452d4556370dc1d72c01f5d872a7c159 /fonts | |
parent | 3549e67b13c8460a73d122fbc2eef8badd816636 (diff) |
CTAN sync 202002230301
Diffstat (limited to 'fonts')
-rw-r--r-- | fonts/libertinus-otf/Changes | 1 | ||||
-rw-r--r-- | fonts/libertinus-otf/doc/libertinus-otf-doc.pdf | bin | 557712 -> 683645 bytes | |||
-rw-r--r-- | fonts/libertinus-otf/doc/libertinus-otf-doc.tex | 1092 | ||||
-rw-r--r-- | fonts/libertinus-otf/latex/libertinus-otf.sty | 67 |
4 files changed, 1120 insertions, 40 deletions
diff --git a/fonts/libertinus-otf/Changes b/fonts/libertinus-otf/Changes index 505f223d53..f6b33892ad 100644 --- a/fonts/libertinus-otf/Changes +++ b/fonts/libertinus-otf/Changes @@ -1,3 +1,4 @@ +0.24 2020-02-22 - added some more macros to controll the font features 0.23 2020-02-08 - do not load unicode-math if option nomath is used 0.22 2019-10-23 - added SmallCaps for slanted fonts - several fixes for symbolic names diff --git a/fonts/libertinus-otf/doc/libertinus-otf-doc.pdf b/fonts/libertinus-otf/doc/libertinus-otf-doc.pdf Binary files differindex f7b6a94204..0236d89fa7 100644 --- a/fonts/libertinus-otf/doc/libertinus-otf-doc.pdf +++ b/fonts/libertinus-otf/doc/libertinus-otf-doc.pdf diff --git a/fonts/libertinus-otf/doc/libertinus-otf-doc.tex b/fonts/libertinus-otf/doc/libertinus-otf-doc.tex index de6034ff2c..dd2186d275 100644 --- a/fonts/libertinus-otf/doc/libertinus-otf-doc.tex +++ b/fonts/libertinus-otf/doc/libertinus-otf-doc.tex @@ -1,7 +1,8 @@ -%% $Id: libertinus-otf-doc.tex 1100 2019-10-23 19:07:26Z herbert $ +%% $Id: libertinus-otf-doc.tex 1146 2020-02-22 15:47:27Z herbert $ \listfiles -\documentclass[polish,english,a4paper]{article} +\documentclass[ngerman,spanish,polish,english,a4paper]{article} \usepackage{libertinus-otf} +\newfontfamily\DejaVu{DejaVu Sans Mono}[Scale=MatchLowercase,FakeStretch=0.9] \usepackage{babel} \usepackage{geometry} \usepackage{booktabs} @@ -9,12 +10,18 @@ \usepackage{listings} \usepackage{xspace} \usepackage{setspace} +\usepackage{xltabular} \usepackage{marginnote} \usepackage{xcolor} \usepackage{varioref,multido} \newcommand\Macro[1]{\texttt{\textbackslash#1}} +\newcommand\textstyleVariable[1]{\texttt{#1}} +\newcommand\textgerman[1]{\foreignlanguage{ngerman}{\texttt{#1}}} \usepackage{dtk-extern} +\usepackage[imakeidx]{xindex} +\makeindex[title=Index] + \newenvironment{demoquote} {\begingroup \setlength{\topsep}{0pt} @@ -23,9 +30,11 @@ \item\relax} {\endlist\endgroup} -\def\Lcs#1{\texttt{\textbackslash#1}\index{#1@\\texttt{\textbackslash#1}}} +\def\Lcs#1{\texttt{\textbackslash#1}\index{#1@\texttt{\textbackslash#1}}} +\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\SUP{\addfontfeatures{RawFeature={+sups}}} \usepackage{multicol,luacode} \setlength{\columnsep}{0.3cm} @@ -571,17 +580,15 @@ Taka Albo tace Usta pęk ucha. \clearpage \section{Features} - - -\begin{lstlisting}[basicstyle=\ttfamily\small] - otfinfo --features libertinusserif-regular.otf +\subsection{Serif fonts} +\begin{lstlisting}[basicstyle=\DejaVu\small] +otfinfo --features LibertinusSerif-Regular.otf c2sc Small Capitals From Capitals calt Contextual Alternates case Case-Sensitive Forms ccmp Glyph Composition/Decomposition cpsp Capital Spacing dlig Discretionary Ligatures -fina Terminal Forms frac Fractions hlig Historical Ligatures kern Kerning @@ -589,7 +596,6 @@ liga Standard Ligatures lnum Lining Figures mark Mark Positioning mkmk Mark to Mark Positioning -nalt Alternate Annotation Forms onum Oldstyle Figures pnum Proportional Figures salt Stylistic Alternates @@ -601,6 +607,39 @@ ss03 Stylistic Set 3 ss04 Stylistic Set 4 ss05 Stylistic Set 5 ss06 Stylistic Set 6 +ss07 Stylistic Set 7 +subs Subscript +sups Superscript +tnum Tabular Figures +zero Slashed Zero +\end{lstlisting} + +\subsection{Sans Serif fonts} +\begin{lstlisting}[basicstyle=\DejaVu\small] +otfinfo --features LibertinusSans-Regular.otf +c2sc Small Capitals From Capitals +calt Contextual Alternates +case Case-Sensitive Forms +ccmp Glyph Composition/Decomposition +cpsp Capital Spacing +dlig Discretionary Ligatures +frac Fractions +hlig Historical Ligatures +kern Kerning +liga Standard Ligatures +lnum Lining Figures +mark Mark Positioning +onum Oldstyle Figures +pnum Proportional Figures +salt Stylistic Alternates +sinf Scientific Inferiors +smcp Small Capitals +ss01 Stylistic Set 1 +ss03 Stylistic Set 3 +ss04 Stylistic Set 4 +ss06 Stylistic Set 6 +ss07 Stylistic Set 7 +subs Subscript sups Superscript tnum Tabular Figures zero Slashed Zero @@ -629,14 +668,14 @@ defaultfeatures & valid for all fonts\\ \end{tabular} -\lstset{basicstyle=\ttfamily\small,backgroundcolor=white} +\lstset{basicstyle=\DejaVu\small,backgroundcolor=white,extendedchars} \begin{externalDocument}[ % grfOptions={width=0.5\linewidth}, frame,compiler=lualatex, crop, - force=false, + force=true, runs=2,code,docType=latex, frame, % showFilename, @@ -657,7 +696,7 @@ defaultfeatures & valid for all fonts\\ % grfOptions={width=0.5\linewidth}, compiler=lualatex, crop, - force=false, + force=true, runs=2,code,docType=latex, frame, % showFilename, @@ -681,7 +720,7 @@ defaultfeatures & valid for all fonts\\ % grfOptions={width=0.5\linewidth}, frame,compiler=lualatex, crop, - force=false, + force=true, runs=2,code,docType=latex, frame, % showFilename, @@ -704,7 +743,7 @@ defaultfeatures & valid for all fonts\\ % grfOptions={width=0.5\linewidth}, frame,compiler=lualatex, crop, - force=false, + force=true, runs=2,code,docType=latex, frame, % showFilename, @@ -722,15 +761,271 @@ defaultfeatures & valid for all fonts\\ \end{document} \end{externalDocument} +\section{Features} + +\subsection{Capitals to Small Caps} + +The macro \Lcs{Lctosc}\Largb{arg} is for a local change of \emph{arg} and \Lcs{LCtoSC+} and \Lcs{LCtoSC-} for +a global change of capitals to small caps. + +\begin{externalDocument}[ +% grfOptions={width=0.5\linewidth}, + frame,compiler=lualatex, + crop, + force=true, + runs=2,code,docType=latex, + frame, +% showFilename, +% align=\centering, + lstOptions={columns=fixed}]{Libertinus} +\documentclass{article} +\pagestyle{empty} +\parindent=0pt +%StartVisiblePreamble +\usepackage{libertinus-otf} +\usepackage{xcolor} +%StopVisiblePreamble +\begin{document} +Libertinus Font ŐŰÉÁÄ Кириллица \Lctosc{Libertinus Font ŐŰÉÁÄ Кириллица}\\ +\LCtoSC+ Libertinus Font ŐŰÉÁÄ Кириллица + +\sffamily\LCtoSC- +Libertinus Font ŐŰÉÁÄ Кириллица \Lctosc{Libertinus Font ŐŰÉÁÄ Кириллица}\\ +\LCtoSC+ Libertinus Font ŐŰÉÁÄ Кириллица +\end{document} +\end{externalDocument} + + + +\subsection{Capitals to Small Caps and small captitals} + +The macro \Lcs{Lctosmcp}\Largb{arg} is for a local change of \emph{arg} and \Lcs{LCtoSMCP+} and \Lcs{LCtoSMCP-} for +a global change of capitals to small caps. + +\begin{externalDocument}[ +% grfOptions={width=0.5\linewidth}, + frame,compiler=lualatex, + crop, + force=true, + runs=2,code,docType=latex, + frame, +% showFilename, +% align=\centering, + lstOptions={columns=fixed}]{Libertinus} +\documentclass{article} +\pagestyle{empty} +\parindent=0pt +%StartVisiblePreamble +\usepackage{libertinus-otf} +\usepackage{xcolor} +%StopVisiblePreamble +\begin{document} +Libertinus Font ŐŰÉÁÄ Кириллица \Lctosmcp{Libertinus Font ŐŰÉÁÄ Кириллица}\\ +\LCtoSMCP+ Libertinus Font ŐŰÉÁÄ Кириллица + +\sffamily\LCtoSMCP- +Libertinus Font ŐŰÉÁÄ Кириллица \Lctosmcp{Libertinus Font ŐŰÉÁÄ Кириллица}\\ +\LCtoSMCP+ Libertinus Font ŐŰÉÁÄ Кириллица +\end{document} +\end{externalDocument} + +\subsection{Ligatures} + +The macros \Lcs{Lliga}\Largb{arg} (standard ligatures), \Lcs{Lhlig}\Largb{arg} (historical ligatures), +\Lcs{Ldlig}\Largb{arg} (discretionary ligatures) +are for a local change of \emph{arg} and \Lcs{LLIGA+}/\Lcs{LLIGA-}, \Lcs{LHLIG+}/\Lcs{LHLIG-}, and \Lcs{LDLIG+}/\Lcs{LDIG-} for +a global change of capitals to small caps relative to the current group. + +\begin{externalDocument}[ +% grfOptions={width=0.5\linewidth}, + frame,compiler=lualatex, + crop, + force=true, + runs=2,code,docType=latex, + frame, +% showFilename, +% align=\centering, + lstOptions={columns=fixed}]{Libertinus} +\documentclass{article} +\pagestyle{empty} +\parindent=0pt +%StartVisiblePreamble +\usepackage{libertinus-otf} +\usepackage{xcolor} +%StopVisiblePreamble +\begin{document}%\LLIGA+ % Default +fb, ff, fh, ffh, fi, ffi, fj, ffj, fk, ffk, fl, ffl, ft, fft, ſh, ſl, ſs, ſſ, ſt + +\LLIGA- +fb, ff, fh, ffh, fi, ffi, fj, ffj, fk, ffk, fl, ffl, ft, fft, ſh, ſl, ſs, ſſ, ſt + +ct, st \qquad \LHLIG+ ct, st \LHLIG- + +Th, tt, tz, ck, ch \qquad\LDLIG+ Th, tt, tz, ck, ch\LDLIG- + +\sffamily\LLIGA+ % Default +fb, ff, fh, ffh, fi, ffi, fj, ffj, fk, ffk, fl, ffl, ft, fft, ſh, ſl, ſs, ſſ, ſt + +\LLIGA- +fb, ff, fh, ffh, fi, ffi, fj, ffj, fk, ffk, fl, ffl, ft, fft, ſh, ſl, ſs, ſſ, ſt + +ct, st \qquad \LHLIG+ ct, st \LHLIG- + +Th, tt, tz, ck, ch \qquad\LDLIG+ Th, tt, tz, ck, ch\LDLIG- +\end{document} +\end{externalDocument} + + + +\subsection{Case sensitive Forms} + +The macro \Lcs{Lcase}\Largb{arg} is for a local change of \emph{arg} and \Lcs{LCASE+} and \Lcs{LCASE-} for +a global change of case sensitive forms. + + +\begin{externalDocument}[ +% grfOptions={width=0.5\linewidth}, + frame,compiler=lualatex, + crop, + force=true, + runs=2,code,docType=latex, + frame, +% showFilename, +% align=\centering, + lstOptions={columns=fixed}]{Libertinus} +\documentclass{article} +\pagestyle{empty} +\parindent=0pt +%StartVisiblePreamble +\usepackage{libertinus-otf} +\usepackage{xcolor} +%StopVisiblePreamble +\begin{document} +¡CANTÁ! ¿CUÁNTOS? L1234567890L-\\ +\textcolor{red}{\Lcase{¡CANTÁ! ¿CUÁNTOS? L1234567890L-}} + +\makebox[0pt][l]{¡CANTÁ! ¿CUÁNTOS? L1234567890L-}% +\textcolor{red}{\Lcase{¡CANTÁ! ¿CUÁNTOS? L1234567890L-}} + +\sffamily +¡CANTÁ! ¿CUÁNTOS? L1234567890L-\\ +\textcolor{red}{\Lcase{¡CANTÁ! ¿CUÁNTOS? L1234567890L-}} + +\makebox[0pt][l]{¡CANTÁ! ¿CUÁNTOS? L1234567890L-}% +\textcolor{red}{\Lcase{¡CANTÁ! ¿CUÁNTOS? L1234567890L-}} +\end{document} +\end{externalDocument} + + +\subsection{Capital spacing, uppercase kerning} + +\begin{externalDocument}[ +% grfOptions={width=0.5\linewidth}, + frame,compiler=lualatex, + crop, + force=true, + runs=2,code,docType=latex, + frame, +% showFilename, +% align=\centering, + lstOptions={columns=fixed}]{Libertinus} +\documentclass{article} +\pagestyle{empty} +\parindent=0pt +%StartVisiblePreamble +\usepackage{libertinus-otf} +\usepackage{xcolor} +%StopVisiblePreamble +\begin{document} +IN THE BEGINNING GOD CREATED THE HEAVENS AND THE EARTH.\\ +\textcolor{red}{\Lcpsp{IN THE BEGINNING GOD CREATED THE HEAVENS AND THE EARTH.}} + +\makebox[0pt][l]{IN THE BEGINNING GOD CREATED THE HEAVENS AND THE EARTH.}% +\textcolor{red}{\LCPSP IN THE BEGINNING GOD CREATED THE HEAVENS AND THE EARTH.} + +\sffamily +IN THE BEGINNING GOD CREATED THE HEAVENS AND THE EARTH.\\ +\textcolor{red}{\Lcpsp{IN THE BEGINNING GOD CREATED THE HEAVENS AND THE EARTH.}} + +\makebox[0pt][l]{IN THE BEGINNING GOD CREATED THE HEAVENS AND THE EARTH.}% +\textcolor{red}{\LCPSP IN THE BEGINNING GOD CREATED THE HEAVENS AND THE EARTH.} +\end{document} +\end{externalDocument} + + +\subsection{Stylistic Alternates} + +The macro \Lcs{Lsalt}\Largb{arg} is for a local change of \emph{arg} and \Lcs{LSALT+} and \Lcs{LSALT-} for +the alternate characters. + +\begin{externalDocument}[ +% grfOptions={width=0.5\linewidth}, + frame,compiler=lualatex, + crop, + force=true, + runs=2,code,docType=latex, + frame, +% showFilename, +% align=\centering, + lstOptions={columns=fixed}]{Libertinus} +\documentclass{article} +\pagestyle{empty} +\parindent=0pt +%StartVisiblePreamble +\usepackage{libertinus-otf} +%StopVisiblePreamble +\begin{document} +\&Jβθκφha \quad \&Jβ\Lsalt{θκφ}ha \quad\LSALT+ \&Jβθκφha \quad\LSALT- \&Jβθκφha + +\sffamily +\&Jβθκφha \quad \&Jβ\Lsalt{θκφ}ha \quad\LSALT+ \&Jβθκφha \quad\LSALT- \&Jβθκφha +\end{document} +\end{externalDocument} + + + \subsection{Stylistic Sets} +There is a short command \Lcs{Lssxx}\Largb{text} for the seven stylistic sets, where xx is the number of the set (two digits) +and \textit{text} the local argument: + +\begin{externalDocument}[ +% grfOptions={width=0.5\linewidth}, + frame,compiler=lualatex, + crop, + force=true, + runs=2,code,docType=latex, + frame, +% showFilename, +% align=\centering, + lstOptions={columns=fixed}]{Libertinus} +\documentclass{article} +\pagestyle{empty} +\parindent=0pt +%StartVisiblePreamble +\usepackage{libertinus-otf} +%StopVisiblePreamble +\begin{document} +Ä,Ë,Ö$\rightarrow$\Lss01{Ä,Ë,Ö}\quad J,K,R$\rightarrow$\Lss02{J,K,R}\quad +ß,ẞ,\textsc{ß}$\rightarrow$\Lss03{ß,ẞ,\textsc{ß}} \quad ẞ$\rightarrow$\Lss04{ẞ} \quad +W$\rightarrow$\Lss05{W} \quad \&$\rightarrow$\Lss06{\&} \quad Ŋ$\rightarrow$\Lss07{Ŋ} + +\sffamily +Ä,Ë,Ö$\rightarrow$\Lss01{Ä,Ë,Ö}\quad ß,ẞ,\textsc{ß}$\rightarrow$\Lss03{ß,ẞ,\textsc{ß}} \quad +ẞ$\rightarrow$\Lss04{ẞ} \quad \&$\rightarrow$\Lss06{\&} \quad Ŋ$\rightarrow$\Lss07{Ŋ} +\end{document} +\end{externalDocument} + + +For a global change of the stylistic set one can use the command \Lcs{LSSxx}, where xx +is again the number of the set. \begin{externalDocument}[ % grfOptions={width=0.5\linewidth}, frame,compiler=lualatex, crop, - force=false, + force=true, runs=2,code,docType=latex, frame, % showFilename, @@ -742,8 +1037,7 @@ defaultfeatures & valid for all fonts\\ \usepackage{libertinus-otf} %StopVisiblePreamble \begin{document} -ÄËÖ\par\addfontfeatures{RawFeature=+ss01} -ÄËÖ +ÄËÖ \LSS01 ÄËÖ \end{document} \end{externalDocument} @@ -752,7 +1046,7 @@ defaultfeatures & valid for all fonts\\ \begin{externalDocument}[ frame,compiler=lualatex, crop, - force=false, + force=true, runs=2,code,docType=latex, frame, lstOptions={columns=fixed}]{Libertinus} @@ -762,8 +1056,7 @@ defaultfeatures & valid for all fonts\\ \usepackage{libertinus-otf} %StopVisiblePreamble \begin{document} -JKR\par\addfontfeatures{RawFeature=+ss02} -JKR +JKR \LSS02 JKR \end{document} \end{externalDocument} @@ -772,7 +1065,7 @@ JKR % grfOptions={width=0.5\linewidth}, frame,compiler=lualatex, crop, - force=false, + force=true, runs=2,code,docType=latex, frame, % showFilename, @@ -784,8 +1077,7 @@ JKR \usepackage{libertinus-otf} %StopVisiblePreamble \begin{document} -{ß\addfontfeatures{RawFeature=+ss03}ß}\par -ẞ\addfontfeatures{RawFeature=+ss04}ẞ +{ß \LSS03 ß} ẞ \LSS04 ẞ \end{document} \end{externalDocument} @@ -796,7 +1088,7 @@ JKR % grfOptions={width=0.5\linewidth}, frame,compiler=lualatex, crop, - force=false, + force=true, runs=2,code,docType=latex, frame, % showFilename, @@ -809,21 +1101,76 @@ JKR %StopVisiblePreamble \begin{document} \huge -W -\addfontfeatures{RawFeature=+ss05} -W -\verb=\Wikipedia=% -$\rightarrow$\Wikipedia +W {\LSS05 W} \qquad \WikipediaW \qquad \Wikipedia +\end{document} +\end{externalDocument} + + + +\begin{externalDocument}[ +% grfOptions={width=0.5\linewidth}, + frame,compiler=lualatex, + crop, + force=true, + runs=2,code,docType=latex, + frame, +% showFilename, +% align=\centering, + lstOptions={columns=fixed}]{Libertinus} +\documentclass{article} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage{libertinus-otf} +%StopVisiblePreamble +\begin{document} +\huge\& {\LSS06 \&} + +\Land\ \textsf{\Land} +\end{document} +\end{externalDocument} + +\subsection{Fractions} + +There are two macros: \Lcs{Lfrac}\Largb{arg} for a local fraction setting and \Lcs{LFRAC+} and \Lcs{LFRAC-} for a global +setting relative to the current group. + + +\begin{externalDocument}[ +% grfOptions={width=0.5\linewidth}, + frame,compiler=lualatex, + crop, + force=true, + runs=2,code,docType=latex, + frame, +% showFilename, +% align=\centering, + lstOptions={columns=fixed}]{Libertinus} +\documentclass{article} +\pagestyle{empty} +\parindent=0pt +%StartVisiblePreamble +\usepackage{libertinus-otf} +%StopVisiblePreamble +\begin{document} + L 1/2 1/3 1/4 1/5 1/6 1/7 1/8 1/9 1/10 5/20 9/1289 \par + L 1/2 \Lfrac{1/3} 1/4 1/5 1/6 1/7 1/8 1/9 1/10 \Lfrac{5/1289} + +\LFRAC+ + L 1/2 1/3 1/4 1/5 1/6 1/7 1/8 1/9 1/10 5/20 9/1289 + +\LFRAC- + L 1/2 1/3 1/4 1/5 1/6 1/7 1/8 1/9 1/10 5/20 9/1289 \end{document} \end{externalDocument} +\subsection{Scientific Inferieurs} \begin{externalDocument}[ % grfOptions={width=0.5\linewidth}, frame,compiler=lualatex, crop, - force=false, + force=true, runs=2,code,docType=latex, frame, % showFilename, @@ -835,14 +1182,17 @@ $\rightarrow$\Wikipedia \usepackage{libertinus-otf} %StopVisiblePreamble \begin{document} -\huge\& -\addfontfeatures{RawFeature=+ss06} -\& + H2O, YCbCr, L1234567890abcdefgh + +\Lsinf{H2O}, \Lsinf{YCbCr}, \Lsinf{L1234567890abcdefgh} \par\sffamily +\Lsinf{H2O}, \Lsinf{YCbCr}, \Lsinf{L1234567890abcdefgh} \end{document} \end{externalDocument} + + %sflining (sflf) or sfoldstyle (sfosf, osfss) %sftabular (sft) or sfproportional (sfp) @@ -903,8 +1253,8 @@ e f g h i j k l m n o p q r s t u v w x y z \{ | \} \textasciitilde \LibKey\LKeyDown; \LibKey\LKeyLeft; \LibKey\LKeyRight; -\LibKey\LKeyBildUp; -\LibKey\LKeyBildDown; +%\LibKey\LKeyPageUp; +%\LibKey\LKeyPageDown; \LibKey\LKeyAt; \LibKey\LKeyFn; \LibKey\LKeyHome; @@ -1059,7 +1409,7 @@ a Libertinus font, one can use a predefinded command: \begin{externalDocument}[ frame,compiler=lualatex, crop, - force=false, + force=true, runs=2,code,docType=latex, frame, lstOptions={columns=fixed}]{Libertinus} @@ -1078,6 +1428,672 @@ The default 0123456 \end{externalDocument} +\iffalse + +\begin{xltabular}{\linewidth}{|l r X|}\hline + Feature & Tag & Input/Output\\\hline + Small Capitals & \textstyleVariable{smcp} & Libertinus őűéáäß Кириллица + +\addfontfeatures{RawFeature=smcp}Libertinus őűéáäß Кириллица … \\\hline + Capitals to Small Caps &\textstyleVariable{c2sc} & Libertinus Font ŐŰÉÁÄ + +\addfontfeatures{RawFeature=+c2sc} Libertinus Font ŐŰÉÁÄ … \\\hline + Small Capitals \newline ++ Capitals to Small Caps + + & +\textstyleVariable{smcp} +\textstyleVariable{c2sc} + + & + Libertinus Font + +\addfontfeatures{RawFeature={+smcp,+c2sc}}% + Libertinus Font … + +\\\hline + Case Sensitive Forms + + & +\textstyleVariable{case} + + & + \textspanish{¡CANTÁ! ¿CUÁNTOS?} L1234567890L- + +\addfontfeatures{RawFeature=+case}% + \textspanish{¡CANTÁ! ¿CUÁNTOS?} L1234567890L- … + +\\\hline + Standard Ligatures (\textit{default}) + + & +{\raggedleft \textstyleVariable{-liga}\par} + + & + fb, ff, fh, ffh, fi, ffi, fj, ffj, fk, ffk, fl, ffl, ft, fft, ſh, ſl, \newline +ſs, ſſ, ſt + +\addfontfeatures{RawFeature=-liga}% + fb, ff, fh, ffh, fi, ffi, fj, ffj, fk, ffk, fl, ffl, ft, fft, ſh, ſl, ſs, ſſ, ſt + +\\\hline + Historical Ligatures + + & +\textstyleVariable{hlig} + + & + ct, st + +\addfontfeatures{RawFeature=+hlig}% + ct, st + +\\\hline + Discretionary Ligatures + + & +\textstyleVariable{dlig} + + & + Th, tt, tz, ck, ch + +\addfontfeatures{RawFeature=+dlig}% + Th, tt, tz, ck, ch + +\\\hline + Contextual Alternates (\textit{default}) + + & +\textstyleVariable{-calt} + + & + Qu, \textgerman{tief? (f) Schulfächer} + +\addfontfeatures{RawFeature=-calt}% + Qu, \textgerman{tief? (f) Schulfächer} … + +\\\hline + Fractions + + & + \textstyleVariable{frac} + + & + L 1/2 1/3 1/4 1/5 1/6 1/7 1/8 1/9 1/10 5/20 9/1289 + +\addfontfeatures{RawFeature=+frac}% + L 1/2 1/3 1/4 1/5 1/6 1/7 1/8 1/9 1/10 5/20 9/1289 … + +\\\hline + Kerning (\textit{default}) + + & +\textstyleVariable{-kern} + & + Telephone. AVATAR. Wait! Typography. WAY. \ V. + +\addfontfeatures{RawFeature=-kern}% + Telephone. AVATAR. Wait! Typography. WAY. V. + +\\\hline + Capital Spacing, Uppercase Kerning + + & +\textstyleVariable{cpsp} + + & + IN THE BEGINNING GOD CREATED THE HEAVENS AND THE EARTH. + +\addfontfeatures{RawFeature=+cpsp}% + IN THE BEGINNING GOD CREATED THE HEAVENS AND THE EARTH. + +\\\hline + Slashed Zero + + & +\textstyleVariable{zero} + + & + 0 + +\addfontfeatures{RawFeature=+zero}% + 0 + +\\\hline + Tabular Figures (\textit{default}) + + & +\textstyleVariable{tnum} + + & + 1234567890 + +\addfontfeatures{RawFeature=+tnum}% + 1234567890 + +\\\hline + Proportional Numbers + + & +\textstyleVariable{pnum} + + & + 1111111111 + +\addfontfeatures{RawFeature={-tnum,+pnum}}% + 1111111111 + +\\\hline + Lining Figures (\textit{default}) + + & + \textstyleVariable{lnum} + + & + 1234567890 + +\addfontfeatures{RawFeature={-tnum,+lnum}}% + 1234567890 + +\\\hline + Oldstyle Figures + + & +\textstyleVariable{onum} + & + 1234567890 + +\addfontfeatures{RawFeature={-lnum,+onum}}% + 1234567890 + +\\\hline + Proportional Oldstyle \ Figures + + & +\textstyleVariable{pnum} +\textstyleVariable{onum} + + & + 1234567890 + +\addfontfeatures{RawFeature={-lnum,-tnum,+onum,+pnum}}% + 1234567890 + +\\\hline + Stylistic Alternates + + & +\textstyleVariable{salt} + + & + \& J β θ κ φ h a + +\addfontfeatures{RawFeature=+salt}% + \& J β θ κ φ h a + +\\\hline + Stylistic Set 1 + + & +\textstyleVariable{ss01} + + & + Ä, Ö, Ü + +\addfontfeatures{RawFeature=+ss01}% + Ä, Ö, Ü + +\\\hline + Stylistic Set 2 + + & +\textstyleVariable{ss02} + + & + J, K, R + +\addfontfeatures{RawFeature=+ss02}% + J, K, R + +\\\hline + Stylistic Set 3 + + & +\textstyleVariable{ss03} + + & + ß, ẞ, ß + +\addfontfeatures{RawFeature=+ss03}% + ß, ẞ, ß + +\\\hline + Stylistic Set 4 + + & +\textstyleVariable{ss04} + + & + ẞ + +\addfontfeatures{RawFeature=+ss04}% + ẞ + +\\\hline + Stylistic Set 5 + + & +\textstyleVariable{ss05} + + & + W + +\addfontfeatures{RawFeature=+ss05}% + W + +\\\hline + Stylistic Set 6 + + & +\textstyleVariable{ss06} + + & + \& + +\addfontfeatures{RawFeature=+ss06}% + \& + +\\\hline + Stylistic Set 7 + + & +\textstyleVariable{ss07} + + & + Ŋ + +\addfontfeatures{RawFeature=+ss07}% + Ŋ + +\\\hline + Scientific Inferiors + + & +\textstyleVariable{sinf} + + & + H2O, YCbCr, L1234567890abcdefgh + +\addfontfeatures{RawFeature=+sinf}% + H2O, YCbCr L1234567890abcdefgh … + +\\\hline + Superscript &\textstyleVariable{sups} & y = an ⋅ ex, L1234567890abcdefgh\ldots + +y=a{\Lsup n}⋅e{\Lsup x}, \Lsup{L1234567890abcdefgh\ldots}\\\hline + Mark Positioning (\textit{default}) & \textstyleVariable{-mark} & + A̍a̎ + + \addfontfeatures{RawFeature=-mark}% +A̍a̎̎ … + +\\\hline + Mark-to-mark Positioning (\textit{default}) + + & +\textstyleVariable{-mkmk} + + & + x̆́ + +\addfontfeatures{RawFeature=-mkmk}% + x̆́ … + +\\\hline +\end{xltabular} + + +\sffamily +\begin{xltabular}{\linewidth}{|l r X|}\hline + Feature & Tag & Input/Output\\\hline + Small Capitals & \textstyleVariable{smcp} & Libertinus őűéáäß Кириллица + +\addfontfeatures{RawFeature=smcp}Libertinus őűéáäß Кириллица … \\\hline + Capitals to Small Caps &\textstyleVariable{c2sc} & Libertinus Font ŐŰÉÁÄ + +\addfontfeatures{RawFeature=+c2sc} Libertinus Font ŐŰÉÁÄ … \\\hline + Small Capitals \newline ++ Capitals to Small Caps + + & +\textstyleVariable{smcp} +\textstyleVariable{c2sc} + + & + Libertinus Font + +\addfontfeatures{RawFeature={+smcp,+c2sc}}% + Libertinus Font … + +\\\hline + Case Sensitive Forms + + & +\textstyleVariable{case} + + & + \textspanish{¡CANTÁ! ¿CUÁNTOS?} L1234567890L- + +\addfontfeatures{RawFeature=+case}% + \textspanish{¡CANTÁ! ¿CUÁNTOS?} L1234567890L- … + +\\\hline + Standard Ligatures (\textit{default}) + + & +{\raggedleft \textstyleVariable{-liga}\par} + + & + fb, ff, fh, ffh, fi, ffi, fj, ffj, fk, ffk, fl, ffl, ft, fft, ſh, ſl, \newline +ſs, ſſ, ſt + +\addfontfeatures{RawFeature=-liga}% + fb, ff, fh, ffh, fi, ffi, fj, ffj, fk, ffk, fl, ffl, ft, fft, ſh, ſl, ſs, ſſ, ſt + +\\\hline + Historical Ligatures + + & +\textstyleVariable{hlig} + + & + ct, st + +\addfontfeatures{RawFeature=+hlig}% + ct, st + +\\\hline + Discretionary Ligatures + + & +\textstyleVariable{dlig} + + & + Th, tt, tz, ck, ch + +\addfontfeatures{RawFeature=+dlig}% + Th, tt, tz, ck, ch + +\\\hline + Contextual Alternates (\textit{default}) + + & +\textstyleVariable{-calt} + + & + Qu, \textgerman{tief? (f) Schulfächer} + +\addfontfeatures{RawFeature=-calt}% + Qu, \textgerman{tief? (f) Schulfächer} … + +\\\hline + Fractions + + & + \textstyleVariable{frac} + + & + L 1/2 1/3 1/4 1/5 1/6 1/7 1/8 1/9 1/10 5/20 9/1289 + +\addfontfeatures{RawFeature=+frac}% + L 1/2 1/3 1/4 1/5 1/6 1/7 1/8 1/9 1/10 5/20 9/1289 … + +\\\hline + Kerning (\textit{default}) + + & +\textstyleVariable{-kern} + & + Telephone. AVATAR. Wait! Typography. WAY. \ V. + +\addfontfeatures{RawFeature=-kern}% + Telephone. AVATAR. Wait! Typography. WAY. V. + +\\\hline + Capital Spacing, Uppercase Kerning + + & +\textstyleVariable{cpsp} + + & + IN THE BEGINNING GOD CREATED THE HEAVENS AND THE EARTH. + +\addfontfeatures{RawFeature=+cpsp}% + IN THE BEGINNING GOD CREATED THE HEAVENS AND THE EARTH. + +\\\hline + Slashed Zero + + & +\textstyleVariable{zero} + + & + 0 + +\addfontfeatures{RawFeature=+zero}% + 0 + +\\\hline + Tabular Figures (\textit{default}) + + & +\textstyleVariable{tnum} + + & + 1234567890 + +\addfontfeatures{RawFeature=+tnum}% + 1234567890 + +\\\hline + Proportional Numbers + + & +\textstyleVariable{pnum} + + & + 1111111111 + +\addfontfeatures{RawFeature={-tnum,+pnum}}% + 1111111111 + +\\\hline + Lining Figures (\textit{default}) + + & + \textstyleVariable{lnum} + + & + 1234567890 + +\addfontfeatures{RawFeature={-tnum,+lnum}}% + 1234567890 + +\\\hline + Oldstyle Figures + + & +\textstyleVariable{onum} + & + 1234567890 + +\addfontfeatures{RawFeature={-lnum,+onum}}% + 1234567890 + +\\\hline + Proportional Oldstyle \ Figures + + & +\textstyleVariable{pnum} +\textstyleVariable{onum} + + & + 1234567890 + +\addfontfeatures{RawFeature={-lnum,-tnum,+onum,+pnum}}% + 1234567890 + +\\\hline + Stylistic Alternates + + & +\textstyleVariable{salt} + + & + \& J β θ κ φ h a + +\addfontfeatures{RawFeature=+salt}% + \& J β θ κ φ h a + +\\\hline + Stylistic Set 1 + + & +\textstyleVariable{ss01} + + & + Ä, Ö, Ü + +\addfontfeatures{RawFeature=+ss01}% + Ä, Ö, Ü + +\\\hline + Stylistic Set 2 + + & +\textstyleVariable{ss02} + + & + J, K, R + +\addfontfeatures{RawFeature=+ss02}% + J, K, R + +\\\hline + Stylistic Set 3 + + & +\textstyleVariable{ss03} + + & + ß, ẞ, ß + +\addfontfeatures{RawFeature=+ss03}% + ß, ẞ, ß + +\\\hline + Stylistic Set 4 + + & +\textstyleVariable{ss04} + + & + ẞ + +\addfontfeatures{RawFeature=+ss04}% + ẞ + +\\\hline + Stylistic Set 5 + + & +\textstyleVariable{ss05} + + & + W + +\addfontfeatures{RawFeature=+ss05}% + W + +\\\hline + Stylistic Set 6 + + & +\textstyleVariable{ss06} + + & + \& + +\addfontfeatures{RawFeature=+ss06}% + \& + +\\\hline + Stylistic Set 7 + + & +\textstyleVariable{ss07} + + & + Ŋ + +\addfontfeatures{RawFeature=+ss07}% + Ŋ + +\\\hline + Scientific Inferiors + + & +\textstyleVariable{sinf} + + & + H2O, YCbCr, L1234567890abcdefgh + +\addfontfeatures{RawFeature=+sinf}% + H2O, YCbCr L1234567890abcdefgh … + +\\\hline + Superscript + + & +\textstyleVariable{sups} + + & + y = an ⋅ ex, L1234567890abcdefgh + +\addfontfeatures{RawFeature={+sups,-sinf}}% + y = an ⋅ ex, L1234567890abcdefgh … + +\\\hline + Mark Positioning (\textit{default}) + + & + \textstyleVariable{-mark} + + & + A̍a̎ + + \addfontfeatures{RawFeature=-mark}% +A̍a̎̎ … + +\\\hline + Mark-to-mark Positioning (\textit{default}) + + & +\textstyleVariable{-mkmk} + + & + x̆́ + +\addfontfeatures{RawFeature=-mkmk}% + x̆́ … + +\\\hline +\end{xltabular} + + +\fi + + \clearpage \newgeometry{margin=1cm,bmargin=2cm} @@ -1111,5 +2127,9 @@ The default 0123456 \end{multicols} +\printindex + + + \end{document} diff --git a/fonts/libertinus-otf/latex/libertinus-otf.sty b/fonts/libertinus-otf/latex/libertinus-otf.sty index e741af8b00..f0ffebc960 100644 --- a/fonts/libertinus-otf/latex/libertinus-otf.sty +++ b/fonts/libertinus-otf/latex/libertinus-otf.sty @@ -1,4 +1,4 @@ -%% $Id: libertinus-otf.sty 1100 2019-10-23 19:07:26Z herbert $ +%% $Id: libertinus-otf.sty 1146 2020-02-22 15:47:27Z herbert $ %% %% This file is distributed under the terms of the LaTeX Project Public %% License from CTAN archives in directory macros/latex/base/lppl.txt. @@ -8,7 +8,7 @@ % Copyright 2020 Herbert Voss hvoss@tug.org % \ProvidesPackage{libertinus-otf}[% - 2020/02/08 v. 0.23 (Herbert Voss) Supports libertinus fonts for lualatex and xelatex.] + 2020/02/22 v. 0.24 (Herbert Voss) Supports libertinus fonts for lualatex and xelatex.] \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} %\RequirePackage[no-math]{fontspec} @@ -543,5 +543,64 @@ \fi % -\def\Wikipedia{{\fontspec{Libertinus Serif Regular}[RawFeature=+ss05]W}} -%\def\WikipediaSF{{\addfontfeature{RawFeature=+ss05}\fontspec{Libertinus Sans Regular}W}} +\def\WikipediaW{{\fontspec{LibertinusSerif-Regular.otf}[RawFeature=+ss05]W}} +\def\Wikipedia{{\fontspec{LibertinusSerif-Regular.otf}[RawFeature={+ss05,+smcp}]W\kern-1pt ikipediA}} + +%\def\WikipediaWSF{{\sffamily\addfontfeature{RawFeature=+ss05}W}} +%\def\WikipediaSF{{\addfontfeature{RawFeature=+ss05}\sffamily WikipediA}} + +\def\Lsup#1{{\addfontfeature{RawFeature=+sups}#1}} +\def\Lsinf#1{{\addfontfeature{RawFeature=+sinf}#1}} +\def\Land{{\addfontfeature{RawFeature=+ss06}\&}} + +\def\Lcase#1{{\addfontfeature{RawFeature=case}#1}} +\def\LCASE{\@ifnextchar-\L@CASE\L@@CASE} +\def\L@CASE-{\addfontfeature{RawFeature=-case}} +\def\L@@CASE#1{\addfontfeature{RawFeature=+case}\ifx#1+\else#1\fi} + +\def\Lfrac#1{{\addfontfeature{RawFeature=+frac}#1}} +\def\LFRAC{\@ifnextchar-\L@FRAC\L@@FRAC} +\def\L@FRAC-{\addfontfeature{RawFeature=-frac}} +\def\L@@FRAC#1{\addfontfeature{RawFeature=+frac}\ifx#1+\else#1\fi} + +\def\Lcpsp#1{{\addfontfeature{RawFeature=+cpsp}#1}} +\def\LCPSP{\@ifnextchar-\L@CPSP\L@@CPSP} +\def\L@CPSP-{\addfontfeature{RawFeature=-cpsp}} +\def\L@@CPSP#1{\addfontfeature{RawFeature=+cpsp}\ifx#1+\else#1\fi} + +\def\Lss#1#2#3{{\addfontfeature{RawFeature=ss#1#2}#3}} +\def\LSS#1#2{\addfontfeature{RawFeature=ss#1#2}} + +\def\Lctosc#1{{\addfontfeature{RawFeature=+c2sc}#1}} +\def\LCtoSC{\@ifnextchar-\L@CtoSC\L@@CtoSC} +\def\L@CtoSC-{\addfontfeature{RawFeature=-c2sc}} +\def\L@@CtoSC#1{\addfontfeature{RawFeature=+c2sc}\ifx#1+\else#1\fi} + +\def\Lctosmcp#1{{\addfontfeature{RawFeature={+c2sc,+smcp}}#1}} +\def\LCtoSMCP{\@ifnextchar-\L@CtoSMCP\L@@CtoSMCP} +\def\L@CtoSMCP-{\addfontfeature{RawFeature={-c2sc,-smcp}}} +\def\L@@CtoSMCP#1{\addfontfeature{RawFeature={+c2sc,+smcp}}\ifx#1+\else#1\fi} + +\def\Lsalt#1{{\addfontfeature{RawFeature=+salt}#1}} +\def\LSALT{\@ifnextchar-\L@SALT\L@@SALT} +\def\L@SALT-{\addfontfeature{RawFeature=-salt}} +\def\L@@SALT#1{\addfontfeature{RawFeature=+salt}\ifx#1+\else#1\fi} + +\def\Lliga#1{{\addfontfeature{RawFeature=+liga}#1}} +\def\LLIGA{\@ifnextchar-\L@LIGA\L@@LIGA} +\def\L@LIGA-{\addfontfeature{RawFeature=-liga}} +\def\L@@LIGA#1{\addfontfeature{RawFeature=+liga}\ifx#1+\else#1\fi} + + +\def\Lhlig#1{{\addfontfeature{RawFeature=+hlig}#1}} +\def\LHLIG{\@ifnextchar-\L@HLIG\L@@HLIG} +\def\L@HLIG-{\addfontfeature{RawFeature=-hlig}} +\def\L@@HLIG#1{\addfontfeature{RawFeature=+hlig}\ifx#1+\else#1\fi} + +\def\Ldlig#1{{\addfontfeature{RawFeature=+dlig}#1}} +\def\LDLIG{\@ifnextchar-\L@DLIG\L@@DLIG} +\def\L@DLIG-{\addfontfeature{RawFeature=-dlig}} +\def\L@@DLIG#1{\addfontfeature{RawFeature=+dlig}\ifx#1+\else#1\fi} + + + |