From 2007afba85fda62764b07053de91cd8bd8995e36 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 23 Nov 2017 21:05:40 +0000 Subject: plex-otf (23nov17) git-svn-id: svn://tug.org/texlive/trunk@45892 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/fonts/plex-otf/Changes | 1 + Master/texmf-dist/doc/fonts/plex-otf/README.md | 11 + .../doc/fonts/plex-otf/doc/examples/plex-otf-1.tex | 15 + .../fonts/plex-otf/doc/examples/plex-otf-10.tex | 14 + .../fonts/plex-otf/doc/examples/plex-otf-11.tex | 13 + .../doc/fonts/plex-otf/doc/examples/plex-otf-2.tex | 11 + .../doc/fonts/plex-otf/doc/examples/plex-otf-3.tex | 12 + .../doc/fonts/plex-otf/doc/examples/plex-otf-4.tex | 11 + .../doc/fonts/plex-otf/doc/examples/plex-otf-5.tex | 14 + .../doc/fonts/plex-otf/doc/examples/plex-otf-6.tex | 14 + .../doc/fonts/plex-otf/doc/examples/plex-otf-7.tex | 14 + .../doc/fonts/plex-otf/doc/examples/plex-otf-8.tex | 14 + .../doc/fonts/plex-otf/doc/examples/plex-otf-9.tex | 14 + .../doc/fonts/plex-otf/doc/plex-otf-doc.bib | 28 + .../doc/fonts/plex-otf/doc/plex-otf-doc.fonts | 58 ++ .../doc/fonts/plex-otf/doc/plex-otf-doc.pdf | Bin 0 -> 536572 bytes .../doc/fonts/plex-otf/doc/plex-otf-doc.tex | 777 +++++++++++++++++++++ .../doc/fonts/plex-otf/latex/plex-otf.sty | 482 +++++++++++++ 18 files changed, 1503 insertions(+) create mode 100644 Master/texmf-dist/doc/fonts/plex-otf/Changes create mode 100644 Master/texmf-dist/doc/fonts/plex-otf/README.md create mode 100644 Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-1.tex create mode 100644 Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-10.tex create mode 100644 Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-11.tex create mode 100644 Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-2.tex create mode 100644 Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-3.tex create mode 100644 Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-4.tex create mode 100644 Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-5.tex create mode 100644 Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-6.tex create mode 100644 Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-7.tex create mode 100644 Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-8.tex create mode 100644 Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-9.tex create mode 100644 Master/texmf-dist/doc/fonts/plex-otf/doc/plex-otf-doc.bib create mode 100644 Master/texmf-dist/doc/fonts/plex-otf/doc/plex-otf-doc.fonts create mode 100644 Master/texmf-dist/doc/fonts/plex-otf/doc/plex-otf-doc.pdf create mode 100644 Master/texmf-dist/doc/fonts/plex-otf/doc/plex-otf-doc.tex create mode 100644 Master/texmf-dist/doc/fonts/plex-otf/latex/plex-otf.sty (limited to 'Master/texmf-dist/doc/fonts/plex-otf') diff --git a/Master/texmf-dist/doc/fonts/plex-otf/Changes b/Master/texmf-dist/doc/fonts/plex-otf/Changes new file mode 100644 index 00000000000..cc275f40b38 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/plex-otf/Changes @@ -0,0 +1 @@ +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 new file mode 100644 index 00000000000..7539930b6d5 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/plex-otf/README.md @@ -0,0 +1,11 @@ +# README # +Package plex-otf supports the free otf-fonts from +the IBM Plex project which is available from GitHub +or already part of your system (Windows/Linux/...) + +This package supports only XeLaTeX or LuaLateX, +for pdfLaTeX use the package plex-mono, plex-sans +and/or plex-serif. + +IBM Plex has no math symbols. You have to use one +the existing math fonts if you need it. diff --git a/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-1.tex b/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-1.tex new file mode 100644 index 00000000000..c5d94431bc1 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-1.tex @@ -0,0 +1,15 @@ +\documentclass{article} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage{plex-otf} +%StopVisiblePreamble +\begin{document} +{\addfontfeature{VerticalPosition=Superior} +Superior: 1234567890\par} +{\addfontfeatures{VerticalPosition=Numerator} +Numerator: 1234567890\par} +{\addfontfeatures{VerticalPosition=Denominator} +Denominator: 1234567890\par} +\addfontfeatures{VerticalPosition=ScientificInferior} +Scientific Inferior: 1234567890 +\end{document} diff --git a/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-10.tex b/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-10.tex new file mode 100644 index 00000000000..48bf31f8c60 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-10.tex @@ -0,0 +1,14 @@ +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\pagestyle{empty} +\usepackage{demotext0} +%StartVisiblePreamble +\usepackage[usefilenames, + RMstyle={Text,Semibold}, + SSstyle={Text,Semibold}, + TTstyle={Text,Semibold}]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} diff --git a/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-11.tex b/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-11.tex new file mode 100644 index 00000000000..8f15a721aa7 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-11.tex @@ -0,0 +1,13 @@ +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\usepackage{demotext2} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[usefilenames, + RMSCfont=texgyretermes, + SSSCfont=texgyreheros]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} diff --git a/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-2.tex b/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-2.tex new file mode 100644 index 00000000000..b15e8aa05cc --- /dev/null +++ b/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-2.tex @@ -0,0 +1,11 @@ +\documentclass{article} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[usefilenames]{plex-otf} +%StopVisiblePreamble +\begin{document} +1/3 2/3 1/5 2/5 \ldots \par +\addfontfeatures{Fractions=On} +1/3 2/3 1/5 2/5 3/5 4/5 1/6 5/6 1/7 1/9 1/8 3/8 5/8 7/8\par +123456/3215731 +\end{document} diff --git a/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-3.tex b/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-3.tex new file mode 100644 index 00000000000..0f5d8bfc190 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-3.tex @@ -0,0 +1,12 @@ +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\newcommand\demo{Some text in the default font style IBM Plex Serif } +\pagestyle{empty} +%StartVisiblePreamble +\usepackage{plex-otf} +%StopVisiblePreamble +\begin{document} +\demo\ Regular\par {\PlexTextRM\demo\ Text\par} {\PlexLightRM\demo\ Light\par} +{\PlexExtraLightRM\demo\ ExtraLight\par} {\PlexThinRM\demo\ Thin} +\end{document} diff --git a/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-4.tex b/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-4.tex new file mode 100644 index 00000000000..b58e94fb50a --- /dev/null +++ b/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-4.tex @@ -0,0 +1,11 @@ +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\usepackage{demotext0} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[usefilenames]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} diff --git a/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-5.tex b/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-5.tex new file mode 100644 index 00000000000..7bfbcfbe251 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-5.tex @@ -0,0 +1,14 @@ +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\pagestyle{empty} +\usepackage{demotext0} +%StartVisiblePreamble +\usepackage[usefilenames, + RMstyle=Semibold, + SSstyle=Semibold, + TTstyle=Semibold]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} diff --git a/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-6.tex b/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-6.tex new file mode 100644 index 00000000000..01286b05725 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-6.tex @@ -0,0 +1,14 @@ +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\pagestyle{empty} +\usepackage{demotext1} +%StartVisiblePreamble +\usepackage[usefilenames, + RMstyle=Thin, + SSstyle=Thin, + TTstyle=Thin]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} diff --git a/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-7.tex b/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-7.tex new file mode 100644 index 00000000000..75ea88097f8 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-7.tex @@ -0,0 +1,14 @@ +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\pagestyle{empty} +\usepackage{demotext1} +%StartVisiblePreamble +\usepackage[usefilenames, + RMstyle=ExtraLight, + SSstyle=ExtraLight, + TTstyle=ExtraLight]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} diff --git a/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-8.tex b/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-8.tex new file mode 100644 index 00000000000..1fd77c4b5af --- /dev/null +++ b/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-8.tex @@ -0,0 +1,14 @@ +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\pagestyle{empty} +\usepackage{demotext1} +%StartVisiblePreamble +\usepackage[usefilenames, + RMstyle=Light, + SSstyle=Light, + TTstyle=Light]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} diff --git a/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-9.tex b/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-9.tex new file mode 100644 index 00000000000..5eda16583f3 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/plex-otf/doc/examples/plex-otf-9.tex @@ -0,0 +1,14 @@ +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\pagestyle{empty} +\usepackage{demotext0} +%StartVisiblePreamble +\usepackage[usefilenames, + RMstyle={Medium,Semibold}, + SSstyle={Medium,Semibold}, + TTstyle={Medium,Semibold}]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} diff --git a/Master/texmf-dist/doc/fonts/plex-otf/doc/plex-otf-doc.bib b/Master/texmf-dist/doc/fonts/plex-otf/doc/plex-otf-doc.bib new file mode 100644 index 00000000000..79c72c110fb --- /dev/null +++ b/Master/texmf-dist/doc/fonts/plex-otf/doc/plex-otf-doc.bib @@ -0,0 +1,28 @@ +@online{fontconfig, + author ={{\texttt{freedesktop.org}}}, + sortname = {freedesktop}, + title = {Fontconfig}, + subtitle = {A library for configuring and customizing font access}, + date = {2016-06-15}, + urldate={2017-03-18}, + url = {https://www.freedesktop.org/wiki/Software/fontconfig/} +} +@online{features, + author = {{\WikipediA}}, + sortlabel = {Wikipedia}, + sortname = {Wikipedia}, + title = {List of typographic features}, + date = {2017-02-21}, + urldate = {2017-03-24}, + url = {https://en.wikipedia.org/wiki/List_of_typographic_features}, +} + +@online{git, + author ={James Y Rauhut}, + title = {The package of IBM’s new typeface, IBM Plex, and accompanying typography code.}, + Organisation = {Github}, + date = {2017-11-01}, + urldate={2017-11-13}, + url = {https://ibm.github.io/type}, +} + diff --git a/Master/texmf-dist/doc/fonts/plex-otf/doc/plex-otf-doc.fonts b/Master/texmf-dist/doc/fonts/plex-otf/doc/plex-otf-doc.fonts new file mode 100644 index 00000000000..5fc67da3567 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/plex-otf/doc/plex-otf-doc.fonts @@ -0,0 +1,58 @@ +CMSY10 Type 1 Builtin +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 +IBMPlexMono-Light CID Type 0C +IBMPlexMono-LightItalic CID Type 0C +IBMPlexMono-Medium CID Type 0C +IBMPlexMono-MediumItalic CID Type 0C +IBMPlexMono-SemiBold CID Type 0C +IBMPlexMono-SemiBoldItalic CID Type 0C +IBMPlexMono-Text CID Type 0C +IBMPlexMono-TextItalic CID Type 0C +IBMPlexMono-Thin CID Type 0C +IBMPlexMono-ThinItalic 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 +IBMPlexSans-Light CID Type 0C +IBMPlexSans-LightItalic CID Type 0C +IBMPlexSans-Medium CID Type 0C +IBMPlexSans-MediumItalic CID Type 0C +IBMPlexSans-SemiBold CID Type 0C +IBMPlexSans-SemiBoldItalic CID Type 0C +IBMPlexSans-Text CID Type 0C +IBMPlexSans-TextItalic CID Type 0C +IBMPlexSans-Thin CID Type 0C +IBMPlexSans-ThinItalic 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 +IBMPlexSerif-Light CID Type 0C +IBMPlexSerif-LightItalic CID Type 0C +IBMPlexSerif-Medium CID Type 0C +IBMPlexSerif-MediumItalic CID Type 0C +IBMPlexSerif-SemiBoldItalic CID Type 0C +IBMPlexSerif-SemiBoldPS CID Type 0C +IBMPlexSerif-Text CID Type 0C +IBMPlexSerif-TextItalic CID Type 0C +IBMPlexSerif-Thin CID Type 0C +IBMPlexSerif-ThinItalic CID Type 0C +LinLibertineO CID Type 0C +TeXGyreHeros-Bold CID Type 0C +TeXGyreHeros-BoldItalic CID Type 0C +TeXGyreHeros-Italic CID Type 0C +TeXGyreHeros-Regular CID Type 0C +TeXGyreTermes-Bold CID Type 0C +TeXGyreTermes-BoldItalic CID Type 0C +TeXGyreTermes-Italic CID Type 0C +TeXGyreTermes-Regular CID Type 0C diff --git a/Master/texmf-dist/doc/fonts/plex-otf/doc/plex-otf-doc.pdf b/Master/texmf-dist/doc/fonts/plex-otf/doc/plex-otf-doc.pdf new file mode 100644 index 00000000000..bb9e70842bf Binary files /dev/null and b/Master/texmf-dist/doc/fonts/plex-otf/doc/plex-otf-doc.pdf differ diff --git a/Master/texmf-dist/doc/fonts/plex-otf/doc/plex-otf-doc.tex b/Master/texmf-dist/doc/fonts/plex-otf/doc/plex-otf-doc.tex new file mode 100644 index 00000000000..f81840fd000 --- /dev/null +++ b/Master/texmf-dist/doc/fonts/plex-otf/doc/plex-otf-doc.tex @@ -0,0 +1,777 @@ +%% $Id: plex-otf-doc.tex 653 2017-11-22 19:55:12Z herbert $ +% +% Copying and distribution of this file, with or without modification, +% are permitted in any medium, without royalty. + +\listfiles +\documentclass[fontsize=11pt,paper=a4,twoside=on,DIV=13]{scrartcl} +%\usepackage[a4paper,twoside]{geometry} + +\usepackage[usefilenames, + RM={Scale=0.94}, + SS={Scale=0.94}, + TT={Scale=MatchLowercase,FakeStretch=0.9}, + DefaultFeatures={Ligatures=TeX}]{plex-otf} +\usepackage[english]{babel} +\usepackage[autostyle]{csquotes} +%\DeclareQuoteStyle{polish}{,,}{''}{«}{»} + +\usepackage{biblatex} +\addbibresource{\jobname.bib} +\usepackage{array,multido} +\usepackage{metalogo} % for \XeTeX logo +\usepackage{booktabs} % for examples +\usepackage{xltabular} % for examples +\usepackage{dtk-logos} % for Wikipedia W +\usepackage{dtk-extern} % for examples +\usepackage{listings} +\lstset{columns=fixed,basicstyle=\ttfamily\small} +\usepackage[table]{xcolor} +\usepackage{filecontents} + +\usepackage{luacode} +\begin{luacode*} +function print_glyphs(maxCols,maxChars) -- Anzahl Spalten und Zeichen + local id = font.current() -- Font ID holen + local fnt = font.getfont(id) + local col = 1 + local maxU4 = 15*(16^3+16^2+16+1) + a = {} + for k, v in pairs(fnt.characters) do + a [#a + 1] = k + end + table.sort(a) + for i, k in ipairs(a) do + if i >= maxChars then break end + if col == 1 then + if k > maxU4 then + tex.sprint(string.format("U+%06x", k)) + else + tex.sprint(string.format("U+%04x", k)) + end + tex.sprint("&") + end + if (i) then + tex.sprint(string.format([[\char%i]], k)) + else + tex.sprint("~") + end + if col == maxCols then -- Zeile voll? + tex.sprint([[\\\cline{2-]] .. maxCols+1 .. "} ") -- ja, also abschließen + col = 1 -- und neu starten + else + tex.sprint("&") -- nein, also & ausgeben + col = col + 1 -- Spalte inkrementieren + end + end +end +\end{luacode*} + + +\pagestyle{headings} + +\usepackage[colorlinks,hyperfootnotes=false]{hyperref} +% define \code for url-like breaking of typewriter fragments. +\ifx\nolinkurl\undefined \let\code\url \else \let\code\nolinkurl \fi + +% Define \cs to prepend a backslash, and be unbreakable: +\DeclareRobustCommand\cs[1]{\mbox{\texttt{\char`\\#1}}} + +% An environment like quote, but less space above and more below: +\newenvironment{demoquote} + {\tabularx{\dimexpr\linewidth+\marginparwidth}{@{} X >{\ttfamily}l @{}}} + {\endtabularx} + + + +\begin{filecontents*}{demotext0.sty} +\newcounter{famcnt}\setcounter{famcnt}{0} +\newcommand\CMD[1]{\texttt{\textbackslash#1}} +\newcommand\blindtext[1][\rmfamily,\sffamily,\ttfamily]{% + \expandafter\@for\expandafter\next\expandafter:\expandafter=#1\do{% +\next +\noindent +\ifcase\thefamcnt \CMD{rmfamily }\or \CMD{sffamily }\or\CMD{ttfamily }\fi +\CMD{normalfont}: +Sphinx of black quartz judge my vow. 01234567890\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{bfseries\textbackslash itshape}: +{\bfseries\itshape Pójdźże, kiń tę chmurność w głąb flaszy!\par}\medskip +\stepcounter{famcnt}}} +\end{filecontents*} + + +\begin{filecontents*}{demotext1.sty} +\newcounter{famcnt}\setcounter{famcnt}{0} +\newcommand\CMD[1]{\texttt{\textbackslash#1}} +\newcommand\blindtext[1][\rmfamily,\sffamily,\ttfamily]{% + \expandafter\@for\expandafter\next\expandafter:\expandafter=#1\do{% +\next +\noindent +\ifcase\thefamcnt \CMD{rmfamily }\or \CMD{sffamily }\or\CMD{ttfamily }\fi +\CMD{normalfont}: +Sphinx of black quartz judge my vow. 01234567890 \par +\CMD{itshape}: +{\itshape Vom Ödipuskomplex maßlos gequält, übt Wilfried zyklisches Jodeln.\par}\medskip +\stepcounter{famcnt}}} +\end{filecontents*} + + +\begin{filecontents*}{demotext2.sty} +\newcounter{famcnt}\setcounter{famcnt}{0} +\newcommand\CMD[1]{\texttt{\textbackslash#1}} +\newcommand\blindtext[1][\rmfamily,\sffamily,\ttfamily]{% + \expandafter\@for\expandafter\next\expandafter:\expandafter=#1\do{% +\next +\noindent +\ifcase\thefamcnt \CMD{rmfamily }\or \CMD{sffamily }\or\CMD{ttfamily }\fi +\CMD{normalfont}: +Sphinx of black quartz judge my vow. 01234567890 + \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. + \ifnum\thefamcnt<2 \textsc{Voyez le brick géant que j’examine près du wharf.}\fi\par} +\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} +\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} +\stepcounter{famcnt}}} +\end{filecontents*} + + + + + +\title{Support for the {\fontsize{30pt}{32pt}\selectfont\IBM[4]} Plex OpenType fonts} +\author{Herbert Voß} +\begin{document} +\maketitle +\tableofcontents + +\begin{abstract} +With our new corporate typeface, IBM Plex, comes a new set of guidance and best practices. +IBM typography is international and modern to reflect our brand and our design principles.~\cite{git} +\end{abstract} + + +\section{Introduction} + + + +The package \texttt{plex-otf} supports all families with specific optional +arguments: + +\begin{tabular}{@{} >{\ttfamily}l l l @{}}\\\toprule +\emph{name} & \emph{value} &\emph{meaning}\\\midrule +mono & true/false & use only the IBM Plex Mono\\ +serif & true/false & use only the IBM Plex Serif\\ +sans & true/false & use only the IBM Plex Sans\\ +RM & code & options for IBM Plex Serif\\ +SS & code & options for IBM Plex Sans\\ +TT & code & options for IBM Plex Mono\\ +%semibold & true/false & use SemiBold instead of Bold\\ +RMSCfont & font & font name for small caps\\ +SSSCfont & font & font name for small caps\\ +DefaultFeatures & code & for all font styles\\\bottomrule +\end{tabular} + +\bigskip +For this documentation +we use instead: + +\begin{verbatim} +\usepackage[usefilenames,% Important for xelatex + RM={Scale=0.94}, + SS={Scale=0.94}, + TT={Scale=MatchLowercase,FakeStretch=0.9}, + DefaultFeatures={Ligatures=Common}]{plex-otf} +\end{verbatim} + + +%\clearpage + + +\section{The Glyphs} +\subsection{Default Serif style} + +\begingroup +\color{black!20} +\begin{longtable}{>{\color{black!50}\ttfamily\footnotesize}r| + *{10}{>{\color{black}}p{1.5em}|}} +\cline{2-11} +\endhead +%\directlua{print_glyphs(10,1360)} \\ \cline{2-11} +\directlua{print_glyphs(10,65463)} \\ \cline{2-11} +\end{longtable} +\endgroup + + +\subsection{Default Sans style} + + +\begingroup +\color{black!20}\sffamily +\begin{longtable}{>{\color{black!50}\ttfamily\footnotesize}r| + *{10}{>{\color{black}}p{1.5em}|}} +\cline{2-11} +\endhead +%\directlua{print_glyphs(10,1360)} \\ \cline{2-11} +\directlua{print_glyphs(10,65463)} \\ \cline{2-11} +\end{longtable} +\endgroup + +\subsection{Default Mono style} + +\begingroup +\color{black!20}\ttfamily +\begin{longtable}{>{\color{black!50}\ttfamily\footnotesize}r| + *{10}{>{\color{black}}p{1.5em}|}} +\cline{2-11} +\endhead +%\directlua{print_glyphs(10,1360)} \\ \cline{2-11} +\directlua{print_glyphs(10,65463)} \\ \cline{2-11} +\end{longtable} +\endgroup + + +\rmfamily + + + +\section{Features} + + +\subsection{Alternate styles} + +The stylistic sets are available for example by + +\begin{verbatim} +\usepackage[..., + RM={StylisticSet=1}, + ...]{plex-otf} +\end{verbatim} + + +\subsubsection{StylisticSet=1: simple lowercase a} + +{(Default a\multido{\iA=224+1}{6}{\symbol{\iA}}\symbol{257}\symbol{259}\symbol{261}) and +\fontspec{IBMPlexSerif-Regular.otf}[StylisticSet=1,Scale=0.94]a% +\multido{\iA=224+1}{6}{\symbol{\iA}}\symbol{257}\symbol{259}\symbol{261}} + +\subsubsection{StylisticSet=2: simple lowercase g} + +{(Default g) and \fontspec{IBMPlexSerif-Regular.otf}[StylisticSet=2,Scale=0.94]g} + +\subsubsection{StylisticSet=3: slashed zero} + +{(Default 0) and \fontspec{IBMPlexSerif-Regular.otf}[StylisticSet=3,Scale=0.94]0} + +\subsubsection{StylisticSet=4: dotted zero} + +{(Default 0) and \fontspec{IBMPlexSerif-Regular.otf}[StylisticSet=4,Scale=0.94]0} + +\subsubsection{StylisticSet=4: special lowercaswe eszett} + +{(Default ß) and \fontspec{IBMPlexSerif-Regular.otf}[StylisticSet=5,Scale=0.94]ß} + + +\subsection{Captital german eszett} +It is available with \verb|\SS|$\rightarrow$\SS + + + + +\subsection{Vertical position} + + +\begin{externalDocument}[ +% grfOptions={width=\linewidth}, + frame, + compiler=lualatex, + crop, + force=true, + runs=2,code,docType=latex, + frame, + showFilename, + align=\centering, + ]{plex-otf} +\documentclass{article} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage{plex-otf} +%StopVisiblePreamble +\begin{document} +{\addfontfeature{VerticalPosition=Superior} +Superior: 1234567890\par} +{\addfontfeatures{VerticalPosition=Numerator} +Numerator: 1234567890\par} +{\addfontfeatures{VerticalPosition=Denominator} +Denominator: 1234567890\par} +\addfontfeatures{VerticalPosition=ScientificInferior} +Scientific Inferior: 1234567890 +\end{document} +\end{externalDocument} + + + +\subsection{Fractions} + +\begin{externalDocument}[ +% grfOptions={width=\linewidth}, + frame, + compiler=lualatex, + crop, + force=true, + runs=2,code,docType=latex, + frame, + showFilename, + align=\centering, + ]{plex-otf} +\documentclass{article} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[usefilenames]{plex-otf} +%StopVisiblePreamble +\begin{document} +1/3 2/3 1/5 2/5 \ldots \par +\addfontfeatures{Fractions=On} +1/3 2/3 1/5 2/5 3/5 4/5 1/6 5/6 1/7 1/9 1/8 3/8 5/8 7/8\par +123456/3215731 +\end{document} +\end{externalDocument} + + + + +\section{Font macros} + +The package defines the following macros which sets only the regular and italic font +or the bold and bold italic font. + +\noindent +\minipage[t]{0.3\linewidth} +\begin{verbatim} +Serif: + \PlexExtraLightRM + \PlexLightRM + \PlexThinRM + \PlexMediumRM + \PlexTextRM + \PlexSemiBoldRM +\end{verbatim} +\endminipage\hfill +\minipage[t]{0.3\linewidth} +\begin{verbatim} +Sans Serif: + \PlexExtraLightSS + \PlexLightSS + \PlexThinSS + \PlexMediumSS + \PlexTextSS + \PlexSemiBoldSS +\end{verbatim} +\endminipage\hfill +\minipage[t]{0.3\linewidth} +\begin{verbatim} +Mono: + \PlexExtraLightTT + \PlexLightTT + \PlexThinTT + \PlexMediumTT + \PlexTextTT + \PlexSemiBoldTT +\end{verbatim} +\endminipage + +\medskip +These macros refer to the following styles: + +\begin{tabular}{@{}l l} +ExtraLight & Upright, Italic \\ +Light & Upright, Italic \\ +Thin & Upright, Italic \\ +Medium & Upright, Italic \\ +Text & Upright, Italic \\ +SemiBold & Bold, BoldItalic +\end{tabular} + + + +\begin{externalDocument}[ +% grfOptions={width=\linewidth}, + frame, + compiler=lualatex, + crop, + force=true, + runs=2,code,docType=latex, + frame, + showFilename, + align=\centering, + ]{plex-otf} +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\newcommand\demo{Some text in the default font style IBM Plex Serif } +\pagestyle{empty} +%StartVisiblePreamble +\usepackage{plex-otf} +%StopVisiblePreamble +\begin{document} +\demo\ Regular\par {\PlexTextRM\demo\ Text\par} {\PlexLightRM\demo\ Light\par} +{\PlexExtraLightRM\demo\ ExtraLight\par} {\PlexThinRM\demo\ Thin} +\end{document} +\end{externalDocument} + + +\section{Special symbols} + +\begin{tabular}{@{}l@{ $\rightarrow$ }l @{\qquad} l@{ $\rightarrow$ }l @{}} +\verb|\IBM| & \IBM & \verb|\upleftarrow| & \upleftarrow\\ +\verb|\IBM[1]| & \IBM[1]& \verb|\uprightarrow| & \uprightarrow\\ +\verb|\IBM[2]| & \IBM[2]& \verb|\downleftarrow| & \downleftarrow\\ +\verb|\IBM[3]| & \IBM[3]& \verb|\downrightarrow| & \downrightarrow\\ +\verb|\IBM[4]| & \IBM[4]& \verb|\leftturn| & \leftturn\\ +\verb|\CE| & \CE & \verb|\rightturn| & \rightturn\\ +\verb|\FCC| & \FCC & \verb|\fullleftturn| & \fullleftturn \\ +\multicolumn{2}{c}{} & \verb|\fullrightturn| & \fullrightturn\\ +\end{tabular} + +\section{Examples without special Settings} + +\subsection{The default} + +By default the Plex font family has no small caps and no special slanted version. + +\begin{externalDocument}[ + grfOptions={width=\linewidth}, + frame, + compiler=lualatex, + crop, + force, + runs=2,code,docType=latex, + frame, + showFilename, + align=\centering, +]{plex-otf} +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\usepackage{demotext0} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[usefilenames]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} +\end{externalDocument} + + +\subsection{Semibold} + +\begin{externalDocument}[ + grfOptions={width=\linewidth}, + frame, + compiler=lualatex, + crop, + force, + runs=2,code,docType=latex, + frame, + showFilename, + align=\centering, +]{plex-otf} +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\pagestyle{empty} +\usepackage{demotext0} +%StartVisiblePreamble +\usepackage[usefilenames, + RMstyle=Semibold, + SSstyle=Semibold, + TTstyle=Semibold]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} +\end{externalDocument} + + + + +\subsection{Thin} + +This makes only sense with the the \verb|Semibold| feature or not using bold characters. + +\begin{externalDocument}[ + grfOptions={width=\linewidth}, + frame, + compiler=lualatex, + crop, + force, + runs=2,code,docType=latex, + frame, + showFilename, + align=\centering, +]{plex-otf} +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\pagestyle{empty} +\usepackage{demotext1} +%StartVisiblePreamble +\usepackage[usefilenames, + RMstyle=Thin, + SSstyle=Thin, + TTstyle=Thin]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} +\end{externalDocument} + + + +\subsection{Extra Light} + +This makes only sense with the the \verb|Semibold| feature or not using bold characters. + + + + + +\begin{externalDocument}[ + grfOptions={width=\linewidth}, + frame, + compiler=lualatex, + crop, + force, + runs=2,code,docType=latex, + frame, + showFilename, + align=\centering, +]{plex-otf} +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\pagestyle{empty} +\usepackage{demotext1} +%StartVisiblePreamble +\usepackage[usefilenames, + RMstyle=ExtraLight, + SSstyle=ExtraLight, + TTstyle=ExtraLight]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} +\end{externalDocument} + + +\subsection{Light} + +This makes only sense with the the \verb|Semibold| feature or not using bold characters. + +\begin{externalDocument}[ + grfOptions={width=\linewidth}, + frame, + compiler=lualatex, + crop, + force, + runs=2,code,docType=latex, + frame, + showFilename, + align=\centering, +]{plex-otf} +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\pagestyle{empty} +\usepackage{demotext1} +%StartVisiblePreamble +\usepackage[usefilenames, + RMstyle=Light, + SSstyle=Light, + TTstyle=Light]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} +\end{externalDocument} + + + +\subsection{Medium} + +This makes sense with the the \verb|Semibold| feature. + +\begin{externalDocument}[ + grfOptions={width=\linewidth}, + frame, + compiler=lualatex, + crop, + force, + runs=2,code,docType=latex, + frame, + showFilename, + align=\centering, +]{plex-otf} +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\pagestyle{empty} +\usepackage{demotext0} +%StartVisiblePreamble +\usepackage[usefilenames, + RMstyle={Medium,Semibold}, + SSstyle={Medium,Semibold}, + TTstyle={Medium,Semibold}]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} +\end{externalDocument} + + + +\subsection{Text} + +This makes sense with the the \verb|Semibold| feature. + +\begin{externalDocument}[ + grfOptions={width=\linewidth}, + frame, + compiler=lualatex, + crop, + force, + runs=2,code,docType=latex, + frame, + showFilename, + align=\centering, +]{plex-otf} +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\pagestyle{empty} +\usepackage{demotext0} +%StartVisiblePreamble +\usepackage[usefilenames, + RMstyle={Text,Semibold}, + SSstyle={Text,Semibold}, + TTstyle={Text,Semibold}]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} +\end{externalDocument} + + + +\section{Examples with using Small Caps fonts} +As already mentioned, the Plex font family has no small caps. If you need one then you can define another +font for the small caps. If the font has to structure like the \TeX\ Gyre fonts: + +\begin{verbatim} +texgyreheros-regular.otf +texgyreheros-bold.otf +texgyreheros-italic.otf +texgyreheros-bolditalic.otf +\end{verbatim} + + +then you have to define all combinations yourself + +\begin{verbatim} +\usepackage[SS={ SmallCapsFont = texgyreheros-regular, + SmallCapsFeatures = {Letters=SmallCaps,Scale=MatchUppercase}, + BoldFeatures = { SmallCapsFont=texgyreheros-bold}, + ItalicFeatures = { SmallCapsFont=texgyreheros-italic}, + BoldItalicFeatures= { SmallCapsFont=texgyreheros-bolditalic}}]{plex-otf} +\end{verbatim} + + +\begin{externalDocument}[ + grfOptions={width=\linewidth}, + frame, + compiler=lualatex, + crop, + force, + runs=2,code,docType=latex, + frame, + showFilename, + align=\centering, +]{plex-otf} +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\usepackage{demotext2} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[usefilenames, + RMSCfont=texgyretermes, + SSSCfont=texgyreheros]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} +\end{externalDocument} + + + +\iffalse +\section{Examples with setting the number style} + +\begin{externalDocument}[ + grfOptions={width=\linewidth}, + frame, + compiler=lualatex, + crop, + force, + runs=2,code,docType=latex, + frame, + showFilename, + align=\centering, +]{plex-otf} +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\usepackage{demotext0} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[usefilenames, + RM={Numbers=OldStyle}, + SS={Numbers=Lining}]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} +\end{externalDocument} + +\fi + +\section{Closing} + + +The font list of this documentation is: +%\rightmargin=-1cm + +\scriptsize\ttfamily +\expandafter\IfFileExists\expandafter{\jobname.fonts}% + {\lstinputlisting[xrightmargin=-1cm]{\jobname.fonts}}{} + +\normalfont\rmfamily + +%\rightmargin=0cm + +\nocite{*} +\printbibliography + + +\end{document} + + diff --git a/Master/texmf-dist/doc/fonts/plex-otf/latex/plex-otf.sty b/Master/texmf-dist/doc/fonts/plex-otf/latex/plex-otf.sty new file mode 100644 index 00000000000..cfb1945172f --- /dev/null +++ b/Master/texmf-dist/doc/fonts/plex-otf/latex/plex-otf.sty @@ -0,0 +1,482 @@ +%% $Id: plex-otf.sty 653 2017-11-22 19:55:12Z 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 2017 Herbert Voss hvoss@tug.org +%% +\ProvidesPackage{plex-otf}[% + 2017/11/22 v. 0.03 (Herbert Voss) Supports plex OpenType for lualatex/xelatex.] +% +\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp} +\RequirePackage{fontspec} + +\newif\ifPlex@usefilenames \Plex@usefilenamestrue +\DeclareOptionX{usefilenames}[true]{\@nameuse{Plex@usefilenames#1}} + +\newif\ifPlex@mono \Plex@monotrue +\newif\ifPlex@serif \Plex@seriftrue +\newif\ifPlex@sans \Plex@sanstrue +% +\DeclareOptionX{mono}[true]{\@nameuse{Plex@mono#1}} +\DeclareOptionX{sans}[true]{\@nameuse{Plex@sans#1}} +\DeclareOptionX{serif}[true]{\@nameuse{Plex@serif#1}} +% +%Possible Styles = ExtraLight : Upright, Italic +% Light : Upright, Italic +% Thin : Upright, Italic +% Medium : Upright, Italic +% Text : Upright, Italic +% SemiBold : Bold, BoldItalic +\def\Plex@RMstyle{} +\def\Plex@SSstyle{} +\def\Plex@TTstyle{} +\DeclareOptionX{RMstyle}{\def\Plex@RMstyle{#1}} +\DeclareOptionX{SSstyle}{\def\Plex@SSstyle{#1}} +\DeclareOptionX{TTstyle}{\def\Plex@TTstyle{#1}} +% +\def\PlexRM@SCfont{}% {texgyretermes} +\DeclareOptionX{RMSCfont}{\renewcommand*\PlexRM@SCfont{#1}} +\def\PlexSS@SCfont{}% {texgyreheros} +\DeclareOptionX{SSSCfont}{\renewcommand*\PlexSS@SCfont{#1}} + +\providecommand\PlexRM@features{}% Roman +\providecommand\PlexSS@features{}% SansSerif +\providecommand\PlexTT@features{}% Scale=MatchLowercase,FakeStretch=0.9}% Typewriter +\providecommand\Plex@DefaultFeatures{} +% +\DeclareOptionX{RM}{\renewcommand*\PlexRM@features{#1}} +\DeclareOptionX{SS}{\renewcommand*\PlexSS@features{#1}} +\DeclareOptionX{TT}{\renewcommand*\PlexTT@features{#1}} +\DeclareOptionX{DefaultFeatures}{\def\Plex@DefaultFeatures{#1}} + +\ProcessOptionsX\relax + + +\def\Plex@test#1#2\@nil{% + \ifx S#1 \gdef\Plex@boldstyle{SemiBold}% + \else \gdef\Plex@style{#1#2}% + \fi +} + +\def\Plex@style{} +\def\Plex@boldstyle{Bold} +\expandafter\@for\expandafter\next\expandafter:\expandafter=\Plex@RMstyle\do{% + \expandafter\Plex@test\next\@nil +} +\edef\Plex@RMboldstyle{\Plex@boldstyle} +\edef\Plex@RMstyle{\Plex@style} +\typeout{RM: \Plex@RMstyle; \Plex@RMboldstyle}% + +\def\Plex@style{} +\def\Plex@boldstyle{Bold} +\expandafter\@for\expandafter\next\expandafter:\expandafter=\Plex@SSstyle\do{% + \expandafter\Plex@test\next\@nil +} +\edef\Plex@SSboldstyle{\Plex@boldstyle} +\edef\Plex@SSstyle{\Plex@style} +\typeout{SS: \Plex@SSstyle; \Plex@SSboldstyle}% + +\def\Plex@style{} +\def\Plex@boldstyle{Bold} +\expandafter\@for\expandafter\next\expandafter:\expandafter=\Plex@TTstyle\do{% + \expandafter\Plex@test\next\@nil +} +\let\Plex@TTboldstyle\Plex@boldstyle +\let\Plex@TTstyle\Plex@style +\typeout{TT: \Plex@TTstyle; \Plex@TTboldstyle}% + +\defaultfontfeatures{Ligatures=TeX,\Plex@DefaultFeatures}% default in fontspec +% +\ifluatex + \def\Plex@@Renderer{Renderer=Basic}% +\else + \def\Plex@@Renderer{} +\fi +% +\ifx\@empty\PlexRM@SCfont\else + \g@addto@macro{\PlexRM@features}{,% + SmallCapsFont = \PlexRM@SCfont-regular, + SmallCapsFeatures = {Letters=SmallCaps, + \Plex@@Renderer, + Scale=MatchUppercase}, + BoldFeatures = { SmallCapsFont=\PlexRM@SCfont-bold}, + ItalicFeatures = { SmallCapsFont=\PlexRM@SCfont-italic}, + BoldItalicFeatures= { SmallCapsFont=\PlexRM@SCfont-bolditalic} + }% +\fi +\ifx\@empty\PlexSS@SCfont\else + \g@addto@macro{\PlexSS@features}{,% + SmallCapsFont = \PlexSS@SCfont-regular, + SmallCapsFeatures = {Letters=SmallCaps, + \Plex@@Renderer, + Scale=MatchUppercase}, + BoldFeatures = { SmallCapsFont=\PlexSS@SCfont-bold}, + ItalicFeatures = { SmallCapsFont=\PlexSS@SCfont-italic}, + BoldItalicFeatures= { SmallCapsFont=\PlexSS@SCfont-bolditalic} + }% +\fi + +%\DeclareTextCommand{\SS}{TU}{\char"1E9E} + +\ifPlex@usefilenames%%%%%%%%%%%%%%%%%%% DATEINAMEN %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\typeout {Using file names for the Plex font}% +% + \ifPlex@serif + \edef\Plex@@Weight{\ifx\@empty\Plex@RMstyle Regular\else\Plex@RMstyle\fi} +% + \setmainfont{IBMPlexSerif}[% main rm + Extension = .otf, + UprightFont= *-\Plex@@Weight, + BoldFont = *-\Plex@RMboldstyle, + ItalicFont = *-\Plex@RMstyle Italic, + BoldItalicFont = *-\Plex@RMboldstyle Italic, +% Scale = 0.92, + \PlexRM@features, + ] + \newfontfamily\PlexExtraLightRM{IBMPlexSerif}[% + \PlexRM@features, + Extension = .otf, + UprightFont= *-ExtraLight, + ItalicFont = *-ExtraLightItalic, + ] + \newfontfamily\PlexLightRM{IBMPlexSerif}[% + \PlexRM@features, + Extension = .otf, + UprightFont= *-Light, + ItalicFont = *-LightItalic, + ] + \newfontfamily\PlexThinRM{IBMPlexSerif}[% + \PlexRM@features, + Extension = .otf, + UprightFont= *-Thin, + ItalicFont = *-ThinItalic, + ] + \newfontfamily\PlexMediumRM{IBMPlexSerif}[% + \PlexRM@features, + Extension = .otf, + UprightFont= *-Medium, + ItalicFont = *-MediumItalic, + ] + \newfontfamily\PlexTextRM{IBMPlexSerif}[% + \PlexRM@features, + Extension = .otf, + UprightFont= *-Text, + ItalicFont = *-TextItalic, + ] + \newfontfamily\PlexSemiBoldRM{IBMPlexSerif}[% + \PlexRM@features, + Extension = .otf, + UprightFont= *-\Plex@@Weight, + BoldFont = *-SemiBold, + BoldItalicFont = *-SemiBoldItalic, + ] + \fi +% + \ifPlex@sans + \edef\Plex@@Weight{\ifx\Plex@SSstyle\@empty Regular\else\Plex@SSstyle\fi} + \setsansfont{IBMPlexSans}[% main sans + Extension = .otf, + UprightFont= *-\Plex@@Weight, + BoldFont = *-\Plex@SSboldstyle, + ItalicFont = *-\Plex@SSstyle Italic, + BoldItalicFont = *-\Plex@SSboldstyle Italic, +% Scale = 0.92, + \PlexSS@features, + ] + \newfontfamily\PlexExtraLightSS{IBMPlexSans}[% + \PlexSS@features, + Extension = .otf, + UprightFont= *-ExtraLight, + ItalicFont = *-ExtraLightItalic, + ] + \newfontfamily\PlexLightSS{IBMPlexSans}[% + \PlexSS@features, + Extension = .otf, + UprightFont= *-Light, + ItalicFont = *-LightItalic, + ] + \newfontfamily\PlexThinSS{IBMPlexSans}[% + \PlexSS@features, + Extension = .otf, + UprightFont= *-Thin, + ItalicFont = *-ThinItalic, + ] + \newfontfamily\PlexMediumSS{IBMPlexSans}[% + \PlexSS@features, + Extension = .otf, + UprightFont= *-Medium, + ItalicFont = *-MediumItalic, + ] + \newfontfamily\PlexTextSS{IBMPlexSans}[% + \PlexSS@features, + Extension = .otf, + UprightFont= *-Text, + ItalicFont = *-TextItalic, + ] + \newfontfamily\PlexSemiBoldSS{IBMPlexSans}[% + \PlexRM@features, + Extension = .otf, + UprightFont= *-\Plex@@Weight, + BoldFont = *-SemiBold, + BoldItalicFont = *-SemiBoldItalic, + ] + \fi +% + \ifPlex@mono + \edef\Plex@@Weight{\ifx\Plex@TTstyle\@empty Regular\else\Plex@TTstyle\fi} + \setmonofont{IBMPlexMono}[% main typewriter + Extension = .otf, + UprightFont= *-\Plex@@Weight, + BoldFont = *-\Plex@TTboldstyle, + ItalicFont = *-\Plex@TTstyle Italic, + BoldItalicFont = *-\Plex@TTboldstyle Italic, + \PlexTT@features, + ] + \newfontfamily\PlexExtraLightTT{IBMPlexMono}[% + Extension = .otf, + UprightFont= *-ExtraLight, + ItalicFont = *-ExtraLightItalic, + \PlexTT@features, + ] + \newfontfamily\PlexLightTT{IBMPlexMono}[% + Extension = .otf, + UprightFont= *-Light, + ItalicFont = *-LightItalic, + \PlexTT@features, + ] + \newfontfamily\PlexThinTT{IBMPlexMono}[% + Extension = .otf, + UprightFont= *-Thin, + ItalicFont = *-ThinItalic, + \PlexTT@features, + ] + \newfontfamily\PlexMediumTT{IBMPlexMono}[% + Extension = .otf, + UprightFont= *-Medium, + ItalicFont = *-MediumItalic, + \PlexTT@features, + ] + \newfontfamily\PlexTextTT{IBMPlexMono}[% + Extension = .otf, + UprightFont= *-Text, + ItalicFont = *-TextItalic, + \PlexTT@features, + ] + \newfontfamily\PlexSemiBoldTT{IBMPlexMono}[% + Extension = .otf, + UprightFont= *-\Plex@@Weight, + BoldFont = *-SemiBold, + BoldItalicFont = *-SemiBoldItalic, + \PlexRM@features, + ] + \fi % End PlexMono +% +\else%%%%%%%%%%%%%%%%%%% Ende DATEINAMEN %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + %%%%%%%%%%%%%%%%%%% Symbolische NAMEN %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\typeout {Using symbolic names for the Plex font}% +\ifPlex@serif + \edef\Plex@@Weight{\ifx\Plex@RMstyle\@empty \else\Plex@RMstyle\fi} +% + \setmainfont{IBM Plex Serif}[% main rm + UprightFont= * \Plex@@Weight, + BoldFont = * \Plex@RMboldstyle, + ItalicFont = * \Plex@RMstyle Italic, + BoldItalicFont = * \Plex@RMboldstyle Italic, + Scale = 0.92, + \PlexRM@features, + ] + \newfontfamily\PlexExtraLightRM{IBM Plex Serif}[% + UprightFont= *-ExtraLight, + ItalicFont = *-ExtraLightItalic, + \PlexRM@features, + ] + \newfontfamily\PlexLightRM{IBM Plex Serif}[% + UprightFont= * Light, + ItalicFont = * LightItalic, + \PlexRM@features, + ] + \newfontfamily\PlexThinRM{IBM Plex Serif}[% + UprightFont= * Thin, + ItalicFont = * ThinItalic, + \PlexRM@features, + ] + \newfontfamily\PlexMediumRM{IBM Plex Serif}[% + UprightFont= * Medium, + ItalicFont = * MediumItalic, + \PlexRM@features, + ] + \newfontfamily\PlexTextRM{IBM Plex Serif}[% + UprightFont= * Text, + ItalicFont = * TextItalic, + \PlexRM@features, + ] + \newfontfamily\PlexSemiBoldRM{IBM Plex Serif}[% + UprightFont= * \Plex@@Weight, + BoldFont = * SemiBold, + BoldItalicFont = * SemiBoldItalic, + \PlexRM@features, + ] +\fi +% +\ifPlex@sans + \edef\Plex@@Weight{\ifx\Plex@SSstyle\@empty\else\Plex@SSstyle\fi} +% + \setsansfont{IBM Plex Sans}[% + UprightFont= * \Plex@@Weight, + BoldFont = * \Plex@SSboldstyle, + ItalicFont = * \Plex@SSstyle Italic, + BoldItalicFont = * \Plex@SSboldstyle Italic, + Scale = 0.92, + \PlexSS@features, + ] + \newfontfamily\PlexExtraLightSS{IBM Plex Sans}[% + UprightFont= *-ExtraLight, + ItalicFont = *-ExtraLightItalic, + \PlexSS@features, + ] + \newfontfamily\PlexLightSS{IBM Plex Sans}[% + UprightFont= * Light, + ItalicFont = * LightItalic, + \PlexSS@features, + ] + \newfontfamily\PlexThinSS{IBM Plex Sans}[% + UprightFont= * Thin, + ItalicFont = * ThinItalic, + \PlexSS@features, + ] + \newfontfamily\PlexMediumSS{IBM Plex Sans}[% + UprightFont= * Medium, + ItalicFont = * MediumItalic, + \PlexSS@features, + ] + \newfontfamily\PlexTextSS{IBM Plex Sans}[% + UprightFont= * Text, + ItalicFont = * TextItalic, + \PlexSS@features, + ] + \newfontfamily\PlexSemiBoldSS{IBM Plex Sans}[% + UprightFont= * \Plex@@Weight, + BoldFont = * SemiBold, + BoldItalicFont = * SemiBoldItalic, + \PlexRM@features, + ] +\fi +% +\ifPlex@mono + \edef\Plex@@Weight{\ifx\Plex@TTstyle\@empty\else\Plex@TTstyle\fi} +% + \setmonofont{IBM Plex Mono}[% + UprightFont= * \Plex@@Weight, + BoldFont = * \Plex@TTboldstyle, + ItalicFont = * \Plex@TTstyle Italic, + BoldItalicFont = * \Plex@TTboldstyle Italic, + Scale = 0.92, + \PlexTT@features, + ] + \newfontfamily\PlexExtraLightTT{IBM Plex Mono}[% + UprightFont= *-ExtraLight, + ItalicFont = *-ExtraLightItalic, + \PlexTT@features, + ] + \newfontfamily\PlexLightTT{IBM Plex Mono}[% + UprightFont= * Light, + ItalicFont = * LightItalic, + \PlexTT@features, + ] + \newfontfamily\PlexThinTT{IBM Plex Mono}[% + UprightFont= * Thin, + ItalicFont = * ThinItalic, + \PlexTT@features, + ] + \newfontfamily\PlexMediumTT{IBM Plex Mono}[% + UprightFont= * Medium, + ItalicFont = * MediumItalic, + \PlexTT@features, + ] + \newfontfamily\PlexTextTT{IBM Plex Mono}[% + UprightFont= * Text, + ItalicFont = * TextItalic, + \PlexTT@features, + ] + \newfontfamily\PlexSemiBoldTT{IBM Plex Mono}[% + UprightFont= * \Plex@@Weight, + BoldFont = * SemiBold, + BoldItalicFont = * SemiBoldItalic, + \PlexRM@features, + ] +\fi +% +\fi% end \ifPlex@usefilenames + +%Define some special Characters +\providecommand\IBM[1][0]{\ifcase#1 + \symbol{"EBE1}\or + \symbol{"EBE3}\or + \textsf{\symbol{"EBE4}}\or + \textsf{\symbol{"EBE6}}\or + \symbol{"EBE7}\fi} +\providecommand\CE{\symbol{"ECE0}} +\providecommand\FCC{\symbol{"EFCC}} +\providecommand\upleftarrow{\symbol{"21B0}} +\providecommand\uprightarrow{\symbol{"21B1}} +\providecommand\downleftarrow{\symbol{"21B2}} +\providecommand\downrightarrow{\symbol{"21B3}} +\providecommand\leftturn{\symbol{"21B6}} +\providecommand\rightturn{\symbol{"21B7}} +\providecommand\fullleftturn{\symbol{"21BA}} +\providecommand\fullrightturn{\symbol{"21BB}} + +\endinput + + +insgesamt 4448 +-rwxr-xr-x 1 voss voss 94936 Okt 27 11:06 IBMPlexMono-BoldItalic.ttf +-rwxr-xr-x 1 voss voss 90024 Okt 27 11:06 IBMPlexMono-Bold.ttf +-rwxr-xr-x 1 voss voss 95436 Okt 27 11:06 IBMPlexMono-ExtraLightItalic.ttf +-rwxr-xr-x 1 voss voss 89652 Okt 27 11:06 IBMPlexMono-ExtraLight.ttf +-rwxr-xr-x 1 voss voss 94656 Okt 27 11:06 IBMPlexMono-Italic.ttf +-rwxr-xr-x 1 voss voss 94300 Okt 27 11:06 IBMPlexMono-LightItalic.ttf +-rwxr-xr-x 1 voss voss 88860 Okt 27 11:06 IBMPlexMono-Light.ttf +-rwxr-xr-x 1 voss voss 94648 Okt 27 11:06 IBMPlexMono-MediumItalic.ttf +-rwxr-xr-x 1 voss voss 89708 Okt 27 11:06 IBMPlexMono-Medium.ttf +-rwxr-xr-x 1 voss voss 88848 Okt 27 11:06 IBMPlexMono-Regular.ttf +-rwxr-xr-x 1 voss voss 97780 Okt 27 11:06 IBMPlexMono-SemiBoldItalic.ttf +-rwxr-xr-x 1 voss voss 92972 Okt 27 11:06 IBMPlexMono-SemiBold.ttf +-rwxr-xr-x 1 voss voss 94088 Okt 27 11:06 IBMPlexMono-TextItalic.ttf +-rwxr-xr-x 1 voss voss 88784 Okt 27 11:06 IBMPlexMono-Text.ttf +-rwxr-xr-x 1 voss voss 95496 Okt 27 11:06 IBMPlexMono-ThinItalic.ttf +-rwxr-xr-x 1 voss voss 90092 Okt 27 11:06 IBMPlexMono-Thin.ttf +-rwxr-xr-x 1 voss voss 112200 Okt 27 11:06 IBMPlexSans-BoldItalic.ttf +-rwxr-xr-x 1 voss voss 107732 Okt 27 11:06 IBMPlexSans-Bold.ttf +-rwxr-xr-x 1 voss voss 115848 Okt 27 11:06 IBMPlexSans-ExtraLightItalic.ttf +-rwxr-xr-x 1 voss voss 111220 Okt 27 11:06 IBMPlexSans-ExtraLight.ttf +-rwxr-xr-x 1 voss voss 112848 Okt 27 11:06 IBMPlexSans-Italic.ttf +-rwxr-xr-x 1 voss voss 114144 Okt 27 11:06 IBMPlexSans-LightItalic.ttf +-rwxr-xr-x 1 voss voss 109512 Okt 27 11:06 IBMPlexSans-Light.ttf +-rwxr-xr-x 1 voss voss 112056 Okt 27 11:06 IBMPlexSans-MediumItalic.ttf +-rwxr-xr-x 1 voss voss 107940 Okt 27 11:06 IBMPlexSans-Medium.ttf +-rwxr-xr-x 1 voss voss 107988 Okt 27 11:06 IBMPlexSans-Regular.ttf +-rwxr-xr-x 1 voss voss 112528 Okt 27 11:06 IBMPlexSans-SemiBoldItalic.ttf +-rwxr-xr-x 1 voss voss 107856 Okt 27 11:06 IBMPlexSans-SemiBold.ttf +-rwxr-xr-x 1 voss voss 112400 Okt 27 11:06 IBMPlexSans-TextItalic.ttf +-rwxr-xr-x 1 voss voss 108168 Okt 27 11:06 IBMPlexSans-Text.ttf +-rwxr-xr-x 1 voss voss 116628 Okt 27 11:06 IBMPlexSans-ThinItalic.ttf +-rwxr-xr-x 1 voss voss 112228 Okt 27 11:06 IBMPlexSans-Thin.ttf +-rwxr-xr-x 1 voss voss 76056 Okt 27 11:06 IBMPlexSerif-BoldItalic.otf +-rwxr-xr-x 1 voss voss 74492 Okt 27 11:06 IBMPlexSerif-Bold.otf +-rwxr-xr-x 1 voss voss 74184 Okt 27 11:06 IBMPlexSerif-ExtraLightItalic.otf +-rwxr-xr-x 1 voss voss 73836 Okt 27 11:06 IBMPlexSerif-ExtraLight.otf +-rwxr-xr-x 1 voss voss 74204 Okt 27 11:06 IBMPlexSerif-Italic.otf +-rwxr-xr-x 1 voss voss 75128 Okt 27 11:06 IBMPlexSerif-LightItalic.otf +-rwxr-xr-x 1 voss voss 73504 Okt 27 11:06 IBMPlexSerif-Light.otf +-rwxr-xr-x 1 voss voss 76528 Okt 27 11:06 IBMPlexSerif-MediumItalic.otf +-rwxr-xr-x 1 voss voss 74620 Okt 27 11:06 IBMPlexSerif-Medium.otf +-rwxr-xr-x 1 voss voss 72560 Okt 27 11:06 IBMPlexSerif-Regular.otf +-rwxr-xr-x 1 voss voss 76672 Okt 27 11:06 IBMPlexSerif-SemiBoldItalic.otf +-rwxr-xr-x 1 voss voss 75356 Okt 27 11:06 IBMPlexSerif-SemiBold.otf +-rwxr-xr-x 1 voss voss 77172 Okt 27 11:06 IBMPlexSerif-TextItalic.otf +-rwxr-xr-x 1 voss voss 74388 Okt 27 11:06 IBMPlexSerif-Text.otf +-rwxr-xr-x 1 voss voss 72308 Okt 27 11:06 IBMPlexSerif-ThinItalic.otf +-rwxr-xr-x 1 voss voss 71116 Okt 27 11:06 IBMPlexSerif-Thin.otf -- cgit v1.2.3