diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/libertinus-otf |
Initial commit
Diffstat (limited to 'fonts/libertinus-otf')
-rw-r--r-- | fonts/libertinus-otf/Changes | 19 | ||||
-rw-r--r-- | fonts/libertinus-otf/README.md | 16 | ||||
-rw-r--r-- | fonts/libertinus-otf/doc/libertinus-otf-doc.pdf | bin | 0 -> 401409 bytes | |||
-rw-r--r-- | fonts/libertinus-otf/doc/libertinus-otf-doc.tex | 827 | ||||
-rw-r--r-- | fonts/libertinus-otf/latex/libertinus-otf.sty | 407 | ||||
-rw-r--r-- | fonts/libertinus-otf/opentype/LibertinusMath-Bold.otf | bin | 0 -> 1080596 bytes | |||
-rw-r--r-- | fonts/libertinus-otf/opentype/LibertinusMono-Bold.otf | bin | 0 -> 1610584 bytes | |||
-rw-r--r-- | fonts/libertinus-otf/opentype/LibertinusMono-BoldOblique.otf | bin | 0 -> 1651304 bytes | |||
-rw-r--r-- | fonts/libertinus-otf/opentype/LibertinusMono-Oblique.otf | bin | 0 -> 1411328 bytes | |||
-rw-r--r-- | fonts/libertinus-otf/opentype/LibertinusSans-BoldItalic.otf | bin | 0 -> 610924 bytes |
10 files changed, 1269 insertions, 0 deletions
diff --git a/fonts/libertinus-otf/Changes b/fonts/libertinus-otf/Changes new file mode 100644 index 0000000000..376d1c811f --- /dev/null +++ b/fonts/libertinus-otf/Changes @@ -0,0 +1,19 @@ +0.16 2019-05-30 - fix for introduced bug for \XeTeX and Keyboard font +0.15 2019-05-30 - fix for keyboard symbols + - changed LibertinusSans-BoldOblique to + LibertinusSans-BoldItalic +0.14a 2019-05-22 - fix for some mono font symbols which had a wrong width +0.14 2019-04-04 - use the new filenames from latest libertinus fonts +0.13a 2019-01-11 - added the script setting for the open type fonts +0.13 2018-11-18 - added optional argument mono, which is preset to true +0.12 2018-09-03 - added some macros for short font select (hv,bt) +0.11a 2018-09-03 - fix for missing features in sans-bolditalic +0.11 2018-08-22 - fix bug with correct OS/2 names +0.10 2018-07-12 - added option nomath +0.09 2018-07-07 - use oblique instaed of italic for the mono font +0.08a 2018-07-03 - fix for wrong font name of bold math +0.08 2018-07-03 - fix for osf and lining figures +0.07a 2018-06-12 - added the missing fonts +0.07 2018-05-24 - fix for \LKeySpace +0.06 2018-05-23 - fix for \LKey +0.05 2018-04-19 - first CTAN version diff --git a/fonts/libertinus-otf/README.md b/fonts/libertinus-otf/README.md new file mode 100644 index 0000000000..303ab73a20 --- /dev/null +++ b/fonts/libertinus-otf/README.md @@ -0,0 +1,16 @@ +# README # +Package libertinus-otf supports the free fonts from +ctan.org/fonts/libertinus and installs additionally math-bold, +mono-bold and mono-italic + +% This file is distributed under the terms of the LaTeX Project Public +% License from CTAN archives in directory macros/latex/base/lppl.txt. +% Either version 1.3 or, at your option, any later version. +% +% +The four fonts which are missing in the libertinus package +have the SIL Open Font License and are derived from the ones +in the libertinus-fonts package. + +% Copyright 2019 Herbert Voss hvoss@tug.org + diff --git a/fonts/libertinus-otf/doc/libertinus-otf-doc.pdf b/fonts/libertinus-otf/doc/libertinus-otf-doc.pdf Binary files differnew file mode 100644 index 0000000000..e7f0f5e549 --- /dev/null +++ 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 new file mode 100644 index 0000000000..e7a6c2ed15 --- /dev/null +++ b/fonts/libertinus-otf/doc/libertinus-otf-doc.tex @@ -0,0 +1,827 @@ +%% $Id: libertinus-otf-doc.tex 1070 2019-05-31 04:01:49Z herbert $ +\listfiles +\documentclass[polish,english]{article} +\usepackage{libertinus-otf} +\usepackage{babel} +\usepackage{booktabs} +\usepackage{xltabular} +\usepackage{listings} +\usepackage{xspace} +\usepackage{setspace} +\usepackage{xcolor} +\usepackage{varioref,multido} +\newcommand\Macro[1]{\texttt{\textbackslash#1}} +\usepackage{dtk-extern} + +\newenvironment{demoquote} + {\begingroup + \setlength{\topsep}{0pt} + \setlength{\partopsep}{0pt} + \list{}{\rightmargin\leftmargin}% + \item\relax} + {\endlist\endgroup} + +\def\Lcs#1{\texttt{\textbackslash#1}} +\def\testfeature#1#2#3{{\fontspec[RawFeature={+#2}]{#1}#3\relax}} + +\title{OpenType font Libertinus} +\author{Herbert Voß} +\usepackage{parskip} +\parindent=0pt + + +\begin{document} +\maketitle + + + + +\begin{abstract} +The font family Libertinus is derived from the Linux Libertine and enhanced with a +math font. +\end{abstract} + + +\section{The default setting} + +The font package \texttt{libertinus} installs the following OpenType fonts: +\begin{verbatim} + +LibertinusSerif-Regular.otf +LibertinusSerif-Bold.otf +LibertinusSerif-Italic.otf +LibertinusSerif-BoldItalic.otf +LibertinusSerif-Semibold.otf +LibertinusSerif-SemiboldItalic.otf +----------------------------------- +LibertinusSans-Regular.otf +LibertinusSans-Bold.otf +LibertinusSans-Italic.otf +----------------------------------- +LibertinusKeyboard-Regular.otf +LibertinusSerifDisplay-Regular.otf +LibertinusSerifInitials-Regular.otf +----------------------------------- +LibertinusMono-Regular.otf +----------------------------------- +LibertinusMath-Regular.otf +----------------------------------- + + + + + +\end{verbatim} + +The package liberinus-otf installs the additional ones: + +\begin{verbatim} +LibertinusMono-Oblique.otf +LibertinusMono-Bold.otf +LibertinusMono-BoldOblique.otf + +LibertinusSans-BoldOblique.otf + +LibertinusMath-Bold.otf +\end{verbatim} + +all created with \textsc{FontForge}. + + +With the package \texttt{libertinus-otf} the serif, sans, mono, and math fonts are set +as usual: + + +\begin{verbatim} +\RequirePackage{unicode-math} +\setmainfont{LibertinusSerif}[ + Numbers = {\libertinus@figurealign,\libertinus@figurestyle}, + Scale = \libertinusRM@scale , + UprightFont = *-Regular, + ItalicFont = *-Italic, + BoldFont = *-\libertinus@boldstyle, + BoldItalicFont = *-\libertinus@boldstyle Italic, + SmallCapsFeatures={Letters=SmallCaps}, + Extension = .otf +] +\setsansfont{LibertinusSans}[ + Numbers = {\libertinus@figurealign,\libertinus@figurestyle} , + Scale = \libertinusSF@scale , + UprightFont = *-Regular, + ItalicFont = *-Italic, + BoldFont = *-Bold, + BoldItalicFont = *-BoldOblique, + SmallCapsFeatures={Letters=SmallCaps}, + Extension = .otf +] +\setmonofont{LibertinusMono}[ + Scale = \libertinusTT@scale, + FakeStretch = 0.8, + UprightFont = *-Regular, + ItalicFont = *-Oblique, + BoldFont = *-Bold, + BoldItalicFont = *-BoldOblique, + Extension = .otf, +] + +\setmathfont{LibertinusMath-Regular.otf}[BoldFont=LibertinusMath-Bold.otf] + +\newfontfamily\LibertinusKeyboard{libertinuskeyboard-regular.otf} +\newfontfamily\LibertinusDisplay{libertinusserifdisplay-regular.otf} +\newfontfamily\Libertinusinitials{libertinusserifinitials-regular.otf} +\end{verbatim} + + +\noindent\fbox{% +\begin{minipage}{\dimexpr\textwidth-2\fboxsep-2\fboxrule} +\textbf{Theorem 1 (Residue Theorem).} +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 +% +\[ +\mathop{\symup{Res}}\limits_{z=a}f(z) = \mathop{\mathrm{Res}}\limits_a f + = \frac{1}{2\pi\symup{i}} \int\limits_C f(z)\,\symup dz, +\] +% +where $C\subset D\backslash\{a\}$ is a closed line +$ n(C,a)=1$ (e.\,g. a counterclockwise circle loop). + +\medskip +$\symup{A} \Lambda \Delta \nabla \symup{B C D} \Sigma \symup{E F} \Gamma \symup{G H I J} K L M N O + \Theta \Omega \symup{P} \Phi \Pi \Xi \mathtt{Q R S T} U V W X Y \Upsilon \Psi \symup{Z}$ +$\mathsf{ABCDabcd1234}$ + +$a\alpha b \beta c \partial d \delta e \epsilon \varepsilon f \zeta \xi g \gamma h \hbar \iota i \imath j +k \kappa l \ell \lambda m n \eta \theta \vartheta o \sigma \varsigma \phi \varphi \wp p +\rho \varrho q r s t \tau \pi u \mu \nu v \upsilon w \omega \varpi $ + +$xyz \infty \propto \emptyset y=f(x)$ +\hfill$\sum\int\prod\displaystyle~\prod\int\sum~ + \textstyle\sum_a^b\int_a^b\prod_a^b~ \displaystyle\sum_a^b\int\limits_a^b\prod_a^b$ + +\boldmath +$\symup{A} \Lambda \Delta \nabla \symup{B C D} \Sigma \symup{E F} \Gamma \symup{G H I J} K L M N O + \Theta \Omega \symup{P} \Phi \Pi \Xi \mathtt{Q R S T} U V W X Y \Upsilon \Psi \symup{Z}$ +$\mathsf{ABCDabcd1234}$ + +$a\alpha b \beta c \partial d \delta e \epsilon \varepsilon f \zeta \xi g \gamma h \hbar \iota i \imath j +k \kappa l \ell \lambda m n \eta \theta \vartheta o \sigma \varsigma \phi \varphi \wp p +\rho \varrho q r s t \tau \pi u \mu \nu v \upsilon w \omega \varpi $ + +$xyz \infty \propto \emptyset y=f(x)$ +\hfill$\sum\int\prod\displaystyle~\prod\int\sum~ + \textstyle\sum_a^b\int_a^b\prod_a^b~ \displaystyle\sum_a^b\int\limits_a^b\prod_a^b$ +\unboldmath +\end{minipage}} + + +\subsection{The serif font} + +\selectlanguage{polish} +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + +\bfseries +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + + +\normalfont\itshape +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + +\bfseries +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + +\normalfont +\scshape +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + +\normalfont +\subsection{The sans serif font} +\sffamily +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + +\bfseries +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + + +\normalfont\sffamily\itshape +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + +\bfseries +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + +\normalfont\sffamily +\scshape +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + +\normalfont + +\subsection{The mono font} + +If you do not like the monofont, you can use the package option +\texttt{mono=false}, then no mono font is defined +and the default Latin Modern Mono will be used unless no one other will be defined. +However, by default the package loads the Libertinus Mono font: + +\small\ttfamily +-.,mnbvcxy<\#äölkjhgfdsa+üpoiuztrewq\textasciicircum{}234567890ß'`?=)(/\&\%\$§"!°QWERTZUIOPÜ*'ÄÖLKJHGFDSA>YXCVBNM;:\_\\ +\itshape +-.,mnbvcxy<\#äölkjhgfdsa+üpoiuztrewq\textasciicircum{}234567890ß'`?=)(/\&\%\$§"!°QWERTZUIOPÜ*'ÄÖLKJHGFDSA>YXCVBNM;:\_\\ +\bfseries +-.,mnbvcxy<\#äölkjhgfdsa+üpoiuztrewq\textasciicircum{}234567890ß'`?=)(/\&\%\$§"!°QWERTZUIOPÜ*'ÄÖLKJHGFDSA>YXCVBNM;:\_\\ +\mdseries +-.,mnbvcxy<\#äölkjhgfdsa+üpoiuztrewq\textasciicircum{}234567890ß'`?=)(/\&\%\$§"!°QWERTZUIOPÜ*'ÄÖLKJHGFDSA>YXCVBNM;:\_\\ + +\normalfont\normalsize + + +\ttfamily\fontdimen3\font=2pt \fontdimen4\font=2pt +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + +\bfseries\fontdimen3\font=2pt \fontdimen4\font=2pt +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + + +\normalfont\ttfamily\slshape\fontdimen3\font=2pt \fontdimen4\font=2pt +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + +\bfseries\fontdimen3\font=2pt \fontdimen4\font=2pt +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + + +\normalfont\normalsize +\selectlanguage{english} + + +\section{Features} + + +\begin{lstlisting}[basicstyle=\ttfamily\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 +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 +sinf Scientific Inferiors +smcp Small Capitals +ss01 Stylistic Set 1 +ss02 Stylistic Set 2 +ss03 Stylistic Set 3 +ss04 Stylistic Set 4 +ss05 Stylistic Set 5 +ss06 Stylistic Set 6 +sups Superscript +tnum Tabular Figures +zero Slashed Zero +\end{lstlisting} + +%$ + + +\normalfont +\section{Package options} + +Possible optional arguments are + +\noindent +\begin{tabular}{@{} >{\ttfamily}l l @{}} +oldstyle, osf & old-style figures \\ +lining, nf, lf & lining figures\\ +proportional, p & varying-width figures\\ +tabular, t & fixed-width figures \\ +%semibold, sb & semibold version\\ +%bold & bold version\\\hline +ScaleRM & scaling for the serif font, preset to 1\\ +ScaleSF & scaling for the sans serif font, preset to 1\\ +ScaleTT & scaling for the mono font, preset to \texttt{MatchLowercase}\\\hline +defaultfeatures & valid for all fonts\\ +\end{tabular} + + +\lstset{basicstyle=\ttfamily\small,backgroundcolor=white} + + +\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[osf]{libertinus-otf} +%StopVisiblePreamble +\begin{document} +0000111122223333444455556666777788889999\par abcdefghijklmn +\end{document} +\end{externalDocument} + + +\begin{externalDocument}[ +% grfOptions={width=0.5\linewidth}, + compiler=lualatex, + crop, + force=true, + runs=2,code,docType=latex, + frame, +% showFilename, +% align=\centering, + lstOptions={columns=fixed}]{Libertinus} +\documentclass{article} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[lining]{libertinus-otf} +%StopVisiblePreamble +\begin{document} +0000111122223333444455556666777788889999\par abcdefghijklmn +\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[t=false]{libertinus-otf} +%StopVisiblePreamble +\begin{document} +0000111122223333444455556666777788889999\par abcdefghijklmn +\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[p]{libertinus-otf} +%StopVisiblePreamble +\begin{document} +0000111122223333444455556666777788889999\par abcdefghijklmn +\end{document} +\end{externalDocument} + + +\subsection{Stylistic Sets} + + +\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} +ÄËÖ\par\defaultfontfeatures{StylisticSet=1}\fontspec{Libertinus Serif} +ÄËÖ +\end{document} +\end{externalDocument} + + + +\begin{externalDocument}[ + frame,compiler=lualatex, + crop, + force=true, + runs=2,code,docType=latex, + frame, + lstOptions={columns=fixed}]{Libertinus} +\documentclass{article} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage{libertinus-otf} +%StopVisiblePreamble +\begin{document} +JKR\par\defaultfontfeatures{StylisticSet=2}\fontspec{Libertinus Serif} +JKR +\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} +{ß\defaultfontfeatures{StylisticSet=3}\fontspec{Libertinus Serif}ß}\par +ẞ\defaultfontfeatures{StylisticSet=4}\fontspec{Libertinus Serif}ẞ +\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 +W +\defaultfontfeatures{StylisticSet=5}\fontspec{Libertinus Serif} +W +\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\& +\defaultfontfeatures{StylisticSet=6}\fontspec{Libertinus Serif} +\& +\end{document} +\end{externalDocument} + + + +%sflining (sflf) or sfoldstyle (sfosf, osfss) +%sftabular (sft) or sfproportional (sfp) + + +\section{Additional fonts} + +\begin{verbatim} +\font\LibertinusKeyboard="file:LibertinusKeyboard-Regular.otf" +\newfontfamily\LibertinusDisplay{libertinusdisplay-regular.otf} +\newfontfamily\Libertinusinitials{libertinusinitials-regular.otf} +\end{verbatim} + +\subsection{Keyboard font} + +\def\LibKey#1;{\shortstack{\texttt{\string#1}\\#1}\xspace} + +\LibertinusKeyboard +! \symbol{"0022} \# \$ \% \& \symbol{"0027} ( ) * + , - . / 0 1 2 3 +4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z +[ \symbol{"005C} ] \symbol{"005E} \_ \symbol{"005E} a b c d +e f g h i j k l m n o p q r s t u v w x y z \{ | \} \textasciitilde +¡ ¢ \symbol{"00A3} \symbol{"00A4} \symbol{"00A5} \symbol{"00A6} § %\symbol{"00A8} +« - +º ± \symbol{"00B4} \symbol{"00B5} \symbol{"00B7} \symbol{"00B8} » +À Á Â \~A Ä \symbol{"00C5} +\multido{\nA=199+1}{131}{\symbol{\nA} } +\multido{\nA=332+1}{6}{\symbol{\nA} } +\multido{\nA=340+1}{43}{\symbol{\nA} } +\symbol{"05C3} \symbol{"05C6} +\multido{\nA=1488+1}{27}{\symbol{\nA} } +\symbol{"05F0} \symbol{"05F1} \symbol{"05F2} +\symbol{"21A5} \symbol{"21A7} + +\def\LibKey#1;{\shortstack{\texttt{\string#1}\\#1}\xspace} + +\onehalfspacing +\begin{sloppypar} +\LibKey\LKeyStrg; +\LibKey\LKeyAlt; +\LibKey\LKeyAltGr; +\LibKey\LKeyShift; +\LibKey\LKeyTab; +\LibKey\LKeyEnter; +\LibKey\LKeyCapslock; +\LibKey\LKeyPos; +\LibKey\LKeyEntf; +\LibKey\LKeyEinf; +\LibKey\LKeyLeer; +\LibKey\LKeyEsc; +\LibKey\LKeyEnde; +\LibKey\LKeyWin; +\LibKey\LKeyMenu; +%\LibKey\LKeyTUX; +\LibKey\LKeyCtrl; +\LibKey\LKeyOptionKey; +\LibKey\LKeyBack; +\LibKey\LKeyUp; +\LibKey\LKeyDown; +\LibKey\LKeyLeft; +\LibKey\LKeyRight; +\LibKey\LKeyBildUp; +\LibKey\LKeyBildDown; +\LibKey\LKeyAt; +\LibKey\LKeyFn; +\LibKey\LKeyHome; +\LibKey\LKeyDel; +\LibKey\LKeyIns; +\LibKey\LKeyEnd; +\LibKey\LKeyGNU; +\LibKey\LKeyPageUp; +\LibKey\LKeyPageDown; +\LibKey\LKeyF{1}; +\LibKey\LKeyF{2}; +\LibKey\LKeyF{3}; +\LibKey\LKeyF{4}; +\LibKey\LKeyF{5}; +\LibKey\LKeyF{6}; +\LibKey\LKeyF{7}; +\LibKey\LKeyF{8}; +\LibKey\LKeyF{9}; +\LibKey\LKeyF{10}; +\LibKey\LKeyF{11}; +\LibKey\LKeyF{12}; +\LibKey\LKeyF{13}; +\LibKey\LKeyF{14}; +\LibKey\LKeyF{15}; +\LibKey\LKeyF{16}; + +\LibKey\LKeyStrgAltEntf; +% +\LibKey\LKeyPad{0}; +\LibKey\LKeyPad{1}; +\LibKey\LKeyPad{2}; +\LibKey\LKeyPad{3}; +\LibKey\LKeyPad{4}; +\LibKey\LKeyPad{5}; +\LibKey\LKeyPad{6}; +\LibKey\LKeyPad{7}; +\LibKey\LKeyPad{8}; +\LibKey\LKeyPad{9}; + +\LibKey\LKeyWindows; +% +% Maus +% +\iffalse +\LibKey\LMouseEmpty; +\LibKey\LMouseN; +\LibKey\LMouseL; +\LibKey\LMouseM; +\LibKey\LMouseR; +\LibKey\LMouseLR; +\LibKey\LMouseIIEmpty; +\LibKey\LMouseIIN; +\LibKey\LMouseIIL; +\LibKey\LMouseIIR; +\LibKey\LMouseIIL; +\fi + + +\normalfont + + +\begin{verbatim} +\DeclareRobustCommand*\LKeyAltF[1]{\LKeyAlt+\@nameuse{libertine@key@F@#1}} +\DeclareRobustCommand*\LKeyStrgAltF[1]{\LKeyStrg+\LKeyAlt+\@nameuse{libertine@key@F@#1}} +\DeclareRobustCommand*\LKeyStrgX[1]{\LKeyStrg+\LKey{#1}} +\DeclareRobustCommand*\LKeyShiftX[1]{\LKeyShift+\LKey{#1}} +\DeclareRobustCommand*\LKeyAltX[1]{\LKeyAlt+\LKey{#1}} +\DeclareRobustCommand*\LKeyAltGrX[1]{\LKeyAltGr+\LKey{#1}} +\DeclareRobustCommand*\LKeyShiftStrgX[1]{\LKeyShift+\LKeyStrg+\LKey{#1}} +\DeclareRobustCommand*\LKeyShiftAltX[1]{\LKeyShift+\LKeyAlt+\LKey{#1}} +\DeclareRobustCommand*\LKeyShiftAltGrX[1]{\LKeyShift+\LKeyAltGr+\LKey{#1}} +\DeclareRobustCommand*\LKeyStrgAltX[1]{\LKeyStrg+\LKeyAlt+\LKey{#1}} +\DeclareRobustCommand*\LKeyStrgAltEntf{\LKeyStrg+\LKeyAlt+\LKeyEntf} +\let\LKeyReset\LKeyStrgAltEntf +\end{verbatim} + +\LibKey\LKeyAltF1; +\LibKey\LKeyStrgAltF1; +\LibKey\LKeyStrgX{C}; +\LibKey\LKeyShiftX{C}; +\LibKey\LKeyAltX{C}; +\LibKey\LKeyAltGrX{C}; +\LibKey\LKeyShiftStrgX{C}; +\LibKey\LKeyShiftAltX{C}; +\LibKey\LKeyShiftAltGrX{C}; +\LibKey\LKeyStrgAltX{C}; +\LibKey\LKeyStrgAltEntf; +\LibKey\LKeyReset; + +\end{sloppypar} + +\singlespacing + +\normalfont + + +\subsection{Display font} + +\LibertinusDisplay\selectlanguage{polish} + + +Honoru myśliwych zaraza Rymsza Libijskich wszystkich Wożny przerywał szczodroty +opowiadań. Cesarskich znaczy rączy muchom malarstwie spisem różowemi zacnie +urządzał. Nasze Praga stare żeś Żyje cnoty Tabor. Mówcy pokój Również śmieléj +wionęła jarzynach liczne drogą jastrząb słowo zabawy odjechał życie. Dano +ojcu Wyprowadzają kuca dramatycznych myśliwskiém bór pęk żyt maja Wiec. Nię +Taka Albo tace Usta pęk ucha. + +\selectlanguage{english} + + +\normalfont + +\subsection{Initial font} + +\Libertinusinitials +0 1 2 3 4 5 6 7 8 9 0 +A B C D E F G H I J K L M N O P Q R S T U V W X Y Z +Ä \symbol{"00C5} \symbol{"00C6} \symbol{"00C7} Ö \symbol{"00D8} \symbol{"00DC} \symbol{"00DF} +\symbol{"0132} \symbol{"014A} \symbol{"0150} \symbol{"0152} \symbol{"0170} +\multido{\nA=913+1}{17}{\symbol{\nA} } +\multido{\nA=931+1}{7}{\symbol{\nA} } +\symbol{"03D2} \symbol{"0402} \symbol{"0404} \symbol{"0405} \symbol{"0406} +\multido{\nA=1032+1}{40}{\symbol{\nA} } +\symbol{"05C6} +\multido{\nA=1488+1}{27}{\symbol{\nA} } +\multido{\nA=1520+1}{5}{\symbol{\nA} } +\multido{\nA=8544+1}{16}{\symbol{\nA} } +\multido{\nA=57344+1}{15}{\symbol{\nA} } +\symbol{"E040} \symbol{"E041} \symbol{"E042} +\multido{\nA=65537+1}{42}{\symbol{\nA} } +\multido{\nA=65580+1}{11}{\symbol{\nA} } + + +\normalfont + +\section{Font commands} +Instead of using the command \Lcs{fontspec} for changing to a different type of +a Libertinus font, one can use a predefinded command: + +\begin{verbatim} +\LibertinusSerifSB (SemiBold) +\LibertinusSerifOsF (Old style proportional figures) +\LibertinusSerifTLF (Lining figures monospaced) +\LibertinusSansOsF (Old style proportional figures) +\LibertinusSansTLF (Lining figures monospaced) +\end{verbatim} + + + +\begin{externalDocument}[ + frame,compiler=lualatex, + crop, + force=true, + runs=2,code,docType=latex, + frame, + lstOptions={columns=fixed}]{Libertinus} +\documentclass{article} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage{libertinus} +%StopVisiblePreamble +\begin{document} +The default 0123456 +{\bfseries standard bold} +{\LibertinusSerifSB\bfseries SemiBold 0123456} +\LibertinusSerifOsF normal weight 0123456 +\LibertinusSerifTLF normal weight 0123456 +\LibertinusSansOsF normal weight 0123456 +\LibertinusSansTLF normal weght 0123456 +\end{document} +\end{externalDocument} + + + + + +\end{document} diff --git a/fonts/libertinus-otf/latex/libertinus-otf.sty b/fonts/libertinus-otf/latex/libertinus-otf.sty new file mode 100644 index 0000000000..973a237f7b --- /dev/null +++ b/fonts/libertinus-otf/latex/libertinus-otf.sty @@ -0,0 +1,407 @@ +%% $Id: libertinus-otf.sty 1070 2019-05-31 04:01:49Z herbert $ +%% +%% This file is distributed under the terms of the LaTeX Project Public +%% License from CTAN archives in directory macros/latex/base/lppl.txt. +%% Either version 1.3 or, at your option, any later version. +%% +% +% Copyright 2018 Herbert Voss hvoss@tug.org and Bob Tennent rdt@cs.queensu.ca +% +\ProvidesPackage{libertinus-otf}[% + 2019/05/31 v. 0.16 (Herbert Voss and Bob Tennent) Supports libertinus fonts for lualatex and xelatex.] + +\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} +\RequirePackage{unicode-math} + +\newif\iflibertinus@mono \libertinus@monotrue +\newif\iflibertinus@nomath \libertinus@nomathfalse +\newif\iflibertinus@lining \libertinus@liningtrue +\newif\iflibertinus@tabular \libertinus@tabulartrue +\newif\iflibertinus@semibold \libertinus@semiboldfalse +\newif\iflibertinus@usefilenames \libertinus@usefilenamestrue + +\DeclareOptionX{lining}[true]{\@nameuse{libertinus@lining#1}} +\DeclareOptionX{nf}[true]{\@nameuse{libertinus@lining#1}} +\DeclareOptionX{lf}[true]{\@nameuse{libertinus@lining#1}} +\DeclareOptionX{oldstyle}[true]{\@nameuse{if#1}\libertinus@liningfalse\else\libertinus@liningtrue\fi} +\DeclareOptionX{osf}[true]{\@nameuse{if#1}\libertinus@liningfalse\else\libertinus@liningtrue\fi} + +\DeclareOptionX{usefilenames}[true]{\@nameuse{libertinus@usefilenames#1}} +\DeclareOptionX{nomath}[true]{\@nameuse{libertinus@nomath#1}} +\DeclareOptionX{mono}[true]{\@nameuse{libertinus@mono#1}} + +\DeclareOptionX{tabular}[true]{\@nameuse{libertinus@tabular#1}} +\DeclareOptionX{t}[true]{\@nameuse{libertinus@tabular#1}} +\DeclareOptionX{proportional}[true]{\@nameuse{if#1}\libertinus@tabularfalse\else\libertinus@tabulartrue\fi} +\DeclareOptionX{p}[true]{\@nameuse{if#1}\libertinus@tabularfalse\else\libertinus@tabulartrue\fi} + +\DeclareOptionX{semibold}[true]{\@nameuse{libertinus@semibold#1}} +\DeclareOptionX{sb}[true]{\@nameuse{libertinus@semibold#1}} +\DeclareOptionX{bold}[true]{\@nameuse{if#1}\libertinus@semiboldfalse\else\libertinus@semiboldtrue\fi} + +\newcommand*\libertinusRM@scale{1} +\newcommand*\libertinusDisplayT@scale{1} +\newcommand*\libertinusSF@scale{1} +\newcommand*\libertinusTT@scale{MatchLowercase} +\newcommand*\libertinusInitialsT@scale{1} +\DeclareOptionX{ScaleRM}{\renewcommand*{\libertinusRM@scale}{#1}} +\DeclareOptionX{ScaleSF}{\renewcommand*{\libertinusSF@scale}{#1}} +\DeclareOptionX{ScaleTT}{\renewcommand*{\libertinusTT@scale}{#1}} + +\def\libertinus@defaultfeatures{} +\DeclareOptionX{defaultfeatures}{\def\libertinus@defaultfeatures{#1}} + +\ProcessOptionsX\relax + +\iflibertinus@lining + \def\libertinus@figurestyle{Lining} +\else + \def\libertinus@figurestyle{OldStyle} +\fi + +\iflibertinus@tabular + \def\libertinus@figurealign{Monospaced} +\else + \def\libertinus@figurealign{Proportional} +\fi + +\iflibertinus@semibold + \def\libertinus@boldstyle{Semibold} +\else + \def\libertinus@boldstyle{Bold} +\fi + + +\ifxetex\XeTeXtracingfonts=1\fi +\defaultfontfeatures{ + Ligatures = TeX , + SmallCapsFeatures={Letters=SmallCaps\ifluatex,Renderer=Basic\fi} , + \libertinus@defaultfeatures +} + +\iflibertinus@usefilenames + +\setmainfont{LibertinusSerif}[ + Numbers = {\libertinus@figurealign,\libertinus@figurestyle}, + Scale = \libertinusRM@scale , + UprightFont = *-Regular, + ItalicFont = *-Italic, + BoldFont = *-\libertinus@boldstyle, + BoldItalicFont = *-\libertinus@boldstyle Italic, + SmallCapsFeatures={Letters=SmallCaps}, + Extension = .otf +] + +\newfontfamily\LibertinusSerifSB{LibertinusSerif}[ + Numbers = {\libertinus@figurealign,\libertinus@figurestyle}, + Scale = \libertinusRM@scale, + UprightFont = *-Regular, + ItalicFont = *-Italic, + BoldFont = *-Semibold, + BoldItalicFont = *-SemiboldItalic, + SmallCapsFeatures={Letters=SmallCaps}, + Extension = .otf +] + +\newfontfamily\LibertinusSerifOsF{LibertinusSerif}[ + Numbers = {OldStyle,Proportional}, + Scale = \libertinusRM@scale , + UprightFont = *-Regular, + ItalicFont = *-Italic, + BoldFont = *-\libertinus@boldstyle, + BoldItalicFont = *-\libertinus@boldstyle Italic, + SmallCapsFeatures={Letters=SmallCaps}, + Extension = .otf +] + +\newfontfamily\LibertinusSerifTLF{LibertinusSerif}[ + Numbers = {Lining,Monospaced}, + Scale = \libertinusRM@scale , + UprightFont = *-Regular, + ItalicFont = *-Italic, + BoldFont = *-\libertinus@boldstyle, + BoldItalicFont = *-\libertinus@boldstyle Italic, + SmallCapsFeatures={Letters=SmallCaps}, + Extension = .otf +] + +\setsansfont{LibertinusSans}[ + Numbers = {\libertinus@figurealign,\libertinus@figurestyle} , + Scale = \libertinusSF@scale , + UprightFont = *-Regular, + ItalicFont = *-Italic, + BoldFont = *-Bold, + BoldItalicFont = *-BoldItalic, + SmallCapsFeatures={Letters=SmallCaps}, + Extension = .otf +] + +\newfontfamily\LibertinusSansOsF{LibertinusSans}[ + Numbers = {OldStyle,Proportional} , + Scale = \libertinusSF@scale , + UprightFont = *-Regular, + ItalicFont = *-Italic, + BoldFont = *-Bold, + BoldItalicFont = *-BoldItalic, + SmallCapsFeatures={Letters=SmallCaps}, + Extension = .otf +] + +\newfontfamily\LibertinusSansTLF{LibertinusSans}[ + Numbers = {Lining, Monospaced} , + Scale = \libertinusSF@scale , + UprightFont = *-Regular, + ItalicFont = *-Italic, + BoldFont = *-Bold, + BoldItalicFont = *-BoldItalic, + SmallCapsFeatures={Letters=SmallCaps}, + Extension = .otf +] + +\iflibertinus@mono +\setmonofont{LibertinusMono}[ +% Numbers = {\libertinus@figurealign, \libertinus@figurestyle}, + Scale = \libertinusTT@scale, + FakeStretch = 0.8, + UprightFont = *-Regular, + ItalicFont = *-Oblique, + BoldFont = *-Bold, + BoldItalicFont = *-BoldOblique, + Extension = .otf, +] +\fi + +\else + +\setmainfont{Libertinus Serif}[ + Numbers = {\libertinus@figurealign,\libertinus@figurestyle}, + Scale = \libertinusRM@scale , +% UprightFont = * Regular, +% ItalicFont = * Ialic, +% BoldFont = * Bold, % \libertinus@boldstyle, +% BoldItalicFont = * Bold Italic, %-\libertinus@boldstyle italic, + SmallCapsFeatures={Letters=SmallCaps}, +% Extension = .otf +] + +\newfontfamily\LibertinusSerif{Libertinus Serif}[ + Numbers = {\libertinus@figurealign,\libertinus@figurestyle}, + Scale = \libertinusRM@scale , +% UprightFont = *-regular, +% ItalicFont = *-italic, +% BoldFont = *-\libertinus@boldstyle, +% BoldItalicFont = *-\libertinus@boldstyle italic, + SmallCapsFeatures={Letters=SmallCaps}, +% Extension = .otf +] + +\newfontfamily\LibertnusSerifSB{Libertinus Serif}[ + Numbers = {\libertinus@figurealign,\libertinus@figurestyle}, + Scale = \libertinusRM@scale , +% UprightFont = *-regular, +% ItalicFont = *-italic, + BoldFont = * Semibold, + BoldItalicFont = * Semibold Italic, + SmallCapsFeatures={Letters=SmallCaps}, +% Extension = .otf +] + +\newfontfamily\LibertinusSerifOsF{Libertinus Serif}[ + Numbers = {OldStyle,Proportional}, + Scale = \libertinusRM@scale , +% UprightFont = *-regular, +% ItalicFont = *-italic, +% BoldFont = *-\libertinus@boldstyle, +% BoldItalicFont = *-\libertinus@boldstyle italic, + SmallCapsFeatures={Letters=SmallCaps}, +% Extension = .otf +] + +\newfontfamily\LibertinusSerifTLF{Libertinus Serif}[ + Numbers = {Lining,Monospaced}, + Scale = \libertinusRM@scale , +% UprightFont = *-regular, +% ItalicFont = *-italic, +% BoldFont = *-\libertinus@boldstyle, +% BoldItalicFont = *-\libertinus@boldstyle italic, + SmallCapsFeatures={Letters=SmallCaps}, +% Extension = .otf +] + +\setsansfont{Libertinus Sans}[ + Numbers = {\libertinus@figurealign, \libertinus@figurestyle} , + Scale = \libertinusSF@scale , +% UprightFont = * Regular, +% ItalicFont = * Italic, +% BoldFont = * Bold, +% BoldItalicFont = * Bold Italic, + SmallCapsFeatures={Letters=SmallCaps}, +% Extension = .otf +] + +\newfontfamily\LibertinusSansOsF{Libertinus Sans} +[ + Numbers = {OldStyle,Proportional} , + Scale = \libertinusSF@scale , +% UprightFont = *-regular, +% ItalicFont = *-italic, +% BoldFont = *-bold, +% BoldItalicFont = *-bolditalic, + SmallCapsFeatures={Letters=SmallCaps}, +% Extension = .otf +] + +\newfontfamily\LibertinusSansTLF{Libertinus Sans} +[ + Numbers = {Lining, Monospaced} , + Scale = \libertinusSF@scale , +% UprightFont = *-regular, +% ItalicFont = *-italic, +% BoldFont = *-bold, +% BoldItalicFont = *-bolditalic, + SmallCapsFeatures={Letters=SmallCaps}, +% Extension = .otf +] + +\iflibertinus@mono +\setmonofont{Libertinus Mono}[ +% Numbers = {\libertinus@figurealign, \libertinus@figurestyle}, + Scale = \libertinusTT@scale, + FakeStretch = 0.8, +% UprightFont = * Regular, +% ItalicFont = * Italic, +% BoldFont = * Bold, +% BoldItalicFont = * Bold Italic, +% AutoFakeBold = 1.5, +% Extension = .otf, +] +\fi + +\fi + +\def\sufigures{\addfontfeatures{VerticalPosition=Superior}} +\DeclareTextFontCommand{\textsu}{\sufigures} + + +\iflibertinus@nomath\else + \setmathfont{LibertinusMath-Regular.otf}[BoldFont=LibertinusMath-Bold.otf] +% \setmathfont{LibertinusMath-regular.otf} +% \setmathfont[version=bold]{libertinusmath-bold.otf} +\fi + +\ifluatex + \font\LibertinusKeyboard{file:LibertinusKeyboard-Regular.otf} + \hyphenchar\LibertinusKeyboard=-1 +\else + \font\LibertinusKeyboard"[LibertinusKeyboard-Regular.otf]" +\fi +\newfontfamily\LibertinusDisplay{LibertinusSerifDisplay-Regular.otf} +\newfontfamily\Libertinusinitials{LibertinusSerifInitials-Regular.otf} +\newfontfamily\LibertinusInitials{LibertinusSerifInitials-Regular.otf} + +\def\biolinumKeyGlyph#1{{\LibertinusKeyboard\symbol{#1}}} +\def\BiolinumKeyGlyph#1{{\LibertinusKeyboard#1}} +\DeclareRobustCommand*\LKey[1]{\BiolinumKeyGlyph{#1}} + +\DeclareRobustCommand*\LKeyStrg{\BiolinumKeyGlyph{Strg}} +\DeclareRobustCommand*\LKeyAlt{\BiolinumKeyGlyph{Alt}} +\DeclareRobustCommand*\LKeyAltGr{\BiolinumKeyGlyph{AltGr}} +\DeclareRobustCommand*\LKeyShift{\BiolinumKeyGlyph{Shift}} +\DeclareRobustCommand*\LKeyTab{\BiolinumKeyGlyph{Tab}} +\DeclareRobustCommand*\LKeyEnter{\BiolinumKeyGlyph{Enter}} +\DeclareRobustCommand*\LKeyCapslock{\BiolinumKeyGlyph{Capslock}} +\DeclareRobustCommand*\LKeyPos{\BiolinumKeyGlyph{Pos1}} +\DeclareRobustCommand*\LKeyEntf{\BiolinumKeyGlyph{Entf}} +\DeclareRobustCommand*\LKeyEinf{\BiolinumKeyGlyph{Einf}} +\DeclareRobustCommand*\LKeyLeer{\BiolinumKeyGlyph{Leer}} +\let\LKeySpace\LKeyLeer +\DeclareRobustCommand*\LKeyEsc{\BiolinumKeyGlyph{Esc}} +\DeclareRobustCommand*\LKeyEnde{\BiolinumKeyGlyph{Ende}} +%\DeclareRobustCommand*\LKeyTux{\BiolinumKeyGlyph{Tux}} +\DeclareRobustCommand*\LKeyWin{\BiolinumKeyGlyph{Windows}} +\DeclareRobustCommand*\LKeyMenu{\biolinumKeyGlyph{"E104}} +\DeclareRobustCommand*\LKeyCtrl{\BiolinumKeyGlyph{Ctrl}} +\DeclareRobustCommand*\LKeyOptionKey{\BiolinumKeyGlyph{Fn}} +\DeclareRobustCommand*\LKeyBack{\BiolinumKeyGlyph{Back}} +\DeclareRobustCommand*\LKeyUp{\biolinumKeyGlyph{"2191}} +\DeclareRobustCommand*\LKeyDown{\biolinumKeyGlyph{"2193}} +\DeclareRobustCommand*\LKeyLeft{\biolinumKeyGlyph{"2190}} +\DeclareRobustCommand*\LKeyRight{\biolinumKeyGlyph{"2192}} +\DeclareRobustCommand*\LKeyBildUp{\BiolinumKeyGlyph{Buildup}} +\DeclareRobustCommand*\LKeyBildDown{\BiolinumKeyGlyph{Builddown}} +\DeclareRobustCommand*\LKeyAt{\biolinumKeyGlyph{"0040}} +\DeclareRobustCommand*\LKeyFn{\BiolinumKeyGlyph{Fn}} +\DeclareRobustCommand*\LKeyHome{\BiolinumKeyGlyph{Home}} +\DeclareRobustCommand*\LKeyDel{\BiolinumKeyGlyph{Del}} +\DeclareRobustCommand*\LKeyIns{\BiolinumKeyGlyph{Ins}} +\DeclareRobustCommand*\LKeyEnd{\BiolinumKeyGlyph{End}} +\DeclareRobustCommand*\LKeyGNU{\BiolinumKeyGlyph{GNU}} +\DeclareRobustCommand*\LKeyPageUp{\BiolinumKeyGlyph{Pageup}} +\DeclareRobustCommand*\LKeyPageDown{\BiolinumKeyGlyph{Pagedown}} +\DeclareRobustCommand*\LKeyWindows{\BiolinumKeyGlyph{Windows}} + +\@namedef{libertine@key@F@1}{\BiolinumKeyGlyph{F1}} +\@namedef{libertine@key@F@2}{\BiolinumKeyGlyph{F2}} +\@namedef{libertine@key@F@3}{\BiolinumKeyGlyph{F3}} +\@namedef{libertine@key@F@4}{\BiolinumKeyGlyph{F4}} +\@namedef{libertine@key@F@5}{\BiolinumKeyGlyph{F5}} +\@namedef{libertine@key@F@6}{\BiolinumKeyGlyph{F6}} +\@namedef{libertine@key@F@7}{\BiolinumKeyGlyph{F7}} +\@namedef{libertine@key@F@8}{\BiolinumKeyGlyph{F8}} +\@namedef{libertine@key@F@9}{\BiolinumKeyGlyph{F9}} +\@namedef{libertine@key@F@10}{\BiolinumKeyGlyph{F10}} +\@namedef{libertine@key@F@11}{\BiolinumKeyGlyph{F11}} +\@namedef{libertine@key@F@12}{\BiolinumKeyGlyph{F12}} +\@namedef{libertine@key@F@13}{\BiolinumKeyGlyph{F13}} +\@namedef{libertine@key@F@14}{\BiolinumKeyGlyph{F14}} +\@namedef{libertine@key@F@15}{\BiolinumKeyGlyph{F15}} +\@namedef{libertine@key@F@16}{\BiolinumKeyGlyph{F16}} +\DeclareRobustCommand*\LKeyF[1]{\@nameuse{libertine@key@F@#1}} +% +\DeclareRobustCommand*\LKeyAltF[1]{\LKeyAlt+\@nameuse{libertine@key@F@#1}} +\DeclareRobustCommand*\LKeyStrgAltF[1]{\LKeyStrg+\LKeyAlt+\@nameuse{libertine@key@F@#1}} +\DeclareRobustCommand*\LKeyStrgX[1]{\LKeyStrg+\LKey{#1}} +\DeclareRobustCommand*\LKeyShiftX[1]{\LKeyShift+\LKey{#1}} +\DeclareRobustCommand*\LKeyAltX[1]{\LKeyAlt+\LKey{#1}} +\DeclareRobustCommand*\LKeyAltGrX[1]{\LKeyAltGr+\LKey{#1}} +\DeclareRobustCommand*\LKeyShiftStrgX[1]{\LKeyShift+\LKeyStrg+\LKey{#1}} +\DeclareRobustCommand*\LKeyShiftAltX[1]{\LKeyShift+\LKeyAlt+\LKey{#1}} +\DeclareRobustCommand*\LKeyShiftAltGrX[1]{\LKeyShift+\LKeyAltGr+\LKey{#1}} +\DeclareRobustCommand*\LKeyStrgAltX[1]{\LKeyStrg+\LKeyAlt+\LKey{#1}} +\DeclareRobustCommand*\LKeyStrgAltEntf{\LKeyStrg+\LKeyAlt+\LKeyEntf} +\let\LKeyReset\LKeyStrgAltEntf +% +\@namedef{libertine@key@Pad@0}{\BiolinumKeyGlyph{Pad0}} +\@namedef{libertine@key@Pad@1}{\BiolinumKeyGlyph{Pad1}} +\@namedef{libertine@key@Pad@2}{\BiolinumKeyGlyph{Pad2}} +\@namedef{libertine@key@Pad@3}{\BiolinumKeyGlyph{Pad3}} +\@namedef{libertine@key@Pad@4}{\BiolinumKeyGlyph{Pad4}} +\@namedef{libertine@key@Pad@5}{\BiolinumKeyGlyph{Pad5}} +\@namedef{libertine@key@Pad@6}{\BiolinumKeyGlyph{Pad6}} +\@namedef{libertine@key@Pad@7}{\BiolinumKeyGlyph{Pad7}} +\@namedef{libertine@key@Pad@8}{\BiolinumKeyGlyph{Pad8}} +\@namedef{libertine@key@Pad@9}{\BiolinumKeyGlyph{Pad9}} +%\@namedef{libertine@key@Pad@10}{\BiolinumKeyGlyph{"E1AA}} +%\@namedef{libertine@key@Pad@11}{\BiolinumKeyGlyph{"E1AB}} +%\@namedef{libertine@key@Pad@12}{\BiolinumKeyGlyph{"E1AC}} +%\@namedef{libertine@key@Pad@13}{\BiolinumKeyGlyph{"E1AD}} +%\@namedef{libertine@key@Pad@14}{\BiolinumKeyGlyph{"E1AE}} +\DeclareRobustCommand*\LKeyPad[1]{\@nameuse{libertine@key@Pad@#1}} +% +% Maus +% +\iffalse +\DeclareRobustCommand*\LMouseEmpty{\biolinumKeyGlyph{"E130}} +\DeclareRobustCommand*\LMouseN{\biolinumKeyGlyph{"E131}} +\DeclareRobustCommand*\LMouseL{\biolinumKeyGlyph{"E132}} +\DeclareRobustCommand*\LMouseM{\biolinumKeyGlyph{"E133}} +\DeclareRobustCommand*\LMouseR{\biolinumKeyGlyph{"E134}} +\DeclareRobustCommand*\LMouseLR{\biolinumKeyGlyph{"E135}} +\DeclareRobustCommand*\LMouseIIEmpty{\biolinumKeyGlyph{"E138}} +\DeclareRobustCommand*\LMouseIIN{\biolinumKeyGlyph{"E139}} +\DeclareRobustCommand*\LMouseIIL{\biolinumKeyGlyph{"E13A}} +\DeclareRobustCommand*\LMouseIIR{\biolinumKeyGlyph{"E13C}} +\DeclareRobustCommand*\LMouseIILR{\biolinumKeyGlyph{"E13D}} +\fi +% + diff --git a/fonts/libertinus-otf/opentype/LibertinusMath-Bold.otf b/fonts/libertinus-otf/opentype/LibertinusMath-Bold.otf Binary files differnew file mode 100644 index 0000000000..72c7e981f5 --- /dev/null +++ b/fonts/libertinus-otf/opentype/LibertinusMath-Bold.otf diff --git a/fonts/libertinus-otf/opentype/LibertinusMono-Bold.otf b/fonts/libertinus-otf/opentype/LibertinusMono-Bold.otf Binary files differnew file mode 100644 index 0000000000..c9b842e803 --- /dev/null +++ b/fonts/libertinus-otf/opentype/LibertinusMono-Bold.otf diff --git a/fonts/libertinus-otf/opentype/LibertinusMono-BoldOblique.otf b/fonts/libertinus-otf/opentype/LibertinusMono-BoldOblique.otf Binary files differnew file mode 100644 index 0000000000..c12ce72d4e --- /dev/null +++ b/fonts/libertinus-otf/opentype/LibertinusMono-BoldOblique.otf diff --git a/fonts/libertinus-otf/opentype/LibertinusMono-Oblique.otf b/fonts/libertinus-otf/opentype/LibertinusMono-Oblique.otf Binary files differnew file mode 100644 index 0000000000..a341a3a582 --- /dev/null +++ b/fonts/libertinus-otf/opentype/LibertinusMono-Oblique.otf diff --git a/fonts/libertinus-otf/opentype/LibertinusSans-BoldItalic.otf b/fonts/libertinus-otf/opentype/LibertinusSans-BoldItalic.otf Binary files differnew file mode 100644 index 0000000000..372922502b --- /dev/null +++ b/fonts/libertinus-otf/opentype/LibertinusSans-BoldItalic.otf |