diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /fonts/plex-otf |
Initial commit
Diffstat (limited to 'fonts/plex-otf')
-rw-r--r-- | fonts/plex-otf/Changes | 6 | ||||
-rw-r--r-- | fonts/plex-otf/README.md | 18 | ||||
-rw-r--r-- | fonts/plex-otf/doc/Examples/plex-otf-1.tex | 15 | ||||
-rw-r--r-- | fonts/plex-otf/doc/Examples/plex-otf-10.tex | 16 | ||||
-rw-r--r-- | fonts/plex-otf/doc/Examples/plex-otf-11.tex | 14 | ||||
-rw-r--r-- | fonts/plex-otf/doc/Examples/plex-otf-2.tex | 12 | ||||
-rw-r--r-- | fonts/plex-otf/doc/Examples/plex-otf-3.tex | 13 | ||||
-rw-r--r-- | fonts/plex-otf/doc/Examples/plex-otf-4.tex | 12 | ||||
-rw-r--r-- | fonts/plex-otf/doc/Examples/plex-otf-5.tex | 16 | ||||
-rw-r--r-- | fonts/plex-otf/doc/Examples/plex-otf-6.tex | 16 | ||||
-rw-r--r-- | fonts/plex-otf/doc/Examples/plex-otf-7.tex | 16 | ||||
-rw-r--r-- | fonts/plex-otf/doc/Examples/plex-otf-8.tex | 16 | ||||
-rw-r--r-- | fonts/plex-otf/doc/Examples/plex-otf-9.tex | 16 | ||||
-rw-r--r-- | fonts/plex-otf/doc/plex-otf-doc.bib | 28 | ||||
-rw-r--r-- | fonts/plex-otf/doc/plex-otf-doc.fonts | 130 | ||||
-rw-r--r-- | fonts/plex-otf/doc/plex-otf-doc.pdf | bin | 0 -> 710146 bytes | |||
-rw-r--r-- | fonts/plex-otf/doc/plex-otf-doc.tex | 855 | ||||
-rw-r--r-- | fonts/plex-otf/latex/plex-otf.sty | 659 |
18 files changed, 1858 insertions, 0 deletions
diff --git a/fonts/plex-otf/Changes b/fonts/plex-otf/Changes new file mode 100644 index 0000000000..6ab60a7db7 --- /dev/null +++ b/fonts/plex-otf/Changes @@ -0,0 +1,6 @@ +0.07a 2018-04-13 - updated doucmentation +0.07 2018-03-28 - support for the condensed Sans fonts +0.06 2017-12-06 - added option style +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/fonts/plex-otf/README.md b/fonts/plex-otf/README.md new file mode 100644 index 0000000000..36f0bf4dd1 --- /dev/null +++ b/fonts/plex-otf/README.md @@ -0,0 +1,18 @@ +# 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. + + +%% 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. + +hvoss@tug.org
\ No newline at end of file diff --git a/fonts/plex-otf/doc/Examples/plex-otf-1.tex b/fonts/plex-otf/doc/Examples/plex-otf-1.tex new file mode 100644 index 0000000000..5ab7cd071d --- /dev/null +++ b/fonts/plex-otf/doc/Examples/plex-otf-1.tex @@ -0,0 +1,15 @@ +\documentclass{article} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[DefaultFeatures={Scale=0.94}]{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/fonts/plex-otf/doc/Examples/plex-otf-10.tex b/fonts/plex-otf/doc/Examples/plex-otf-10.tex new file mode 100644 index 0000000000..094e512687 --- /dev/null +++ b/fonts/plex-otf/doc/Examples/plex-otf-10.tex @@ -0,0 +1,16 @@ +\documentclass{article} +\usepackage[a4paper]{geometry} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\pagestyle{empty} +\usepackage{demotext0} +%StartVisiblePreamble +\usepackage[DefaultFeatures={Scale=0.94}, + RMstyle={Text,Semibold}, + SSstyle={Text,Semibold}, + SSconstyle={Text,Semibold}, + TTstyle={Text,Semibold}]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} diff --git a/fonts/plex-otf/doc/Examples/plex-otf-11.tex b/fonts/plex-otf/doc/Examples/plex-otf-11.tex new file mode 100644 index 0000000000..fd004561aa --- /dev/null +++ b/fonts/plex-otf/doc/Examples/plex-otf-11.tex @@ -0,0 +1,14 @@ +\documentclass{article} +\usepackage[a4paper]{geometry} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\usepackage{demotext2} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[DefaultFeatures={Scale=0.94}, + RMSCfont=texgyretermes, + SSSCfont=texgyreheros]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} diff --git a/fonts/plex-otf/doc/Examples/plex-otf-2.tex b/fonts/plex-otf/doc/Examples/plex-otf-2.tex new file mode 100644 index 0000000000..72333992c9 --- /dev/null +++ b/fonts/plex-otf/doc/Examples/plex-otf-2.tex @@ -0,0 +1,12 @@ +\documentclass{article} +\usepackage[a4paper]{geometry} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[DefaultFeatures={Scale=0.94}]{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/fonts/plex-otf/doc/Examples/plex-otf-3.tex b/fonts/plex-otf/doc/Examples/plex-otf-3.tex new file mode 100644 index 0000000000..ccbbaaac7b --- /dev/null +++ b/fonts/plex-otf/doc/Examples/plex-otf-3.tex @@ -0,0 +1,13 @@ +\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[DefaultFeatures={Scale=0.94}]{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/fonts/plex-otf/doc/Examples/plex-otf-4.tex b/fonts/plex-otf/doc/Examples/plex-otf-4.tex new file mode 100644 index 0000000000..4c4b9b5905 --- /dev/null +++ b/fonts/plex-otf/doc/Examples/plex-otf-4.tex @@ -0,0 +1,12 @@ +\documentclass{article} +\usepackage[a4paper]{geometry} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\usepackage{demotext0} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[DefaultFeatures={Scale=0.94}]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} diff --git a/fonts/plex-otf/doc/Examples/plex-otf-5.tex b/fonts/plex-otf/doc/Examples/plex-otf-5.tex new file mode 100644 index 0000000000..1d243813df --- /dev/null +++ b/fonts/plex-otf/doc/Examples/plex-otf-5.tex @@ -0,0 +1,16 @@ +\documentclass{article} +\usepackage[a4paper]{geometry} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\pagestyle{empty} +\usepackage{demotext0} +%StartVisiblePreamble +\usepackage[DefaultFeatures={Scale=0.94}, + RMstyle=Semibold, + SSstyle=Semibold, + SSconstyle=Semibold, + TTstyle=Semibold]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} diff --git a/fonts/plex-otf/doc/Examples/plex-otf-6.tex b/fonts/plex-otf/doc/Examples/plex-otf-6.tex new file mode 100644 index 0000000000..e20fecd2c1 --- /dev/null +++ b/fonts/plex-otf/doc/Examples/plex-otf-6.tex @@ -0,0 +1,16 @@ +\documentclass{article} +\usepackage[a4paper]{geometry} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\pagestyle{empty} +\usepackage{demotext1} +%StartVisiblePreamble +\usepackage[DefaultFeatures={Scale=0.94}, + RMstyle=Thin, + SSstyle=Thin, + SSconstyle=Thin, + TTstyle=Thin]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} diff --git a/fonts/plex-otf/doc/Examples/plex-otf-7.tex b/fonts/plex-otf/doc/Examples/plex-otf-7.tex new file mode 100644 index 0000000000..515a8ac10d --- /dev/null +++ b/fonts/plex-otf/doc/Examples/plex-otf-7.tex @@ -0,0 +1,16 @@ +\documentclass{article} +\usepackage[a4paper]{geometry} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\pagestyle{empty} +\usepackage{demotext1} +%StartVisiblePreamble +\usepackage[DefaultFeatures={Scale=0.94}, + RMstyle=ExtraLight, + SSstyle=ExtraLight, + SSconstyle=ExtraLight, + TTstyle=ExtraLight]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} diff --git a/fonts/plex-otf/doc/Examples/plex-otf-8.tex b/fonts/plex-otf/doc/Examples/plex-otf-8.tex new file mode 100644 index 0000000000..6b067564ee --- /dev/null +++ b/fonts/plex-otf/doc/Examples/plex-otf-8.tex @@ -0,0 +1,16 @@ +\documentclass{article} +\usepackage[a4paper]{geometry} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\pagestyle{empty} +\usepackage{demotext1} +%StartVisiblePreamble +\usepackage[DefaultFeatures={Scale=0.94}, + RMstyle=Light, + SSstyle=Light, + SSconstyle=Light, + TTstyle=Light]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} diff --git a/fonts/plex-otf/doc/Examples/plex-otf-9.tex b/fonts/plex-otf/doc/Examples/plex-otf-9.tex new file mode 100644 index 0000000000..d82c428513 --- /dev/null +++ b/fonts/plex-otf/doc/Examples/plex-otf-9.tex @@ -0,0 +1,16 @@ +\documentclass{article} +\usepackage[a4paper]{geometry} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\pagestyle{empty} +\usepackage{demotext0} +%StartVisiblePreamble +\usepackage[DefaultFeatures={Scale=0.94}, + RMstyle={Medium,Semibold}, + SSstyle={Medium,Semibold}, + SSconstyle={Medium,Semibold}, + TTstyle={Medium,Semibold}]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} diff --git a/fonts/plex-otf/doc/plex-otf-doc.bib b/fonts/plex-otf/doc/plex-otf-doc.bib new file mode 100644 index 0000000000..405a75d4e2 --- /dev/null +++ b/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/fonts/plex-otf/doc/plex-otf-doc.fonts b/fonts/plex-otf/doc/plex-otf-doc.fonts new file mode 100644 index 0000000000..e74448da29 --- /dev/null +++ b/fonts/plex-otf/doc/plex-otf-doc.fonts @@ -0,0 +1,130 @@ +name type encoding emb sub uni object ID +------------------------------------ ----------------- ---------------- --- --- --- --------- +MFBBVI+IBMPlexSans-Bold CID Type 0C Identity-H yes yes yes 8 0 +WEGMYV+IBMPlexSerif CID Type 0C Identity-H yes yes yes 9 0 +AOYQNC+IBMPlexSerif-Bold CID Type 0C Identity-H yes yes yes 11 0 +GUSBDZ+IBMPlexMono CID Type 0C Identity-H yes yes yes 13 0 +FYLAMJ+IBMPlexMono-Italic CID Type 0C Identity-H yes yes yes 14 0 +LTJKSK+IBMPlexSerif-Italic CID Type 0C Identity-H yes yes yes 15 0 +BOOBJZ+IBMPlexSans CID Type 0C Identity-H yes yes yes 33 0 +SMEWYQ+IBMPlexSansCond CID Type 0C Identity-H yes yes yes 43 0 +PVODTF+XITSMath CID Type 0C Identity-H yes yes yes 69 0 +YQWNSP+IBMPlexSerif CID Type 0C Identity-H yes yes yes 102 0 +TBQHQV+IBMPlexSerif CID Type 0C Identity-H yes yes yes 113 0 +LYHDTV+IBMPlexSerif CID Type 0C Identity-H yes yes yes 139 0 +AVYMNT+IBMPlexSerif-Text CID Type 0C Identity-H yes yes yes 140 0 +UTOQVK+IBMPlexSerif-Light CID Type 0C Identity-H yes yes yes 141 0 +FVJBXZ+IBMPlexSerif-ExtraLight CID Type 0C Identity-H yes yes yes 142 0 +CRTAOZ+IBMPlexSerif-Thin CID Type 0C Identity-H yes yes yes 143 0 +ZYLRMD+IBMPlexMono CID Type 0C Identity-H yes yes yes 190 0 +LINEUL+IBMPlexSerif CID Type 0C Identity-H yes yes yes 191 0 +SZGTMC+IBMPlexSerif-Bold CID Type 0C Identity-H yes yes yes 192 0 +WMCBFV+IBMPlexSerif-Italic CID Type 0C Identity-H yes yes yes 193 0 +CYRQKA+IBMPlexSerif-BoldItalic CID Type 0C Identity-H yes yes yes 194 0 +GZESJI+IBMPlexSans CID Type 0C Identity-H yes yes yes 195 0 +VGVPBW+IBMPlexSans-Bold CID Type 0C Identity-H yes yes yes 196 0 +NPOWRI+IBMPlexSans-Italic CID Type 0C Identity-H yes yes yes 197 0 +OLQBXZ+IBMPlexSans-BoldItalic CID Type 0C Identity-H yes yes yes 198 0 +HOGRGT+IBMPlexSansCond CID Type 0C Identity-H yes yes yes 199 0 +ZAGRTY+IBMPlexSansCond-Bold CID Type 0C Identity-H yes yes yes 200 0 +BMDDRP+IBMPlexSansCond-Italic CID Type 0C Identity-H yes yes yes 201 0 +VMYQEL+IBMPlexSansCond-BoldItalic CID Type 0C Identity-H yes yes yes 202 0 +OHPRJQ+IBMPlexMono-Bold CID Type 0C Identity-H yes yes yes 203 0 +LJFMUF+IBMPlexMono-Italic CID Type 0C Identity-H yes yes yes 204 0 +UFNHUE+IBMPlexMono-BoldItalic CID Type 0C Identity-H yes yes yes 205 0 +ZYLRMD+IBMPlexMono CID Type 0C Identity-H yes yes yes 320 0 +LINEUL+IBMPlexSerif CID Type 0C Identity-H yes yes yes 321 0 +WGTYOA+IBMPlexSerif-SemiBold CID Type 0C Identity-H yes yes yes 322 0 +WMCBFV+IBMPlexSerif-Italic CID Type 0C Identity-H yes yes yes 323 0 +YRHHGK+IBMPlexSerif-SemiBoldItalic CID Type 0C Identity-H yes yes yes 324 0 +GZESJI+IBMPlexSans CID Type 0C Identity-H yes yes yes 325 0 +UWGJCC+IBMPlexSans-SemiBold CID Type 0C Identity-H yes yes yes 326 0 +NPOWRI+IBMPlexSans-Italic CID Type 0C Identity-H yes yes yes 327 0 +HCAZHP+IBMPlexSans-SemiBoldItalic CID Type 0C Identity-H yes yes yes 328 0 +HOGRGT+IBMPlexSansCond CID Type 0C Identity-H yes yes yes 329 0 +NDWVSF+IBMPlexSansCond-SemiBold CID Type 0C Identity-H yes yes yes 330 0 +BMDDRP+IBMPlexSansCond-Italic CID Type 0C Identity-H yes yes yes 331 0 +KUWWXZ+IBMPlexSansCond-SemiBoldItalic CID Type 0C Identity-H yes yes yes 332 0 +PNXXBX+IBMPlexMono-SemiBold CID Type 0C Identity-H yes yes yes 333 0 +LJFMUF+IBMPlexMono-Italic CID Type 0C Identity-H yes yes yes 334 0 +ENDCYH+IBMPlexMono-SemiBoldItalic CID Type 0C Identity-H yes yes yes 335 0 +MGEOSG+IBMPlexMono-Thin CID Type 0C Identity-H yes yes yes 451 0 +UKJESO+IBMPlexSerif-Thin CID Type 0C Identity-H yes yes yes 452 0 +TTRCDD+IBMPlexSerif-ThinItalic CID Type 0C Identity-H yes yes yes 453 0 +JSFWRT+IBMPlexSans-Thin CID Type 0C Identity-H yes yes yes 454 0 +KZTTCC+IBMPlexSans-ThinItalic CID Type 0C Identity-H yes yes yes 455 0 +PBEXLV+IBMPlexSansCond-Thin CID Type 0C Identity-H yes yes yes 456 0 +KWZUAT+IBMPlexSansCond-ThinItalic CID Type 0C Identity-H yes yes yes 457 0 +KNXRNJ+IBMPlexMono-ThinItalic CID Type 0C Identity-H yes yes yes 458 0 +DNBXVP+IBMPlexMono-ExtraLight CID Type 0C Identity-H yes yes yes 526 0 +CJOFRY+IBMPlexSerif-ExtraLight CID Type 0C Identity-H yes yes yes 527 0 +IJEQHD+IBMPlexSerif-ExtraLightItalic CID Type 0C Identity-H yes yes yes 528 0 +HZTCBW+IBMPlexSans-ExtraLight CID Type 0C Identity-H yes yes yes 529 0 +WLPBTC+IBMPlexSans-ExtraLightItalic CID Type 0C Identity-H yes yes yes 530 0 +SYVCDT+IBMPlexSansCond-ExtraLight CID Type 0C Identity-H yes yes yes 531 0 +JXEJAU+IBMPlexSansCond-ExtraLightItalic CID Type 0C Identity-H yes yes yes 532 0 +DOQFAD+IBMPlexMono-ExtraLightItalic CID Type 0C Identity-H yes yes yes 533 0 +GDSJEF+IBMPlexMono-Light CID Type 0C Identity-H yes yes yes 600 0 +SYMGMD+IBMPlexSerif-Light CID Type 0C Identity-H yes yes yes 601 0 +QVQBUO+IBMPlexSerif-LightItalic CID Type 0C Identity-H yes yes yes 602 0 +QZIEVY+IBMPlexSans-Light CID Type 0C Identity-H yes yes yes 603 0 +WJIZOV+IBMPlexSans-LightItalic CID Type 0C Identity-H yes yes yes 604 0 +GVDMXD+IBMPlexSansCond-Light CID Type 0C Identity-H yes yes yes 605 0 +SNUXYI+IBMPlexSansCond-LightItalic CID Type 0C Identity-H yes yes yes 606 0 +FOMAQT+IBMPlexMono-LightItalic CID Type 0C Identity-H yes yes yes 607 0 +DMTFGV+IBMPlexMono-Medium CID Type 0C Identity-H yes yes yes 675 0 +TWPFGQ+IBMPlexSerif-Medium CID Type 0C Identity-H yes yes yes 676 0 +WGTYOA+IBMPlexSerif-SemiBold CID Type 0C Identity-H yes yes yes 677 0 +DMCWQU+IBMPlexSerif-MediumItalic CID Type 0C Identity-H yes yes yes 678 0 +YRHHGK+IBMPlexSerif-SemiBoldItalic CID Type 0C Identity-H yes yes yes 679 0 +FRBRDC+IBMPlexSans-Medium CID Type 0C Identity-H yes yes yes 680 0 +UWGJCC+IBMPlexSans-SemiBold CID Type 0C Identity-H yes yes yes 681 0 +JEUZAA+IBMPlexSans-MediumItalic CID Type 0C Identity-H yes yes yes 682 0 +HCAZHP+IBMPlexSans-SemiBoldItalic CID Type 0C Identity-H yes yes yes 683 0 +CHVNRC+IBMPlexSansCond-Medium CID Type 0C Identity-H yes yes yes 684 0 +NDWVSF+IBMPlexSansCond-SemiBold CID Type 0C Identity-H yes yes yes 685 0 +ZZUWEO+IBMPlexSansCond-MediumItalic CID Type 0C Identity-H yes yes yes 686 0 +KUWWXZ+IBMPlexSansCond-SemiBoldItalic CID Type 0C Identity-H yes yes yes 687 0 +PNXXBX+IBMPlexMono-SemiBold CID Type 0C Identity-H yes yes yes 688 0 +EBDMYK+IBMPlexMono-MediumItalic CID Type 0C Identity-H yes yes yes 689 0 +ENDCYH+IBMPlexMono-SemiBoldItalic CID Type 0C Identity-H yes yes yes 690 0 +YWKFTP+IBMPlexMono-Text CID Type 0C Identity-H yes yes yes 805 0 +HVUBJB+IBMPlexSerif-Text CID Type 0C Identity-H yes yes yes 806 0 +WGTYOA+IBMPlexSerif-SemiBold CID Type 0C Identity-H yes yes yes 807 0 +DKHQQY+IBMPlexSerif-TextItalic CID Type 0C Identity-H yes yes yes 808 0 +YRHHGK+IBMPlexSerif-SemiBoldItalic CID Type 0C Identity-H yes yes yes 809 0 +DEXKKI+IBMPlexSans-Text CID Type 0C Identity-H yes yes yes 810 0 +UWGJCC+IBMPlexSans-SemiBold CID Type 0C Identity-H yes yes yes 811 0 +LEYQNF+IBMPlexSans-TextItalic CID Type 0C Identity-H yes yes yes 812 0 +HCAZHP+IBMPlexSans-SemiBoldItalic CID Type 0C Identity-H yes yes yes 813 0 +ANPWLV+IBMPlexSansCond-Text CID Type 0C Identity-H yes yes yes 814 0 +NDWVSF+IBMPlexSansCond-SemiBold CID Type 0C Identity-H yes yes yes 815 0 +HFQVWK+IBMPlexSansCond-TextItalic CID Type 0C Identity-H yes yes yes 816 0 +KUWWXZ+IBMPlexSansCond-SemiBoldItalic CID Type 0C Identity-H yes yes yes 817 0 +PNXXBX+IBMPlexMono-SemiBold CID Type 0C Identity-H yes yes yes 818 0 +BIWVXY+IBMPlexMono-TextItalic CID Type 0C Identity-H yes yes yes 819 0 +ENDCYH+IBMPlexMono-SemiBoldItalic CID Type 0C Identity-H yes yes yes 820 0 +ZYLRMD+IBMPlexMono CID Type 0C Identity-H yes yes yes 949 0 +LINEUL+IBMPlexSerif CID Type 0C Identity-H yes yes yes 950 0 +ZAWIXM+TeXGyreTermes-Regular CID Type 0C Identity-H yes yes yes 951 0 +KIYDXK+IBMPlexSerif-Bold CID Type 0C Identity-H yes yes yes 952 0 +INJZAD+TeXGyreTermes-Bold CID Type 0C Identity-H yes yes yes 953 0 +WMCBFV+IBMPlexSerif-Italic CID Type 0C Identity-H yes yes yes 954 0 +ZCHXQC+TeXGyreTermes-Italic CID Type 0C Identity-H yes yes yes 955 0 +CYRQKA+IBMPlexSerif-BoldItalic CID Type 0C Identity-H yes yes yes 956 0 +ASXIXF+TeXGyreTermes-BoldItalic CID Type 0C Identity-H yes yes yes 957 0 +GZESJI+IBMPlexSans CID Type 0C Identity-H yes yes yes 958 0 +VDONWX+TeXGyreHeros-Regular CID Type 0C Identity-H yes yes yes 959 0 +MPBKTK+IBMPlexSans-Bold CID Type 0C Identity-H yes yes yes 960 0 +IYTUQN+TeXGyreHeros-Bold CID Type 0C Identity-H yes yes yes 961 0 +NPOWRI+IBMPlexSans-Italic CID Type 0C Identity-H yes yes yes 962 0 +OLUXTF+TeXGyreHeros-Italic CID Type 0C Identity-H yes yes yes 963 0 +OLQBXZ+IBMPlexSans-BoldItalic CID Type 0C Identity-H yes yes yes 964 0 +IJKLHY+TeXGyreHeros-BoldItalic CID Type 0C Identity-H yes yes yes 965 0 +HOGRGT+IBMPlexSansCond CID Type 0C Identity-H yes yes yes 966 0 +ZAGRTY+IBMPlexSansCond-Bold CID Type 0C Identity-H yes yes yes 967 0 +BMDDRP+IBMPlexSansCond-Italic CID Type 0C Identity-H yes yes yes 968 0 +VMYQEL+IBMPlexSansCond-BoldItalic CID Type 0C Identity-H yes yes yes 969 0 +NCRYOB+IBMPlexMono-Bold CID Type 0C Identity-H yes yes yes 970 0 +LJFMUF+IBMPlexMono-Italic CID Type 0C Identity-H yes yes yes 971 0 +UFNHUE+IBMPlexMono-BoldItalic CID Type 0C Identity-H yes yes yes 972 0 diff --git a/fonts/plex-otf/doc/plex-otf-doc.pdf b/fonts/plex-otf/doc/plex-otf-doc.pdf Binary files differnew file mode 100644 index 0000000000..732b82eb37 --- /dev/null +++ b/fonts/plex-otf/doc/plex-otf-doc.pdf diff --git a/fonts/plex-otf/doc/plex-otf-doc.tex b/fonts/plex-otf/doc/plex-otf-doc.tex new file mode 100644 index 0000000000..8ca77ba62c --- /dev/null +++ b/fonts/plex-otf/doc/plex-otf-doc.tex @@ -0,0 +1,855 @@ +%% $Id: plex-otf-doc.tex 755 2018-04-13 11:33:43Z 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,abstract=on]{scrartcl} +%\usepackage[a4paper,twoside]{geometry} + +\usepackage{unicode-math} +\usepackage[RM={Scale=0.94}, + SS={Scale=0.94}, + SScon={Scale=0.94}, + TT={Scale=MatchLowercase,FakeStretch=0.9}, + DefaultFeatures={Ligatures=TeX}]{plex-otf} +\setmathfont{XITS Math} +\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,\sffamilyCon,\ttfamily]{% + \expandafter\@for\expandafter\next\expandafter:\expandafter=#1\do{% +\next +\noindent +\ifcase\thefamcnt \CMD{rmfamily }\or \CMD{sffamily }\or \CMD{sffamilyCon }\or\CMD{ttfamily }\fi +\CMD{normalfont}: +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} +\CMD{bfseries\textbackslash slshape}: +{\bfseries\slshape 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,\sffamilyCon,\ttfamily]{% + \expandafter\@for\expandafter\next\expandafter:\expandafter=#1\do{% +\next +\noindent +\ifcase\thefamcnt \CMD{rmfamily }\or \CMD{sffamily }\or \CMD{sffamilyCon }\or\CMD{ttfamily }\fi +\CMD{normalfont}: +Sphinx of black quartz judge my vow. \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} +\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,\sffamilyCon,\ttfamily]{% + \expandafter\@for\expandafter\next\expandafter:\expandafter=#1\do{% +\next +\noindent +\ifcase\thefamcnt \CMD{rmfamily }\or \CMD{sffamily }\or \CMD{sffamilyCon }\or\CMD{ttfamily }\fi +\CMD{normalfont}: +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. + \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} +{\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*} + + + + + +\title{Support for the {\fontsize{30pt}{32pt}\selectfont\IBM} 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\\ +SScon & code & options for IBM Plex Sans Condensed\\ +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}, + SScon={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 Sans style Condensed} + + +\begingroup +\color{black!20}\sffamilyCon +\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 lowercase 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[DefaultFeatures={Scale=0.94}]{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} +\usepackage[a4paper]{geometry} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[DefaultFeatures={Scale=0.94}]{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} +Sans Serif Condensed: + \PlexExtraLightSScon + \PlexLightSScon + \PlexThinSScon + \PlexMediumSScon + \PlexTextSScon + \PlexSemiBoldSScon +\end{verbatim} +\endminipage + +\begin{verbatim} +Mono: + \PlexExtraLightTT + \PlexLightTT + \PlexThinTT + \PlexMediumTT + \PlexTextTT + \PlexSemiBoldTT +\end{verbatim} + + + + +\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} + + +\clearpage + + + + +\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[a4paper]{geometry} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\newcommand\demo{Some text in the default font style IBM Plex Serif } +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[DefaultFeatures={Scale=0.94}]{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]& +\multicolumn{2}{c}{} & \verb|\uprightarrow| & \uprightarrow\\ +%\verb|\IBM[2]| & \IBM[2]& +\multicolumn{2}{c}{} & \verb|\downleftarrow| & \downleftarrow\\ +%\verb|\IBM[3]| & \IBM[3]& +\multicolumn{2}{c}{} & \verb|\downrightarrow| & \downrightarrow\\ +%\verb|\IBM[4]| & \IBM[4]& +\multicolumn{2}{c}{} & \verb|\leftturn| & \leftturn\\ +\verb|\CE| & \CE & \verb|\rightturn| & \rightturn\\ +\verb|\FCC| & \FCC & \verb|\fullleftturn| & \fullleftturn \\ +\multicolumn{2}{c}{} & \verb|\fullrightturn| & \fullrightturn\\ +\end{tabular} + +\clearpage + + +\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[a4paper]{geometry} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\usepackage{demotext0} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[DefaultFeatures={Scale=0.94}]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} +\end{externalDocument} + +\clearpage + +\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[a4paper]{geometry} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\pagestyle{empty} +\usepackage{demotext0} +%StartVisiblePreamble +\usepackage[DefaultFeatures={Scale=0.94}, + RMstyle=Semibold, + SSstyle=Semibold, + SSconstyle=Semibold, + TTstyle=Semibold]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} +\end{externalDocument} + +\clearpage + + + +\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[a4paper]{geometry} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\pagestyle{empty} +\usepackage{demotext1} +%StartVisiblePreamble +\usepackage[DefaultFeatures={Scale=0.94}, + RMstyle=Thin, + SSstyle=Thin, + SSconstyle=Thin, + TTstyle=Thin]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} +\end{externalDocument} + +\clearpage + + +\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[a4paper]{geometry} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\pagestyle{empty} +\usepackage{demotext1} +%StartVisiblePreamble +\usepackage[DefaultFeatures={Scale=0.94}, + RMstyle=ExtraLight, + SSstyle=ExtraLight, + SSconstyle=ExtraLight, + TTstyle=ExtraLight]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} +\end{externalDocument} +\clearpage + + +\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[a4paper]{geometry} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\pagestyle{empty} +\usepackage{demotext1} +%StartVisiblePreamble +\usepackage[DefaultFeatures={Scale=0.94}, + RMstyle=Light, + SSstyle=Light, + SSconstyle=Light, + TTstyle=Light]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} +\end{externalDocument} + +%\newpage + +\clearpage + +\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[a4paper]{geometry} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\pagestyle{empty} +\usepackage{demotext0} +%StartVisiblePreamble +\usepackage[DefaultFeatures={Scale=0.94}, + RMstyle={Medium,Semibold}, + SSstyle={Medium,Semibold}, + SSconstyle={Medium,Semibold}, + TTstyle={Medium,Semibold}]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} +\end{externalDocument} + +\newpage + +\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[a4paper]{geometry} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\pagestyle{empty} +\usepackage{demotext0} +%StartVisiblePreamble +\usepackage[DefaultFeatures={Scale=0.94}, + RMstyle={Text,Semibold}, + SSstyle={Text,Semibold}, + SSconstyle={Text,Semibold}, + TTstyle={Text,Semibold}]{plex-otf} +%StopVisiblePreamble +\begin{document} +\blindtext +\end{document} +\end{externalDocument} + + +\clearpage + +\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} + + +\clearpage + + +\begin{externalDocument}[ + grfOptions={width=\linewidth}, + frame, + compiler=lualatex, + crop, + force, + runs=2,code,docType=latex, + frame, + showFilename, + align=\centering, +]{plex-otf} +\documentclass{article} +\usepackage[a4paper]{geometry} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\usepackage{demotext2} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[DefaultFeatures={Scale=0.94}, + 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[a4paper]{geometry} +\usepackage[ngerman]{babel} +\usepackage[autostyle]{csquotes} +\usepackage{demotext0} +\pagestyle{empty} +%StartVisiblePreamble +\usepackage[DefaultFeatures={Scale=0.94}, + 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/fonts/plex-otf/latex/plex-otf.sty b/fonts/plex-otf/latex/plex-otf.sty new file mode 100644 index 0000000000..2d6640c7bd --- /dev/null +++ b/fonts/plex-otf/latex/plex-otf.sty @@ -0,0 +1,659 @@ +%% $Id: plex-otf.sty 755 2018-04-13 11:33:43Z 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}[% + 2018/04/13 v. 0.07a (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@SSconstyle{} +\def\Plex@TTstyle{} +\DeclareOptionX{RMstyle}{\def\Plex@RMstyle{#1}} +\DeclareOptionX{SSstyle}{\def\Plex@SSstyle{#1}} +\DeclareOptionX{SSconstyle}{\def\Plex@SSconstyle{#1}} +\DeclareOptionX{TTstyle}{\def\Plex@TTstyle{#1}} +\DeclareOptionX{Style}{% + \def\Plex@RMstyle{#1}% + \def\Plex@SSstyle{#1}% + \def\Plex@SSConstyle{#1}% + \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\PlexSScon@features{}% SansSerif Condensed +\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{SScon}{\renewcommand*\PlexSScon@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}% +\edef\Plex@SSconboldstyle{\Plex@boldstyle} +\edef\Plex@SSconstyle{\Plex@style} +\typeout{SS: \Plex@SSconstyle; \Plex@SSconboldstyle}% + +\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, + 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, + 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, + 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, + 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, + ] +% +% Sans Serif COndensed +% + \edef\Plex@@Weight{\ifx\Plex@SSconstyle\@empty Regular\else\Plex@SSconstyle\fi} + \newfontfamily\sffamilyCon{IBMPlexSansCondensed}[% main sans condensed + Extension = .otf, + UprightFont= *-\Plex@@Weight, + BoldFont = *-\Plex@SSconboldstyle, + ItalicFont = *-\Plex@SSconstyle Italic, + BoldItalicFont = *-\Plex@SSconboldstyle Italic, + SlantedFont = *-\Plex@SSconstyle Italic, +% Scale = 0.92, + \PlexSScon@features, + ] +% + \newfontfamily\slshapeSScon{IBMPlexSansCondensed}[% + Extension = .otf, + FakeSlant = 0.2, + UprightFont = *-\Plex@@Weight, + BoldFont = *-\Plex@SSconboldstyle, + \PlexSScon@features, + ] +% + \newfontfamily\PlexExtraLightSScon{IBMPlexSansCondensed}[% + \PlexSScon@features, + Extension = .otf, + UprightFont= *-ExtraLight, + ItalicFont = *-ExtraLightItalic, + ] + \newfontfamily\PlexLightSScon{IBMPlexSansCondensed}[% + \PlexSScon@features, + Extension = .otf, + UprightFont= *-Light, + ItalicFont = *-LightItalic, + ] + \newfontfamily\PlexThinSScon{IBMPlexSansCondensed}[% + \PlexSScon@features, + Extension = .otf, + UprightFont= *-Thin, + ItalicFont = *-ThinItalic, + ] + \newfontfamily\PlexMediumSScon{IBMPlexSansCondensed}[% + \PlexSScon@features, + Extension = .otf, + UprightFont= *-Medium, + ItalicFont = *-MediumItalic, + ] + \newfontfamily\PlexTextSScon{IBMPlexSansCondensed}[% + \PlexSScon@features, + Extension = .otf, + UprightFont= *-Text, + ItalicFont = *-TextItalic, + ] + \newfontfamily\PlexSemiBoldSScon{IBMPlexSansCondensed}[% + \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, + 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, + 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, + 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}[% + 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, + 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}[% + 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, + ] +%% +%% Snas Serif Condensed +%% + \edef\Plex@@Weight{\ifx\Plex@SSconstyle\@empty\else\Plex@SSconstyle\fi} +% + \newfontfamily\sffamilyCon{IBM Plex Sans Condensed}[% + UprightFont= * \Plex@@Weight, + BoldFont = * \Plex@SSconboldstyle, + ItalicFont = * \Plex@SSconstyle Italic, + BoldItalicFont = * \Plex@SSconboldstyle Italic, + SlantedFont = * \Plex@SSconstyle Italic, +% Scale = 0.92, + \PlexSScon@features, + ] + \newfontfamily\slshapeSScon{IBMPlexSans}[% + FakeSlant = 0.2, + UprightFont = * \Plex@@Weight, + BoldFont = * \Plex@SSconboldstyle, + \PlexSScon@features, + ] + \newfontfamily\PlexExtraLightSScon{IBM Plex Sans}[% + UprightFont= * ExtraLight, + ItalicFont = * ExtraLightItalic, + \PlexSScon@features, + ] + \newfontfamily\PlexLightSScon{IBM Plex Sans}[% + UprightFont= * Light, + ItalicFont = * LightItalic, + \PlexSScon@features, + ] + \newfontfamily\PlexThinSScon{IBM Plex Sans}[% + UprightFont= * Thin, + ItalicFont = * ThinItalic, + \PlexSScon@features, + ] + \newfontfamily\PlexMediumSScon{IBM Plex Sans}[% + UprightFont= * Medium, + ItalicFont = * MediumItalic, + \PlexSScon@features, + ] + \newfontfamily\PlexTextSScon{IBM Plex Sans}[% + UprightFont= * Text, + ItalicFont = * TextItalic, + \PlexSScon@features, + ] + \newfontfamily\PlexSemiBoldSScon{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, + 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}[% + 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 + +\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 +% \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 |