diff options
author | Karl Berry <karl@freefriends.org> | 2017-11-29 22:06:59 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-11-29 22:06:59 +0000 |
commit | 86f9ebd65ed31beb87a5f088a57a787aa80ad8cb (patch) | |
tree | aa0fa21a811f6f02e5477791ce0e386ae2c9c526 /Master | |
parent | 46f16e177b9b567c95e3d151acd368eed19a3c70 (diff) |
plex-otf (29nov17)
git-svn-id: svn://tug.org/texlive/trunk@45939 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
17 files changed, 131 insertions, 40 deletions
diff --git a/Master/texmf-dist/doc/fonts/plex-otf/Changes b/Master/texmf-dist/doc/fonts/plex-otf/Changes index cc275f40b38..e5ac4d6c180 100644 --- a/Master/texmf-dist/doc/fonts/plex-otf/Changes +++ b/Master/texmf-dist/doc/fonts/plex-otf/Changes @@ -1 +1,3 @@ +0.05 2017-11-29 - added slshape with FakeSlant +0.04 2017-11-26 - added Makros 0.03 2017-11-22 - first CTAN version diff --git a/Master/texmf-dist/doc/fonts/plex-otf/README.md b/Master/texmf-dist/doc/fonts/plex-otf/README.md index 7539930b6d5..45bb74ada4b 100644 --- a/Master/texmf-dist/doc/fonts/plex-otf/README.md +++ b/Master/texmf-dist/doc/fonts/plex-otf/README.md @@ -9,3 +9,8 @@ and/or plex-serif. IBM Plex has no math symbols. You have to use one the existing math fonts if you need it. + + +%% 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. diff --git a/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-1.tex b/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-1.tex index c5d94431bc1..5ab7cd071df 100644 --- a/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-1.tex +++ b/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-1.tex @@ -1,7 +1,7 @@ \documentclass{article} \pagestyle{empty} %StartVisiblePreamble -\usepackage{plex-otf} +\usepackage[DefaultFeatures={Scale=0.94}]{plex-otf} %StopVisiblePreamble \begin{document} {\addfontfeature{VerticalPosition=Superior} diff --git a/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-10.tex b/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-10.tex index 48bf31f8c60..976645b0db6 100644 --- a/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-10.tex +++ b/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-10.tex @@ -1,10 +1,11 @@ \documentclass{article} +\usepackage[a4paper]{geometry} \usepackage[ngerman]{babel} \usepackage[autostyle]{csquotes} \pagestyle{empty} \usepackage{demotext0} %StartVisiblePreamble -\usepackage[usefilenames, +\usepackage[DefaultFeatures={Scale=0.94}, RMstyle={Text,Semibold}, SSstyle={Text,Semibold}, TTstyle={Text,Semibold}]{plex-otf} diff --git a/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-11.tex b/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-11.tex index 8f15a721aa7..fd004561aa0 100644 --- a/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-11.tex +++ b/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-11.tex @@ -1,10 +1,11 @@ \documentclass{article} +\usepackage[a4paper]{geometry} \usepackage[ngerman]{babel} \usepackage[autostyle]{csquotes} \usepackage{demotext2} \pagestyle{empty} %StartVisiblePreamble -\usepackage[usefilenames, +\usepackage[DefaultFeatures={Scale=0.94}, RMSCfont=texgyretermes, SSSCfont=texgyreheros]{plex-otf} %StopVisiblePreamble diff --git a/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-2.tex b/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-2.tex index b15e8aa05cc..72333992c94 100644 --- a/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-2.tex +++ b/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-2.tex @@ -1,7 +1,8 @@ \documentclass{article} +\usepackage[a4paper]{geometry} \pagestyle{empty} %StartVisiblePreamble -\usepackage[usefilenames]{plex-otf} +\usepackage[DefaultFeatures={Scale=0.94}]{plex-otf} %StopVisiblePreamble \begin{document} 1/3 2/3 1/5 2/5 \ldots \par diff --git a/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-3.tex b/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-3.tex index 0f5d8bfc190..ccbbaaac7b9 100644 --- a/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-3.tex +++ b/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-3.tex @@ -1,10 +1,11 @@ \documentclass{article} +\usepackage[a4paper]{geometry} \usepackage[ngerman]{babel} \usepackage[autostyle]{csquotes} \newcommand\demo{Some text in the default font style IBM Plex Serif } \pagestyle{empty} %StartVisiblePreamble -\usepackage{plex-otf} +\usepackage[DefaultFeatures={Scale=0.94}]{plex-otf} %StopVisiblePreamble \begin{document} \demo\ Regular\par {\PlexTextRM\demo\ Text\par} {\PlexLightRM\demo\ Light\par} diff --git a/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-4.tex b/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-4.tex index b58e94fb50a..4c4b9b5905c 100644 --- a/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-4.tex +++ b/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-4.tex @@ -1,10 +1,11 @@ \documentclass{article} +\usepackage[a4paper]{geometry} \usepackage[ngerman]{babel} \usepackage[autostyle]{csquotes} \usepackage{demotext0} \pagestyle{empty} %StartVisiblePreamble -\usepackage[usefilenames]{plex-otf} +\usepackage[DefaultFeatures={Scale=0.94}]{plex-otf} %StopVisiblePreamble \begin{document} \blindtext diff --git a/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-5.tex b/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-5.tex index 7bfbcfbe251..f40c826fba1 100644 --- a/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-5.tex +++ b/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-5.tex @@ -1,10 +1,11 @@ \documentclass{article} +\usepackage[a4paper]{geometry} \usepackage[ngerman]{babel} \usepackage[autostyle]{csquotes} \pagestyle{empty} \usepackage{demotext0} %StartVisiblePreamble -\usepackage[usefilenames, +\usepackage[DefaultFeatures={Scale=0.94}, RMstyle=Semibold, SSstyle=Semibold, TTstyle=Semibold]{plex-otf} diff --git a/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-6.tex b/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-6.tex index 01286b05725..9de7db805b5 100644 --- a/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-6.tex +++ b/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-6.tex @@ -1,10 +1,11 @@ \documentclass{article} +\usepackage[a4paper]{geometry} \usepackage[ngerman]{babel} \usepackage[autostyle]{csquotes} \pagestyle{empty} \usepackage{demotext1} %StartVisiblePreamble -\usepackage[usefilenames, +\usepackage[DefaultFeatures={Scale=0.94}, RMstyle=Thin, SSstyle=Thin, TTstyle=Thin]{plex-otf} diff --git a/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-7.tex b/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-7.tex index 75ea88097f8..5122e3786e4 100644 --- a/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-7.tex +++ b/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-7.tex @@ -1,10 +1,11 @@ \documentclass{article} +\usepackage[a4paper]{geometry} \usepackage[ngerman]{babel} \usepackage[autostyle]{csquotes} \pagestyle{empty} \usepackage{demotext1} %StartVisiblePreamble -\usepackage[usefilenames, +\usepackage[DefaultFeatures={Scale=0.94}, RMstyle=ExtraLight, SSstyle=ExtraLight, TTstyle=ExtraLight]{plex-otf} diff --git a/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-8.tex b/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-8.tex index 1fd77c4b5af..68f77d2590c 100644 --- a/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-8.tex +++ b/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-8.tex @@ -1,10 +1,11 @@ \documentclass{article} +\usepackage[a4paper]{geometry} \usepackage[ngerman]{babel} \usepackage[autostyle]{csquotes} \pagestyle{empty} \usepackage{demotext1} %StartVisiblePreamble -\usepackage[usefilenames, +\usepackage[DefaultFeatures={Scale=0.94}, RMstyle=Light, SSstyle=Light, TTstyle=Light]{plex-otf} diff --git a/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-9.tex b/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-9.tex index 5eda16583f3..ed37d4aa1fd 100644 --- a/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-9.tex +++ b/Master/texmf-dist/doc/fonts/plex-otf/examples/plex-otf-9.tex @@ -1,10 +1,11 @@ \documentclass{article} +\usepackage[a4paper]{geometry} \usepackage[ngerman]{babel} \usepackage[autostyle]{csquotes} \pagestyle{empty} \usepackage{demotext0} %StartVisiblePreamble -\usepackage[usefilenames, +\usepackage[DefaultFeatures={Scale=0.94}, RMstyle={Medium,Semibold}, SSstyle={Medium,Semibold}, TTstyle={Medium,Semibold}]{plex-otf} diff --git a/Master/texmf-dist/doc/fonts/plex-otf/plex-otf-doc.fonts b/Master/texmf-dist/doc/fonts/plex-otf/plex-otf-doc.fonts index 5fc67da3567..4128ebbc085 100644 --- a/Master/texmf-dist/doc/fonts/plex-otf/plex-otf-doc.fonts +++ b/Master/texmf-dist/doc/fonts/plex-otf/plex-otf-doc.fonts @@ -1,7 +1,7 @@ CMSY10 Type 1 Builtin +IBMPlexMono CID Type 0C IBMPlexMono-Bold CID Type 0C IBMPlexMono-BoldItalic CID Type 0C -IBMPlexMono CID Type 0C IBMPlexMono-ExtraLight CID Type 0C IBMPlexMono-ExtraLightItalic CID Type 0C IBMPlexMono-Italic CID Type 0C @@ -15,9 +15,9 @@ IBMPlexMono-Text CID Type 0C IBMPlexMono-TextItalic CID Type 0C IBMPlexMono-Thin CID Type 0C IBMPlexMono-ThinItalic CID Type 0C +IBMPlexSans CID Type 0C IBMPlexSans-Bold CID Type 0C IBMPlexSans-BoldItalic CID Type 0C -IBMPlexSans CID Type 0C IBMPlexSans-ExtraLight CID Type 0C IBMPlexSans-ExtraLightItalic CID Type 0C IBMPlexSans-Italic CID Type 0C @@ -31,9 +31,9 @@ IBMPlexSans-Text CID Type 0C IBMPlexSans-TextItalic CID Type 0C IBMPlexSans-Thin CID Type 0C IBMPlexSans-ThinItalic CID Type 0C +IBMPlexSerif CID Type 0C IBMPlexSerif-Bold CID Type 0C IBMPlexSerif-BoldItalic CID Type 0C -IBMPlexSerif CID Type 0C IBMPlexSerif-ExtraLight CID Type 0C IBMPlexSerif-ExtraLightItalicPS CID Type 0C IBMPlexSerif-Italic CID Type 0C diff --git a/Master/texmf-dist/doc/fonts/plex-otf/plex-otf-doc.pdf b/Master/texmf-dist/doc/fonts/plex-otf/plex-otf-doc.pdf Binary files differindex bb9e70842bf..9179b376f69 100644 --- a/Master/texmf-dist/doc/fonts/plex-otf/plex-otf-doc.pdf +++ b/Master/texmf-dist/doc/fonts/plex-otf/plex-otf-doc.pdf diff --git a/Master/texmf-dist/doc/fonts/plex-otf/plex-otf-doc.tex b/Master/texmf-dist/doc/fonts/plex-otf/plex-otf-doc.tex index f81840fd000..36aeef1034d 100644 --- a/Master/texmf-dist/doc/fonts/plex-otf/plex-otf-doc.tex +++ b/Master/texmf-dist/doc/fonts/plex-otf/plex-otf-doc.tex @@ -1,4 +1,4 @@ -%% $Id: plex-otf-doc.tex 653 2017-11-22 19:55:12Z herbert $ +%% $Id: plex-otf-doc.tex 654 2017-11-22 21:04:12Z herbert $ % % Copying and distribution of this file, with or without modification, % are permitted in any medium, without royalty. @@ -7,8 +7,7 @@ \documentclass[fontsize=11pt,paper=a4,twoside=on,DIV=13]{scrartcl} %\usepackage[a4paper,twoside]{geometry} -\usepackage[usefilenames, - RM={Scale=0.94}, +\usepackage[RM={Scale=0.94}, SS={Scale=0.94}, TT={Scale=MatchLowercase,FakeStretch=0.9}, DefaultFeatures={Ligatures=TeX}]{plex-otf} @@ -93,13 +92,17 @@ end \noindent \ifcase\thefamcnt \CMD{rmfamily }\or \CMD{sffamily }\or\CMD{ttfamily }\fi \CMD{normalfont}: -Sphinx of black quartz judge my vow. 01234567890\par +Sphinx of black quartz judge my vow.\par \CMD{bfseries}: {\bfseries Voyez le brick géant que j’examine près du wharf.\par} \CMD{itshape}: {\itshape Vom Ödipuskomplex maßlos gequält, übt Wilfried zyklisches Jodeln.\par} +\CMD{slshape}: +{\slshape Vom Ödipuskomplex maßlos gequält, übt Wilfried zyklisches Jodeln.\par} \CMD{bfseries\textbackslash itshape}: -{\bfseries\itshape Pójdźże, kiń tę chmurność w głąb flaszy!\par}\medskip +{\bfseries\itshape Pójdźże, kiń tę chmurność w głąb flaszy!\par} +\CMD{bfseries\textbackslash slshape}: +{\bfseries\slshape Pójdźże, kiń tę chmurność w głąb flaszy!\par}\medskip \stepcounter{famcnt}}} \end{filecontents*} @@ -113,9 +116,12 @@ Sphinx of black quartz judge my vow. 01234567890\par \noindent \ifcase\thefamcnt \CMD{rmfamily }\or \CMD{sffamily }\or\CMD{ttfamily }\fi \CMD{normalfont}: -Sphinx of black quartz judge my vow. 01234567890 \par +Sphinx of black quartz judge my vow. \par \CMD{itshape}: -{\itshape Vom Ödipuskomplex maßlos gequält, übt Wilfried zyklisches Jodeln.\par}\medskip +{\itshape Vom Ödipuskomplex maßlos gequält, übt Wilfried zyklisches Jodeln.\par} +\CMD{slshape}: +{\slshape Vom Ödipuskomplex maßlos gequält, übt Wilfried zyklisches Jodeln.\par} +\medskip \stepcounter{famcnt}}} \end{filecontents*} @@ -129,7 +135,7 @@ Sphinx of black quartz judge my vow. 01234567890 \par \noindent \ifcase\thefamcnt \CMD{rmfamily }\or \CMD{sffamily }\or\CMD{ttfamily }\fi \CMD{normalfont}: -Sphinx of black quartz judge my vow. 01234567890 +Sphinx of black quartz judge my vow. \ifnum\thefamcnt<2 \textsc{Sphinx of black quartz judge my vow.}\fi\par \CMD{bfseries}: {\bfseries Voyez le brick géant que j’examine près du wharf. @@ -137,9 +143,11 @@ Sphinx of black quartz judge my vow. 01234567890 \CMD{itshape}: {\itshape Vom Ödipuskomplex maßlos gequält, übt Wilfried zyklisches Jodeln. \ifnum\thefamcnt<2 \textsc{Vom Ödipuskomplex maßlos gequält, übt Wilfried zyklisches Jodeln.}\fi\par} +{\slshape Vom Ödipuskomplex maßlos gequält, übt Wilfried zyklisches Jodeln.\par} \CMD{bfseries\textbackslash itshape}: {\bfseries\itshape Pójdźże, kiń tę chmurność w głąb flaszy! \ifnum\thefamcnt<2 \textsc{Pójdźże, kiń tę chmurność w głąb flaszy!}\fi\par} +{\bfseries\slshape Vom Ödipuskomplex maßlos gequält, übt Wilfried zyklisches Jodeln.\par} \stepcounter{famcnt}}} \end{filecontents*} @@ -303,7 +311,7 @@ It is available with \verb|\SS|$\rightarrow$\SS \documentclass{article} \pagestyle{empty} %StartVisiblePreamble -\usepackage{plex-otf} +\usepackage[DefaultFeatures={Scale=0.94}]{plex-otf} %StopVisiblePreamble \begin{document} {\addfontfeature{VerticalPosition=Superior} @@ -333,9 +341,10 @@ Scientific Inferior: 1234567890 align=\centering, ]{plex-otf} \documentclass{article} +\usepackage[a4paper]{geometry} \pagestyle{empty} %StartVisiblePreamble -\usepackage[usefilenames]{plex-otf} +\usepackage[DefaultFeatures={Scale=0.94}]{plex-otf} %StopVisiblePreamble \begin{document} 1/3 2/3 1/5 2/5 \ldots \par @@ -414,12 +423,13 @@ SemiBold & Bold, BoldItalic align=\centering, ]{plex-otf} \documentclass{article} +\usepackage[a4paper]{geometry} \usepackage[ngerman]{babel} \usepackage[autostyle]{csquotes} \newcommand\demo{Some text in the default font style IBM Plex Serif } \pagestyle{empty} %StartVisiblePreamble -\usepackage{plex-otf} +\usepackage[DefaultFeatures={Scale=0.94}]{plex-otf} %StopVisiblePreamble \begin{document} \demo\ Regular\par {\PlexTextRM\demo\ Text\par} {\PlexLightRM\demo\ Light\par} @@ -459,18 +469,20 @@ By default the Plex font family has no small caps and no special slanted version align=\centering, ]{plex-otf} \documentclass{article} +\usepackage[a4paper]{geometry} \usepackage[ngerman]{babel} \usepackage[autostyle]{csquotes} \usepackage{demotext0} \pagestyle{empty} %StartVisiblePreamble -\usepackage[usefilenames]{plex-otf} +\usepackage[DefaultFeatures={Scale=0.94}]{plex-otf} %StopVisiblePreamble \begin{document} \blindtext \end{document} \end{externalDocument} +\newpage \subsection{Semibold} @@ -486,12 +498,13 @@ By default the Plex font family has no small caps and no special slanted version align=\centering, ]{plex-otf} \documentclass{article} +\usepackage[a4paper]{geometry} \usepackage[ngerman]{babel} \usepackage[autostyle]{csquotes} \pagestyle{empty} \usepackage{demotext0} %StartVisiblePreamble -\usepackage[usefilenames, +\usepackage[DefaultFeatures={Scale=0.94}, RMstyle=Semibold, SSstyle=Semibold, TTstyle=Semibold]{plex-otf} @@ -520,12 +533,13 @@ This makes only sense with the the \verb|Semibold| feature or not using bold cha align=\centering, ]{plex-otf} \documentclass{article} +\usepackage[a4paper]{geometry} \usepackage[ngerman]{babel} \usepackage[autostyle]{csquotes} \pagestyle{empty} \usepackage{demotext1} %StartVisiblePreamble -\usepackage[usefilenames, +\usepackage[DefaultFeatures={Scale=0.94}, RMstyle=Thin, SSstyle=Thin, TTstyle=Thin]{plex-otf} @@ -557,12 +571,13 @@ This makes only sense with the the \verb|Semibold| feature or not using bold cha align=\centering, ]{plex-otf} \documentclass{article} +\usepackage[a4paper]{geometry} \usepackage[ngerman]{babel} \usepackage[autostyle]{csquotes} \pagestyle{empty} \usepackage{demotext1} %StartVisiblePreamble -\usepackage[usefilenames, +\usepackage[DefaultFeatures={Scale=0.94}, RMstyle=ExtraLight, SSstyle=ExtraLight, TTstyle=ExtraLight]{plex-otf} @@ -589,12 +604,13 @@ This makes only sense with the the \verb|Semibold| feature or not using bold cha align=\centering, ]{plex-otf} \documentclass{article} +\usepackage[a4paper]{geometry} \usepackage[ngerman]{babel} \usepackage[autostyle]{csquotes} \pagestyle{empty} \usepackage{demotext1} %StartVisiblePreamble -\usepackage[usefilenames, +\usepackage[DefaultFeatures={Scale=0.94}, RMstyle=Light, SSstyle=Light, TTstyle=Light]{plex-otf} @@ -604,6 +620,7 @@ This makes only sense with the the \verb|Semibold| feature or not using bold cha \end{document} \end{externalDocument} +\newpage \subsection{Medium} @@ -622,12 +639,13 @@ This makes sense with the the \verb|Semibold| feature. align=\centering, ]{plex-otf} \documentclass{article} +\usepackage[a4paper]{geometry} \usepackage[ngerman]{babel} \usepackage[autostyle]{csquotes} \pagestyle{empty} \usepackage{demotext0} %StartVisiblePreamble -\usepackage[usefilenames, +\usepackage[DefaultFeatures={Scale=0.94}, RMstyle={Medium,Semibold}, SSstyle={Medium,Semibold}, TTstyle={Medium,Semibold}]{plex-otf} @@ -637,7 +655,7 @@ This makes sense with the the \verb|Semibold| feature. \end{document} \end{externalDocument} - +\newpage \subsection{Text} @@ -655,12 +673,13 @@ This makes sense with the the \verb|Semibold| feature. align=\centering, ]{plex-otf} \documentclass{article} +\usepackage[a4paper]{geometry} \usepackage[ngerman]{babel} \usepackage[autostyle]{csquotes} \pagestyle{empty} \usepackage{demotext0} %StartVisiblePreamble -\usepackage[usefilenames, +\usepackage[DefaultFeatures={Scale=0.94}, RMstyle={Text,Semibold}, SSstyle={Text,Semibold}, TTstyle={Text,Semibold}]{plex-otf} @@ -707,12 +726,13 @@ then you have to define all combinations yourself align=\centering, ]{plex-otf} \documentclass{article} +\usepackage[a4paper]{geometry} \usepackage[ngerman]{babel} \usepackage[autostyle]{csquotes} \usepackage{demotext2} \pagestyle{empty} %StartVisiblePreamble -\usepackage[usefilenames, +\usepackage[DefaultFeatures={Scale=0.94}, RMSCfont=texgyretermes, SSSCfont=texgyreheros]{plex-otf} %StopVisiblePreamble @@ -738,12 +758,13 @@ then you have to define all combinations yourself align=\centering, ]{plex-otf} \documentclass{article} +\usepackage[a4paper]{geometry} \usepackage[ngerman]{babel} \usepackage[autostyle]{csquotes} \usepackage{demotext0} \pagestyle{empty} %StartVisiblePreamble -\usepackage[usefilenames, +\usepackage[DefaultFeatures={Scale=0.94}, RM={Numbers=OldStyle}, SS={Numbers=Lining}]{plex-otf} %StopVisiblePreamble diff --git a/Master/texmf-dist/tex/latex/plex-otf/plex-otf.sty b/Master/texmf-dist/tex/latex/plex-otf/plex-otf.sty index cfb1945172f..aac581cc7be 100644 --- a/Master/texmf-dist/tex/latex/plex-otf/plex-otf.sty +++ b/Master/texmf-dist/tex/latex/plex-otf/plex-otf.sty @@ -1,4 +1,4 @@ -%% $Id: plex-otf.sty 653 2017-11-22 19:55:12Z herbert $ +%% $Id: plex-otf.sty 662 2017-11-28 20:56:40Z herbert $ %% %% This file is distributed under the terms of the LaTeX Project Public %% License from CTAN archives in directory macros/latex/base/lppl.txt. @@ -7,7 +7,7 @@ % Copyright 2017 Herbert Voss hvoss@tug.org %% \ProvidesPackage{plex-otf}[% - 2017/11/22 v. 0.03 (Herbert Voss) Supports plex OpenType for lualatex/xelatex.] + 2017/11/29 v. 0.05 (Herbert Voss) Supports plex OpenType for lualatex/xelatex.] % \RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} \RequirePackage{fontspec} @@ -132,9 +132,18 @@ BoldFont = *-\Plex@RMboldstyle, ItalicFont = *-\Plex@RMstyle Italic, BoldItalicFont = *-\Plex@RMboldstyle Italic, + SlantedFont = *-\Plex@RMstyle Italic, % Scale = 0.92, \PlexRM@features, ] + \newfontfamily\slshapeRM{IBMPlexSerif}[% + Extension = .otf, + FakeSlant = 0.2, + UprightFont = *-\Plex@@Weight, + BoldFont = *-\Plex@RMboldstyle, + \PlexRM@features, + ] +% \newfontfamily\PlexExtraLightRM{IBMPlexSerif}[% \PlexRM@features, Extension = .otf, @@ -182,9 +191,19 @@ BoldFont = *-\Plex@SSboldstyle, ItalicFont = *-\Plex@SSstyle Italic, BoldItalicFont = *-\Plex@SSboldstyle Italic, + SlantedFont = *-\Plex@SSstyle Italic, % Scale = 0.92, \PlexSS@features, ] +% + \newfontfamily\slshapeSS{IBMPlexSans}[% + Extension = .otf, + FakeSlant = 0.2, + UprightFont = *-\Plex@@Weight, + BoldFont = *-\Plex@SSboldstyle, + \PlexSS@features, + ] +% \newfontfamily\PlexExtraLightSS{IBMPlexSans}[% \PlexSS@features, Extension = .otf, @@ -232,8 +251,16 @@ BoldFont = *-\Plex@TTboldstyle, ItalicFont = *-\Plex@TTstyle Italic, BoldItalicFont = *-\Plex@TTboldstyle Italic, + SlantedFont = *-\Plex@TTstyle Italic, \PlexTT@features, ] + \newfontfamily\slshapeTT{IBMPlexMono}[% + Extension = .otf, + FakeSlant = 0.2, + UprightFont = *-\Plex@@Weight, + BoldFont = *-\Plex@TTboldstyle, + \PlexTT@features, + ] \newfontfamily\PlexExtraLightTT{IBMPlexMono}[% Extension = .otf, UprightFont= *-ExtraLight, @@ -284,7 +311,14 @@ BoldFont = * \Plex@RMboldstyle, ItalicFont = * \Plex@RMstyle Italic, BoldItalicFont = * \Plex@RMboldstyle Italic, - Scale = 0.92, + SlantedFont = *-\Plex@RMstyle Italic, +% Scale = 0.92, + \PlexRM@features, + ] + \newfontfamily\slshapeRM{IBMPlexSans}[% + FakeSlant = 0.2, + UprightFont = * \Plex@@Weight, + BoldFont = * \Plex@RMboldstyle, \PlexRM@features, ] \newfontfamily\PlexExtraLightRM{IBM Plex Serif}[% @@ -328,7 +362,14 @@ BoldFont = * \Plex@SSboldstyle, ItalicFont = * \Plex@SSstyle Italic, BoldItalicFont = * \Plex@SSboldstyle Italic, - Scale = 0.92, + SlantedFont = *-\Plex@SSstyle Italic, +% Scale = 0.92, + \PlexSS@features, + ] + \newfontfamily\slshapeSS{IBMPlexSans}[% + FakeSlant = 0.2, + UprightFont = * \Plex@@Weight, + BoldFont = * \Plex@SSboldstyle, \PlexSS@features, ] \newfontfamily\PlexExtraLightSS{IBM Plex Sans}[% @@ -372,7 +413,14 @@ BoldFont = * \Plex@TTboldstyle, ItalicFont = * \Plex@TTstyle Italic, BoldItalicFont = * \Plex@TTboldstyle Italic, - Scale = 0.92, + SlantedFont = *-\Plex@TTstyle Italic, +% Scale = 0.92, + \PlexTT@features, + ] + \newfontfamily\slshapeTT{IBMPlexMono}[% + FakeSlant = 0.2, + UprightFont = * \Plex@@Weight, + BoldFont = * \Plex@TTboldstyle, \PlexTT@features, ] \newfontfamily\PlexExtraLightTT{IBM Plex Mono}[% @@ -410,6 +458,11 @@ % \fi% end \ifPlex@usefilenames +\DeclareTextFontCommand{\textsl}{\ifx\f@family\rmdefault\slshapeRM\else\slshapeSS\fi} +\DeclareRobustCommand\slshape + {\not@math@alphabet\slshape\relax + \ifx\f@family\rmdefault\slshapeRM\else\ifx\f@family\sfdefault\slshapeSS\else\slshapeTT\fi\fi} + %Define some special Characters \providecommand\IBM[1][0]{\ifcase#1 \symbol{"EBE1}\or |