From 8c9a7e8d27678930da67f9e032683c72a5a58699 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 3 Jul 2018 21:03:18 +0000 Subject: libertinus-otf (3jul18) git-svn-id: svn://tug.org/texlive/trunk@48128 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/libertinus-otf/Changes | 1 + .../texmf-dist/doc/latex/libertinus-otf/README.md | 6 +- .../latex/libertinus-otf/libertinus-otf-doc.pdf | Bin 371180 -> 412635 bytes .../latex/libertinus-otf/libertinus-otf-doc.tex | 493 +++++++-------------- .../tex/latex/libertinus-otf/libertinus-otf.sty | 39 +- 5 files changed, 169 insertions(+), 370 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/libertinus-otf/Changes b/Master/texmf-dist/doc/latex/libertinus-otf/Changes index e3e82455bc4..178224a6996 100644 --- a/Master/texmf-dist/doc/latex/libertinus-otf/Changes +++ b/Master/texmf-dist/doc/latex/libertinus-otf/Changes @@ -1,3 +1,4 @@ +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 diff --git a/Master/texmf-dist/doc/latex/libertinus-otf/README.md b/Master/texmf-dist/doc/latex/libertinus-otf/README.md index 9c1dbb7a334..ea31669c525 100644 --- a/Master/texmf-dist/doc/latex/libertinus-otf/README.md +++ b/Master/texmf-dist/doc/latex/libertinus-otf/README.md @@ -7,10 +7,6 @@ ctan.org/fonts/libertinus % 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 derived from the ones -in the liberinus package. - -% Copyright 2017 Herbert Voss hvoss@tug.org +% Copyright 2018 Herbert Voss hvoss@tug.org % diff --git a/Master/texmf-dist/doc/latex/libertinus-otf/libertinus-otf-doc.pdf b/Master/texmf-dist/doc/latex/libertinus-otf/libertinus-otf-doc.pdf index 6cf121af464..b05d8586f9b 100644 Binary files a/Master/texmf-dist/doc/latex/libertinus-otf/libertinus-otf-doc.pdf and b/Master/texmf-dist/doc/latex/libertinus-otf/libertinus-otf-doc.pdf differ diff --git a/Master/texmf-dist/doc/latex/libertinus-otf/libertinus-otf-doc.tex b/Master/texmf-dist/doc/latex/libertinus-otf/libertinus-otf-doc.tex index d66ebe6f8fa..0f24fa984c0 100644 --- a/Master/texmf-dist/doc/latex/libertinus-otf/libertinus-otf-doc.tex +++ b/Master/texmf-dist/doc/latex/libertinus-otf/libertinus-otf-doc.tex @@ -1,4 +1,4 @@ -%% $Id: libertinus-otf-doc.tex 770 2018-06-13 14:22:56Z herbert $ +%% $Id: libertinus-otf-doc.tex 775 2018-07-03 09:33:51Z herbert $ \listfiles \documentclass[polish,english]{article} \usepackage{libertinus-otf} @@ -7,8 +7,10 @@ \usepackage{xltabular} \usepackage{listings} \usepackage{xspace} +\usepackage{xcolor} \usepackage{varioref,multido} \newcommand\Macro[1]{\texttt{\textbackslash#1}} +\usepackage{dtk-extern} \newenvironment{demoquote} {\begingroup @@ -121,16 +123,16 @@ as usual: 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{\mathrm{Res}}\limits_{z=a}f(z) = \mathop{\mathrm{Res}}\limits_a f - = \frac{1}{2\pi\mathrm{i}} \int\limits_C f(z)\,\mathrm{d}z, +\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 -$\mathrm{A} \Lambda \Delta \nabla \mathrm{B C D} \Sigma \mathrm{E F} \Gamma \mathrm{G H I J} K L M N O - \Theta \Omega \mathrm{P} \Phi \Pi \Xi \mathtt{Q R S T} U V W X Y \Upsilon \Psi \mathrm{Z}$ +$\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 @@ -142,8 +144,8 @@ $xyz \infty \propto \emptyset y=f(x)$ \textstyle\sum_a^b\int_a^b\prod_a^b~ \displaystyle\sum_a^b\int\limits_a^b\prod_a^b$ \boldmath -$\mathrm{A} \Lambda \Delta \nabla \mathrm{B C D} \Sigma \mathrm{E F} \Gamma \mathrm{G H I J} K L M N O - \Theta \Omega \mathrm{P} \Phi \Pi \Xi \mathtt{Q R S T} U V W X Y \Upsilon \Psi \mathrm{Z}$ +$\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 @@ -284,6 +286,50 @@ Taka Albo tace Usta pęk ucha. \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} @@ -304,6 +350,102 @@ 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} + + + + + + + + %sflining (sflf) or sfoldstyle (sfosf, osfss) %sftabular (sft) or sfproportional (sfp) @@ -457,342 +599,5 @@ 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 \normalfont -\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} - -%$ - \end{document} - - -\subsection{Allgemeine Optionen für die Textschriften} - -Tabelle~\vref{tab:textfeatures} zeigt die Bedeutung der wichtigsten Texteigenschaften, wobei diese -oft über Makros gesteuert werden können, beispielsweise \Macro{textsc} für Kapitälchen (small caps). -Die Beispiele in der Tabelle zeigen die Gegenüberstellung -der Vorgabe (\texttt{on} oder \texttt{off}) und des Gegenteils. - -\noindent -%\begin{table}[!htb] -\begin{xltabular}{\linewidth}{@{}>{\ttfamily}l X c @{}} -\caption{Zusammenstellung einiger Schrifteigenschaften, die über \texttt{RawFeature=+xxxx} zugänglich sind -oder \texttt{RawFeature=-xxxx} abgeschaltet werden können.\label{tab:textfeatures}}\\\toprule -\textrm{\emph{Name}} & \emph{Beschreibung} & \emph{Vorgabe} \\\midrule -dlig & Discretionary Ligatures: Bedingte Ligaturen für Typewriter-Schriften, -beispielsweise {\ttfamily fi -ffi$\leftrightarrow$\addfontfeatures{RawFeature=+dlig}%,StylisticSet=1}% -fi ffi}%(f-Ligatur für Typewriter) -& off \\ -liga & Standardligaturen { fi, ffi$\leftrightarrow$\addfontfeatures{RawFeature=-liga}fi, ffi} & on \\ -onum & Old style numbers {0123456789$\leftrightarrow$\addfontfeatures{RawFeature=+onum}0123456789}& off \\ -smcp & Small Caps {Lucida Bright$\leftrightarrow$\addfontfeatures{RawFeature=+smcp}Lucida Bright}& off \\ -zero & slashed zero {0O$\leftrightarrow$\addfontfeatures{RawFeature=+zero}0O}& off \\ -locl & Script-/Sprachenspezifische Formen (\texttt{Language=Turkish}) {\textsc{Turkish}$\leftrightarrow$% - \addfontfeature{Language=Turkish,RawFeature={+liga,+locl,+smcp}}Turkish} zur Unterscheidung vom »dotless iI: \textsc{\i I}«& on \\ -ss01 & Stylistic Set Nr. 1 {\sffamily0O$\leftrightarrow$\addfontfeatures{StylisticSet=1}0O}& -- \\ -\bottomrule -\end{xltabular} -%\end{table} - - - -\subsection{Allgemeine Optionen für die Mathematikschriften} - -Die mathematische Schrift erlaubt insgesamt fünf verschiedene so genannte Stylistic Sets, -die teilweise nur ein einziges Zeichen ändern. Die Stile lassen sich auch kombinieren; im ersten Fall -werden für \Macro{mathscr} die standardmäßigen Zeichen gewählt, danach diejenige aus dem Stylistic Set 4. -Erreicht wird dies durch Verwendung des optionalen Parameters \texttt{range}, dem man auch einen Makronamen -zuweisen kann. Im folgenden Beispiel wird sowohl \Macro{mathcal} als auch \Macro{mathscr} verwendet, -wobei nur letzteres Makro neu definiert wird: - -\noindent -\begin{lstlisting}[basicstyle=\footnotesize\ttfamily] -\setmathfont{Lucida Bright Math OT} - $\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$\\ - $\mathscr{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$\\ - $\mathscr{abcdefghijklmnopqrstuvwxyz}$\par - \hrulefill\par -\setmathfont[Scale=0.9,StylisticSet=4,range=\mathscr]{Lucida Bright Math OT} - $\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$\\ - $\mathscr{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$\\ - $\mathscr{abcdefghijklmnopqrstuvwxyz}$ -\end{lstlisting} - -\begingroup -\setmathfont[Scale=0.9]{Lucida Bright Math OT} - $\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$\\ - $\mathscr{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$\\ - $\mathscr{abcdefghijklmnopqrstuvwxyz}$\par - \hrulefill\par -\setmathfont[Scale=0.9,StylisticSet=4,range=\mathscr]{Lucida Bright Math OT} - $\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$\\ - $\mathscr{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$\\ - $\mathscr{abcdefghijklmnopqrstuvwxyz}$ - -\endgroup - - - -\def\testmfeature#1#2{% - \setmathfont[RawFeature={+#1},Scale=0.82]{Lucida Bright Math OT}% - $#2$ - \setmathfont[RawFeature={-#1},Scale=0.82]{Lucida Bright Math OT}} - - -\noindent -\begin{tabularx}{\linewidth}{@{} l X @{}} -\caption{Zusammenstellung der verschiedenen möglichen »Stylistic Sets« für die - Mathematikschriften »Regular« und »Demibold«.\label{tab:ss}}\\\toprule -ss01 & Alternative kursive Kleinbuchstaben, die identisch zu den Textzeichen sind. - Die Option ist jedoch nicht empfehlenswert, da der griechische Buchstabe $\nu$ - (Nu) und der lateinische \testmfeature{ss01}{v} (Vau) zu ähnlich sind; - vergleiche mit dem Standardzeichen Vau: $v$.\\ -% -ss02 & Schmalere Pfeile (Original Type\,1 Größe): - \testmfeature{ss02}{\Uparrow} und Standard $\Uparrow$.\\ -% -ss03 & Schmalere Operatoren (Original Type\,1 Größe): - \testmfeature{ss03}{\sum} und Standard $\sum$.\\ -% -ss04 & Kalligrafische Alternative (ähnlich dem Type\,1 - Design) zum mathematischen Script-Alphabet: \newline - {\setmathfont[RawFeature=+ss04,Scale=0.82]{LucidaBrightMathOT}% - $\mathscr{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$\newline - $\mathscr{abcdefghijklmnopqrstuvwxyz}$}\newline - und Standard\newline - {\setmathfont[Scale=0.82]{LucidaBrightMathOT}% - $\mathscr{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$\newline - $\mathscr{abcdefghijklmnopqrstuvwxyz}$} \\ -% -ss05 & Leere Menge als Null mit einem senkrechten Strich darstellen (U+2205):\newline - \testmfeature{ss05}{\emptyset} und Standard - $\emptyset$.\\ -\bottomrule -\end{tabularx} - - -\section{Schreibmaschinenschriften} -Neben der allgemein bekannten Schrift \texttt{Lucida Sans Typewriter}, gibt es im TUG"=Paket -zwei weitere Schreibmaschinenschriften: -\texttt{Lucida Grande Mono DK} und \texttt{Lucida Console DK}, die spezielle Wünsche von Donald Knuth -berücksichtigen. Diese haben die -Glyphen (Großbuchstaben) O und Q in modifizierter, mehr eckiger Form und -die Null nicht mit einem Slash versehen. Die \texttt{Lucida Console DK} hat -daneben etwas kleinere Versalien. - -\noindent -\begin{tabular}{@{} >{\LucidaTT}l >{\LucidaGrande}l >{\LucidaConsole}l @{}}\toprule -\emph{Sans Typewriter} & \emph{Grande Mono} & \emph{ConsoleDK}\\\midrule -OQl 01 & OQl 01 & OQl 01\\\bottomrule -\end{tabular} - - - -\section{Textbeispiele} - -Die Textbeispiele enthalten eine französische, polnische und tschechische Sequenz, um möglichst viele -akzentuierte Zeichen zum Test ausgegeben zu können. Zusätzlich wird am Ende die Auswirkung des Befehls \verb|\textsc| -und die Anwendung von \verb|\addfontfeatures{Numbers={OldStyle}}| gezeigt. Fehlt eine entsprechende Ausgabe, so sind -die Zeichen nicht in der aktuellen Schrift vorhanden. - - - -%Panagramme -\newcommand\demotext{% -%Zornig und gequält rügen jeweils Pontifex und Volk die maßlose bischöfliche Hybris. -%A quick movement of the enemy will jeopardize six gunboats. -Dès Noël où un zéphyr haï me vêt de glaçons würmiens, je dîne d’exquis rôtis de bœuf au kir à l’aÿ d’âge mûr \& cætera! -%Съешь ещё этих мягких французских булок, да выпей же чаю -Chwyć małżonkę, strój bądź pleśń z fugi. -Nechť již hříšné saxofony ďáblů rozezvučí síň úděsnými tóny waltzu, tanga a quickstepu. -0123456789} - - - -\newcommand*\demotextsc{\addfontfeatures{RawFeature=+smcp}\textsc{\ Sphinx of black quartz, judge my vow}.} -\newcommand*\otfoldstylenums{\addfontfeatures{Numbers={OldStyle}}} -\newcommand*\demotextosf{\ \otfoldstylenums0123456789.} - -\newcommand\demo[4][0.82]{% -%\begin{tabularx}{\linewidth}{@{}>{\ttfamily\small}p{1cm} @{\kern3pt} >{\raggedright}X @{}} - % #1 =Scale #2=fontname, #3=commands, #4=text (always start with \demotext) -% \rlap{#2} & \\ -% & \setmainfont{#2}[Scale=#1] #3\demotext %\newline #4 -%\end{tabularx}\par -\begingroup -\texttt{#2} -\list{}{\leftmargin=1cm\rightmargin=0pt\raggedright} -\item \setmainfont{#2}[Scale=#1] #3\demotext #4 -\endlist -\endgroup -} - - -\raggedbottom -\demo{Lucida Bright OT}{}{\demotextosf\newline \demotextsc} -\demo{Lucida Bright OT Italic}{%\addfontfeatures{RawFeature=+smcp} -}{\demotextosf} -\demo{Lucida Bright OT Demibold}{}{\demotextosf\newline \demotextsc} -\demo{Lucida Bright OT Demibold Italic}{}{\demotextosf} -\demo{Lucida Sans OT}{}{} -\demo{Lucida Sans OT Italic}{}{} -\demo{Lucida Sans OT Demibold}{}{} -\demo{Lucida Sans OT Demibold Italic}{}{} -\demo{Lucida Sans Typewriter OT}{}{} -\demo{Lucida Sans Typewriter OT Oblique}{}{} -\demo{Lucida Sans Typewriter OT Bold}{}{} -\demo{Lucida Sans Typewriter OT Bold Oblique}{}{} -\demo{Lucida Grande Mono DK}{}{} -\demo{Lucida Grande Mono DK Italic}{}{} -\demo{Lucida Grande Mono DK Bold}{}{} -\demo{Lucida Grande Mono DK Bold Italic}{}{} -\demo{Lucida Console DK}{}{} -\demo{Lucida Console DK Italic}{}{} -\demo{Lucida Console DK Bold}{}{} -\demo{Lucida Console DK Bold Italic}{}{} -\demo{Lucida Blackletter OT}{}{} -\demo[0.8]{Lucida Calligraphy OT Italic}{}{} -\demo[0.8]{Lucida Handwriting OT Italic}{}{} - - - -\section{Zusammenfassung} -Im Zusammenhang mit \TeX\ kann man nicht mehr von einem »Schriftennotstand« -sprechen; die Anzahl der Schriften ist enorm groß. Dies relativiert -sich, wenn man nicht nur reinen Text, sondern auch mathematische -Ausdrücke in seinen Dokumenten hat und diese einheitlich darstellen möchte. Dann gibt es nur sehr wenig Schriften, die -in den Text- und den Mathematikzeichen aufeinander abgestimmt sind. Die Lucida -ist hier eine lohnenswerte Alternative zu den freien Schriften, wenn man die -Investition nicht scheut, die sich aufgrund der Sonderkonditionen für Mitglieder -einer \TeX"=Nutzergruppe aber in Grenzen hält. - - -%\shorthandoff{"} -%\printbibliography - - - -\end{document} - - - -As mentioned at the beginning, the principal design difference from -\code{LucidaSansTypewriter} is a squarish style for O (oh), Q, and -related characters, and an open, rather than slashed, zero by default. -A few other characters differ as well. - -In addition, the Grande Mono fonts support the WGL4 (Windows -Glyph List) repertoire, thus including Greek and Cyrillic. - -\begingroup -\setmonofont[% temporarily switch - ItalicFont=LucidaGrandeMonoDK-Italic.otf, - BoldFont=LucidaGrandeMonoDK-Bold.otf, - BoldItalicFont=LucidaGrandeMonoDK-BoldItalic.otf, - ]{LucidaGrandeMonoDK.otf} - -\begin{demoquote} -\end{demoquote} -\endgroup - - -\subsection{Samples: Lucida Console DK} -\label{sec.consoledksamples} - -The monospace \code{LucidaConsoleDK} family is available in -the usual four variants; no small caps or oldstyle figures. - -The Console design has shorter capitals than \code{LucidaGrandeMono}, -with the same style of O, Q, 0, and related. The Console fonts also -support WGL4. - -\begingroup -\setmonofont[% temporarily switch - ItalicFont=LucidaConsoleDK-Italic.otf, - BoldFont=LucidaConsoleDK-Bold.otf, - BoldItalicFont=LucidaConsoleDK-BoldItalic.otf, - ]{LucidaConsoleDK.otf} - -\begin{demoquote} -\end{demoquote} -\endgroup - - -\subsection{Samples: Blackletter, Calligraphy, Handwriting} -\label{sec.specialsamples} - -These three specialized text fonts are included: -\code{LucidaBlackletterOT},\\ \code{LucidaCalligraphyOT}, and -\code{LucidaHandwritingOT}. - -\begin{demoquote} -\end{demoquote} - - - -\subsection{Samples: Lucida Bright Math OT} -\label{sec.mathsamples} - -Finally, two OpenType math fonts are provided: -\code{LucidaBrightMathOT} and \code{LucidaBrightMathOT-Demi}. The -\code{-Demi} variant has bold letters in the normal positions, to be -used for typesetting math within bold text, such as section headings. -This is distinct from the math characters which are specified as bold in -Unicode for specific semantics; those are bold in both math fonts. - -$$e^{i \pi} + 1 = 0 \eqno{\mbox{\small \code{LucidaBrightMathOT}}}$$ -% -% workaround for older unicode-math: reset the main math font to bold. -\setmathfont{LucidaBrightMathOT-Demi.otf} -$$e^{i \pi} + 1 = 0 \eqno{\mbox{\small \code{LucidaBrightMathOT-Demi}}}$$ - -% and then reset the math font back to normal: -\setmathfont{LucidaBrightMathOT.otf} - -The above are the Lucida OpenType fonts available from TUG. Many -additional fonts are available directly from B\&H: see -\url{lucidafonts.com}. - - - - -\end{document} - - - -% - diff --git a/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty b/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty index 3580eb3ae96..dd3e4df6a14 100644 --- a/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty +++ b/Master/texmf-dist/tex/latex/libertinus-otf/libertinus-otf.sty @@ -1,4 +1,4 @@ -%% $Id: libertinus-otf.sty 770 2018-06-13 14:22:56Z herbert $ +%% $Id: libertinus-otf.sty 775 2018-07-03 09:33:51Z 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,32 +8,29 @@ % Copyright 2018 Herbert Voss hvoss@tug.org % \ProvidesPackage{libertinus-otf}[% - 2018/06/12 v. 0.07a (Herbert Voss) Supports libertinus fonts for all luatex/xetex .] + 2018/07/03 v. 0.08 (Herbert Voss) Supports libertinus fonts for all luatex/xetex .] \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} \RequirePackage{unicode-math} -\newif\iflibertinus@lining \libertinus@liningtrue -\newif\ifbiolinum@lining \biolinum@liningtrue +\newif\iflibertinus@lining \libertinus@liningtrue \newif\iflibertinus@tabular \libertinus@tabulartrue -\newif\ifbiolinum@tabular \biolinum@tabulartrue \newif\iflibertinus@semibold \libertinus@semiboldfalse \DeclareOptionX{lining}[true]{\@nameuse{libertinus@lining#1}} -\DeclareOptionX{nf}[true]{% - \@nameuse{libertinus@lining#1} - \iflibertinus@lining\libertinus@newfigdefaults\fi -} -\DeclareOptionX{lf}[true]{\iflibertinus@lining\libertinus@newfigdefaults\fi} -\DeclareOptionX{oldstyle}[true]{\iflibertinus@lining\libertinus@newfigdefaults\fi} -\DeclareOptionX{osf}[true]{\iflibertinus@lining\libertinus@newfigdefaults\fi} -\DeclareOptionX{tabular}[true]{\iflibertinus@tabular\libertinus@newfigdefaults\fi} -\DeclareOptionX{t}[true]{\iflibertinus@tabular\libertinus@newfigdefaults\fi} -\DeclareOptionX{proportional}[true]{\iflibertinus@tabular\libertinus@newfigdefaults\fi} -\DeclareOptionX{p}[true]{\iflibertinus@tabular\libertinus@newfigdefaults\fi} +\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{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]{\libertinus@semiboldfalse\else\libertinus@semiboldtrue\fi} +\DeclareOptionX{bold}[true]{\@nameuse{if#1}\libertinus@semiboldfalse\else\libertinus@semiboldtrue\fi} \newcommand*\libertinusRM@scale{1} \newcommand*\libertinusDisplayT@scale{1} @@ -62,9 +59,9 @@ \fi \iflibertinus@semibold - \def\libertinus@boldstyle{bold} + \def\libertinus@boldstyle{semibold} \else - \def\libertinus@boldstyle{semibold} + \def\libertinus@boldstyle{bold} \fi @@ -75,7 +72,7 @@ \libertinus@defaultfeatures } \setmainfont{libertinusserif}[ -% Numbers = {%\libertinus@figurealign,\libertinus@figurestyle}, + Numbers = {\libertinus@figurealign,\libertinus@figurestyle}, Scale = \libertinusRM@scale , UprightFont = *-regular, ItalicFont = *-italic, @@ -85,7 +82,7 @@ Extension = .otf ] \setsansfont{libertinussans}[ -% Numbers = {\libertinus@figurealign, \libertinus@figurestyle} , + Numbers = {\libertinus@figurealign, \libertinus@figurestyle} , Scale = \libertinusSF@scale , UprightFont = *-regular, ItalicFont = *-italic, -- cgit v1.2.3