annotate docs/_latex/my-doc-fonts.sty @ 294:a094305c5708

Docs. More cross-refs.
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 23 May 2026 11:43:21 +0200
parents 1b0e58f60f73
children 0052d12ec437
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
181
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
1 % -*- coding: utf-8 -*-
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
2 % SPDX-FileCopyrightText: © 2026 Franz Glasner
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
3 % SPDX-License-Identifier: BSD-3-Clause
181
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
4 %
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
5 % Some font hacks for my Sphinx PDF documents
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
6 %
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
7 \NeedsTeXFormat{LaTeX2e}
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
8 \ProvidesPackage{my-doc-fonts}[%
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
9 2026/05/18 v0.5 (Franz Glasner) Fonts for Sphinx generated PDFs]
181
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
10 \RequirePackage{xkeyval}
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
11 \RequirePackage{fontspec}
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
12 \IfFileExists{xcolor.sty}{%
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
13 % Should Sphinx load xcolor with its dvipsnames and svgnames options?
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
14 \RequirePackage{xcolor}
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
15 }{%
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
16 \RequirePackage{color}
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
17 }
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
18
218
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
19 \newif\if@mdf@mono@dejavusansmono\@mdf@mono@dejavusansmonofalse
225
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
20 \newif\if@mdf@mono@cmmono\@mdf@mono@cmmonofalse
222
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
21 \newif\if@mdf@mono@robotomono\@mdf@mono@robotomonofalse
218
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
22 \newif\if@mdf@mono@sscode\@mdf@mono@sscodefalse
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
23 \newif\if@mdf@mono@inconsolata\@mdf@mono@inconsolatafalse
239
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
24 \newif\if@mdf@mono@libertinusmono\@mdf@mono@libertinusmonofalse
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
25 \newif\if@mdf@mono@hackmono\@mdf@mono@hackmonofalse
236
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
26 \newif\if@mdf@augment@libertinusmono\@mdf@augment@libertinusmonofalse
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
27 \newif\if@mdf@augment@ibmplexmono\@mdf@augment@ibmplexmonofalse
196
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
28
181
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
29 \newif\if@mdf@WithDejaVuSansMono
225
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
30 \newif\if@mdf@WithCM
222
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
31 \newif\if@mdf@WithRobotoMono
218
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
32 \newif\if@mdf@WithIBMPlex
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
33 \newif\if@mdf@WithIBMPlexDejaVuSansMono
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
34 \newif\if@mdf@WithAdobeSourcePro
196
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
35 \newif\if@mdf@WithSpectral
204
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
36 \newif\if@mdf@WithCharter
221
38e2d8ab4965 Implement a style that uses the Libertinus fonts
Franz Glasner <fzglas.hg@dom66.de>
parents: 220
diff changeset
37 \newif\if@mdf@WithLibertinus
231
8f3a000c3be5 Allow the use of Garamond: EB Garamond, Libre Franklin and Inconsolata (with Garamond Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 230
diff changeset
38 \newif\if@mdf@WithGaramond
232
97d66960ea69 A style variant with Tufte fonts: ETbb, GilliusADFNo2 and DejaVu Sans Mono (incl. Libertinus Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 231
diff changeset
39 \newif\if@mdf@WithTufte
234
b797e4c0799a A font style option using Palatino (with Math), Inter and Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 232
diff changeset
40 \newif\if@mdf@WithPalatino
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
41 \newif\if@mdf@WithPalatinoKB
242
0737faace808 A style variant with "Crimson Pro", "Cabin", "Source Code Pro" and "Erewhon Math"
Franz Glasner <fzglas.hg@dom66.de>
parents: 240
diff changeset
42 \newif\if@mdf@WithCrimson
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
43 \newif\if@mdf@WithCrimsonCabin
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
44 \newif\if@mdf@WithDejaVu
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
45 \newif\if@mdf@WithMerriweather
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
46 \newif\if@mdf@WithLiterata
181
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
47
218
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
48 % A key compatible with options processing as option "fonts" but choices.
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
49 \define@choicekey*{my-doc-fonts.sty}{fonts}[\val\nr]{%
229
29826707b7da Comment
Franz Glasner <fzglas.hg@dom66.de>
parents: 228
diff changeset
50 % do not change anything: just deactivate the default "dejavusansmono"
29826707b7da Comment
Franz Glasner <fzglas.hg@dom66.de>
parents: 228
diff changeset
51 default,
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
52 % almost no augmentation needed: all characters available
227
0fb4e7c34b10 Comment the options
Franz Glasner <fzglas.hg@dom66.de>
parents: 226
diff changeset
53 dejavusansmono, % use DejaVu Sans Mono as monospaced font
228
e363dc537be5 Comment
Franz Glasner <fzglas.hg@dom66.de>
parents: 227
diff changeset
54 % the fonts below are augmented for missing characters
227
0fb4e7c34b10 Comment the options
Franz Glasner <fzglas.hg@dom66.de>
parents: 226
diff changeset
55 cm, % assume CM fonts and just fix missing characters
0fb4e7c34b10 Comment the options
Franz Glasner <fzglas.hg@dom66.de>
parents: 226
diff changeset
56 robotomono, % use Roboto Mono as mono font
0fb4e7c34b10 Comment the options
Franz Glasner <fzglas.hg@dom66.de>
parents: 226
diff changeset
57 ibmplex, plex, % use the IBM Plex family (incl. Math)
230
c54b5ffd41d7 FIX: Comment for plex-dejavusansmono
Franz Glasner <fzglas.hg@dom66.de>
parents: 229
diff changeset
58 plex-dejavusansmono, % use IBM Plex Serif/Sans and DejaVu Sans Mono
227
0fb4e7c34b10 Comment the options
Franz Glasner <fzglas.hg@dom66.de>
parents: 226
diff changeset
59 adobesourcepro, adobesource, % Use Adobe Source Serif/Sans/Mono
0fb4e7c34b10 Comment the options
Franz Glasner <fzglas.hg@dom66.de>
parents: 226
diff changeset
60 spectral, % use Spectral, Source Sans Pro and Source Code Pro
0fb4e7c34b10 Comment the options
Franz Glasner <fzglas.hg@dom66.de>
parents: 226
diff changeset
61 charter, % use XCharter (with XCharter Math), Lato and Inconsolata
231
8f3a000c3be5 Allow the use of Garamond: EB Garamond, Libre Franklin and Inconsolata (with Garamond Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 230
diff changeset
62 libertinus, % use Libertinus family (incl. Math)
8f3a000c3be5 Allow the use of Garamond: EB Garamond, Libre Franklin and Inconsolata (with Garamond Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 230
diff changeset
63 garamond, % EB Garamond (with Math), Libre Franklin and Inconsolata
232
97d66960ea69 A style variant with Tufte fonts: ETbb, GilliusADFNo2 and DejaVu Sans Mono (incl. Libertinus Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 231
diff changeset
64 tufte, % Tufte fonts: ETbb (with Math), GilliusADFNo2, DejaVu Sans Mono
234
b797e4c0799a A font style option using Palatino (with Math), Inter and Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 232
diff changeset
65 palatino, % Palatino, Inter and Source Code Pro
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
66 palatino-kb, % Palatino, Lato and Inconsolata (original KB-Admin style)
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
67 crimson, % Crimson Pro, Open Sans and Roboto Mono (Erewhon Math)
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
68 crimson-cabin, % Crimson Pro, Cabin and Source Code Pro (Erewhon Math)
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
69 dejavu, % All DejaVu fonts (Serif, Sans, Mono)
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
70 merriweather, % Merriweather, Merriweather Sans, Hack (STIX Two Math)
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
71 literata, % Literata, Inter, IBM Plex Mono (Garamond Math)
227
0fb4e7c34b10 Comment the options
Franz Glasner <fzglas.hg@dom66.de>
parents: 226
diff changeset
72 }{%
219
a7a6a75cd4b8 Normalize the stored "fonts" option when aliases are given
Franz Glasner <fzglas.hg@dom66.de>
parents: 218
diff changeset
73 % Not used for now : store the normalized option value (global and expanded)
a7a6a75cd4b8 Normalize the stored "fonts" option when aliases are given
Franz Glasner <fzglas.hg@dom66.de>
parents: 218
diff changeset
74 \xdef\@mdf@fonts{\val}%
a7a6a75cd4b8 Normalize the stored "fonts" option when aliases are given
Franz Glasner <fzglas.hg@dom66.de>
parents: 218
diff changeset
75 % Reset all option related font selection flags
218
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
76 \@mdf@WithDejaVuSansMonofalse
225
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
77 \@mdf@WithCMfalse
222
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
78 \@mdf@WithRobotoMonofalse
218
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
79 \@mdf@WithIBMPlexfalse
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
80 \@mdf@WithIBMPlexDejaVuSansMonofalse
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
81 \@mdf@WithAdobeSourceProfalse
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
82 \@mdf@WithSpectralfalse
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
83 \@mdf@WithCharterfalse
221
38e2d8ab4965 Implement a style that uses the Libertinus fonts
Franz Glasner <fzglas.hg@dom66.de>
parents: 220
diff changeset
84 \@mdf@WithLibertinusfalse
231
8f3a000c3be5 Allow the use of Garamond: EB Garamond, Libre Franklin and Inconsolata (with Garamond Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 230
diff changeset
85 \@mdf@WithGaramondfalse
232
97d66960ea69 A style variant with Tufte fonts: ETbb, GilliusADFNo2 and DejaVu Sans Mono (incl. Libertinus Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 231
diff changeset
86 \@mdf@WithTuftefalse
234
b797e4c0799a A font style option using Palatino (with Math), Inter and Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 232
diff changeset
87 \@mdf@WithPalatinofalse
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
88 \@mdf@WithPalatinoKBfalse
242
0737faace808 A style variant with "Crimson Pro", "Cabin", "Source Code Pro" and "Erewhon Math"
Franz Glasner <fzglas.hg@dom66.de>
parents: 240
diff changeset
89 \@mdf@WithCrimsonfalse
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
90 \@mdf@WithCrimsonCabinfalse
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
91 \@mdf@WithDejaVufalse
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
92 \@mdf@WithMerriweatherfalse
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
93 \@mdf@WithLiteratafalse
219
a7a6a75cd4b8 Normalize the stored "fonts" option when aliases are given
Franz Glasner <fzglas.hg@dom66.de>
parents: 218
diff changeset
94 % Now set the needed font selection flag
218
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
95 \ifcase\nr\relax
226
90bbece6fae8 Implement an option for my-doc-fonts.sty to not change anything.
Franz Glasner <fzglas.hg@dom66.de>
parents: 225
diff changeset
96 \relax
90bbece6fae8 Implement an option for my-doc-fonts.sty to not change anything.
Franz Glasner <fzglas.hg@dom66.de>
parents: 225
diff changeset
97 \or
218
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
98 \@mdf@WithDejaVuSansMonotrue
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
99 \or
225
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
100 \@mdf@WithCMtrue
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
101 \or
222
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
102 \@mdf@WithRobotoMonotrue
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
103 \or
218
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
104 \@mdf@WithIBMPlextrue
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
105 \or
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
106 \@mdf@WithIBMPlextrue
219
a7a6a75cd4b8 Normalize the stored "fonts" option when aliases are given
Franz Glasner <fzglas.hg@dom66.de>
parents: 218
diff changeset
107 % Normalize the stored string
a7a6a75cd4b8 Normalize the stored "fonts" option when aliases are given
Franz Glasner <fzglas.hg@dom66.de>
parents: 218
diff changeset
108 \gdef\@mdf@fonts{ibmplex}
218
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
109 \or
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
110 \@mdf@WithIBMPlexDejaVuSansMonotrue
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
111 \or
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
112 \@mdf@WithAdobeSourceProtrue
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
113 \or
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
114 \@mdf@WithAdobeSourceProtrue
219
a7a6a75cd4b8 Normalize the stored "fonts" option when aliases are given
Franz Glasner <fzglas.hg@dom66.de>
parents: 218
diff changeset
115 % Normalize the stored string
a7a6a75cd4b8 Normalize the stored "fonts" option when aliases are given
Franz Glasner <fzglas.hg@dom66.de>
parents: 218
diff changeset
116 \gdef\@mdf@fonts{adobesourcepro}
218
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
117 \or
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
118 \@mdf@WithSpectraltrue
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
119 \or
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
120 \@mdf@WithChartertrue
221
38e2d8ab4965 Implement a style that uses the Libertinus fonts
Franz Glasner <fzglas.hg@dom66.de>
parents: 220
diff changeset
121 \or
38e2d8ab4965 Implement a style that uses the Libertinus fonts
Franz Glasner <fzglas.hg@dom66.de>
parents: 220
diff changeset
122 \@mdf@WithLibertinustrue
231
8f3a000c3be5 Allow the use of Garamond: EB Garamond, Libre Franklin and Inconsolata (with Garamond Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 230
diff changeset
123 \or
8f3a000c3be5 Allow the use of Garamond: EB Garamond, Libre Franklin and Inconsolata (with Garamond Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 230
diff changeset
124 \@mdf@WithGaramondtrue
232
97d66960ea69 A style variant with Tufte fonts: ETbb, GilliusADFNo2 and DejaVu Sans Mono (incl. Libertinus Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 231
diff changeset
125 \or
97d66960ea69 A style variant with Tufte fonts: ETbb, GilliusADFNo2 and DejaVu Sans Mono (incl. Libertinus Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 231
diff changeset
126 \@mdf@WithTuftetrue
234
b797e4c0799a A font style option using Palatino (with Math), Inter and Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 232
diff changeset
127 \or
b797e4c0799a A font style option using Palatino (with Math), Inter and Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 232
diff changeset
128 \@mdf@WithPalatinotrue
242
0737faace808 A style variant with "Crimson Pro", "Cabin", "Source Code Pro" and "Erewhon Math"
Franz Glasner <fzglas.hg@dom66.de>
parents: 240
diff changeset
129 \or
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
130 \@mdf@WithPalatinoKBtrue
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
131 \or
242
0737faace808 A style variant with "Crimson Pro", "Cabin", "Source Code Pro" and "Erewhon Math"
Franz Glasner <fzglas.hg@dom66.de>
parents: 240
diff changeset
132 \@mdf@WithCrimsontrue
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
133 \or
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
134 \@mdf@WithCrimsonCabintrue
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
135 \or
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
136 \@mdf@WithDejaVutrue
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
137 \or
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
138 \@mdf@WithMerriweathertrue
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
139 \or
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
140 \@mdf@WithLiteratatrue
218
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
141 \fi
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
142 }
181
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
143
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
144 %
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
145 % By default use the safe option dejavusansmono because is contains
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
146 % all characters without any hacks.
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
147 %
218
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
148 \ExecuteOptionsX{fonts=dejavusansmono}
214
ad57aaf87799 FIX: Do not process class-level options in my-doc-fonts.sty
Franz Glasner <fzglas.hg@dom66.de>
parents: 205
diff changeset
149 \ProcessOptionsX\relax
181
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
150
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
151 \if@mdf@WithDejaVuSansMono
218
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
152 % default but with DejaVu Sans Mono as monospaced font
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
153 %\RequirePackage[DefaultFeatures={Scale=0.92},mono=false]{plex-otf}
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
154 %\RequirePackage[mono=true,serif=false,sans=false,math=false]{dejavu-otf} % all symbols are available
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
155 \@mdf@mono@dejavusansmonotrue
181
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
156 \fi
225
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
157 \if@mdf@WithCM
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
158 \@mdf@mono@cmmonotrue
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
159 \fi
222
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
160 \if@mdf@WithRobotoMono
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
161 \@mdf@mono@robotomonotrue
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
162 \fi
181
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
163 %
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
164 %
218
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
165 \if@mdf@WithIBMPlex
181
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
166 \RequirePackage[DefaultFeatures={Scale=0.92}]{plex-otf}
189
91e8fb8cf67b FIX: Reset defaultfontfeatures because plex-otf.sty doesn't do it internally
Franz Glasner <fzglas.hg@dom66.de>
parents: 181
diff changeset
167 % Dont keep all default font features from plex-otf
91e8fb8cf67b FIX: Reset defaultfontfeatures because plex-otf.sty doesn't do it internally
Franz Glasner <fzglas.hg@dom66.de>
parents: 181
diff changeset
168 \defaultfontfeatures{}
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
169 \@mdf@augment@ibmplexmonotrue
181
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
170 \fi
218
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
171 \if@mdf@WithIBMPlexDejaVuSansMono
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
172 \RequirePackage[DefaultFeatures={Scale=0.92},mono=false]{plex-otf}
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
173 \@mdf@mono@dejavusansmonotrue
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
174 \fi
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
175 \if@mdf@WithAdobeSourcePro
191
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
176 \defaultfontfeatures{Ligatures=TeX,Numbers={Lining,Tabular}}
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
177 \setmainfont{Source Serif Pro}[
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
178 UprightFont = *,
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
179 BoldFont = * Bold,
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
180 ItalicFont = * Italic,
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
181 BoldItalicFont = * Bold Italic,
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
182 ]
203
ede8b44f6faf Refactor the PDF font style: select only the mono font by internal flag
Franz Glasner <fzglas.hg@dom66.de>
parents: 196
diff changeset
183 \setsansfont{Source Sans Pro}[
ede8b44f6faf Refactor the PDF font style: select only the mono font by internal flag
Franz Glasner <fzglas.hg@dom66.de>
parents: 196
diff changeset
184 UprightFont = *,
ede8b44f6faf Refactor the PDF font style: select only the mono font by internal flag
Franz Glasner <fzglas.hg@dom66.de>
parents: 196
diff changeset
185 BoldFont = * Bold,
ede8b44f6faf Refactor the PDF font style: select only the mono font by internal flag
Franz Glasner <fzglas.hg@dom66.de>
parents: 196
diff changeset
186 ItalicFont = * Italic,
ede8b44f6faf Refactor the PDF font style: select only the mono font by internal flag
Franz Glasner <fzglas.hg@dom66.de>
parents: 196
diff changeset
187 BoldItalicFont = * Bold Italic,
ede8b44f6faf Refactor the PDF font style: select only the mono font by internal flag
Franz Glasner <fzglas.hg@dom66.de>
parents: 196
diff changeset
188 ]
218
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
189 \@mdf@mono@sscodetrue
196
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
190 \fi
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
191 \if@mdf@WithSpectral
235
0d441c8a4712 Use "STIX Two Math" with "Spectral"
Franz Glasner <fzglas.hg@dom66.de>
parents: 234
diff changeset
192 \RequirePackage{unicode-math}
196
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
193 \defaultfontfeatures{Ligatures=TeX,Numbers={Lining,Tabular}}
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
194 \setmainfont{Spectral}[
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
195 UprightFont = * Regular,
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
196 BoldFont = * Bold,
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
197 ItalicFont = * Italic,
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
198 BoldItalicFont = * Bold Italic,
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
199 ]
191
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
200 \setsansfont{Source Sans Pro}[
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
201 UprightFont = *,
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
202 BoldFont = * Bold,
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
203 ItalicFont = * Italic,
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
204 BoldItalicFont = * Bold Italic,
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
205 ]
235
0d441c8a4712 Use "STIX Two Math" with "Spectral"
Franz Glasner <fzglas.hg@dom66.de>
parents: 234
diff changeset
206 \setmathfont{STIX Two Math}[Scale=MatchLowercase]
218
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
207 \@mdf@mono@sscodetrue
203
ede8b44f6faf Refactor the PDF font style: select only the mono font by internal flag
Franz Glasner <fzglas.hg@dom66.de>
parents: 196
diff changeset
208 \fi
204
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
209 \if@mdf@WithCharter
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
210 \defaultfontfeatures{Ligatures=TeX,Numbers={Lining,Tabular}}
223
b902b1360991 Use xcharter-otf.sty instead of \setmainfont{XCharter} because it automatically loads the XCharter Math font
Franz Glasner <fzglas.hg@dom66.de>
parents: 222
diff changeset
211 \RequirePackage{xcharter-otf}% loads also XCharter Math
204
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
212 \setsansfont{Lato}[
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
213 UprightFont = * Regular,
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
214 BoldFont = * Bold,
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
215 ItalicFont = * Italic,
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
216 BoldItalicFont = * Bold Italic,
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
217 Scale = MatchLowercase,
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
218 ]
218
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
219 \@mdf@mono@inconsolatatrue
204
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
220 \fi
221
38e2d8ab4965 Implement a style that uses the Libertinus fonts
Franz Glasner <fzglas.hg@dom66.de>
parents: 220
diff changeset
221 \if@mdf@WithLibertinus
38e2d8ab4965 Implement a style that uses the Libertinus fonts
Franz Glasner <fzglas.hg@dom66.de>
parents: 220
diff changeset
222 \RequirePackage{newunicodechar}
38e2d8ab4965 Implement a style that uses the Libertinus fonts
Franz Glasner <fzglas.hg@dom66.de>
parents: 220
diff changeset
223 \RequirePackage[lining,tabular]{libertinus-otf}
236
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
224 \@mdf@augment@libertinusmonotrue
221
38e2d8ab4965 Implement a style that uses the Libertinus fonts
Franz Glasner <fzglas.hg@dom66.de>
parents: 220
diff changeset
225 \fi
203
ede8b44f6faf Refactor the PDF font style: select only the mono font by internal flag
Franz Glasner <fzglas.hg@dom66.de>
parents: 196
diff changeset
226
231
8f3a000c3be5 Allow the use of Garamond: EB Garamond, Libre Franklin and Inconsolata (with Garamond Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 230
diff changeset
227 \if@mdf@WithGaramond
8f3a000c3be5 Allow the use of Garamond: EB Garamond, Libre Franklin and Inconsolata (with Garamond Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 230
diff changeset
228 \RequirePackage[lining,tabular]{ebgaramond}
8f3a000c3be5 Allow the use of Garamond: EB Garamond, Libre Franklin and Inconsolata (with Garamond Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 230
diff changeset
229 \RequirePackage{unicode-math}
8f3a000c3be5 Allow the use of Garamond: EB Garamond, Libre Franklin and Inconsolata (with Garamond Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 230
diff changeset
230 \setmathfont{Garamond-Math}[Scale=MatchLowercase]
8f3a000c3be5 Allow the use of Garamond: EB Garamond, Libre Franklin and Inconsolata (with Garamond Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 230
diff changeset
231 \setsansfont{Libre Franklin}[Scale=MatchLowercase,Ligatures=TeX]
8f3a000c3be5 Allow the use of Garamond: EB Garamond, Libre Franklin and Inconsolata (with Garamond Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 230
diff changeset
232 \@mdf@mono@inconsolatatrue
8f3a000c3be5 Allow the use of Garamond: EB Garamond, Libre Franklin and Inconsolata (with Garamond Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 230
diff changeset
233 \fi
8f3a000c3be5 Allow the use of Garamond: EB Garamond, Libre Franklin and Inconsolata (with Garamond Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 230
diff changeset
234
232
97d66960ea69 A style variant with Tufte fonts: ETbb, GilliusADFNo2 and DejaVu Sans Mono (incl. Libertinus Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 231
diff changeset
235 \if@mdf@WithTufte
97d66960ea69 A style variant with Tufte fonts: ETbb, GilliusADFNo2 and DejaVu Sans Mono (incl. Libertinus Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 231
diff changeset
236 \RequirePackage{unicode-math}
97d66960ea69 A style variant with Tufte fonts: ETbb, GilliusADFNo2 and DejaVu Sans Mono (incl. Libertinus Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 231
diff changeset
237 \defaultfontfeatures{Numbers={Lining,Tabular},Ligatures=TeX}
97d66960ea69 A style variant with Tufte fonts: ETbb, GilliusADFNo2 and DejaVu Sans Mono (incl. Libertinus Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 231
diff changeset
238 \setmainfont{ETbb}
97d66960ea69 A style variant with Tufte fonts: ETbb, GilliusADFNo2 and DejaVu Sans Mono (incl. Libertinus Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 231
diff changeset
239 \setsansfont{GilliusADFNo2}[Scale=MatchLowercase]
97d66960ea69 A style variant with Tufte fonts: ETbb, GilliusADFNo2 and DejaVu Sans Mono (incl. Libertinus Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 231
diff changeset
240 \setmathfont{Libertinus Math}[Scale=MatchLowercase]
97d66960ea69 A style variant with Tufte fonts: ETbb, GilliusADFNo2 and DejaVu Sans Mono (incl. Libertinus Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 231
diff changeset
241 \@mdf@mono@dejavusansmonotrue
97d66960ea69 A style variant with Tufte fonts: ETbb, GilliusADFNo2 and DejaVu Sans Mono (incl. Libertinus Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 231
diff changeset
242 \fi
97d66960ea69 A style variant with Tufte fonts: ETbb, GilliusADFNo2 and DejaVu Sans Mono (incl. Libertinus Math)
Franz Glasner <fzglas.hg@dom66.de>
parents: 231
diff changeset
243
234
b797e4c0799a A font style option using Palatino (with Math), Inter and Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 232
diff changeset
244 \if@mdf@WithPalatino
b797e4c0799a A font style option using Palatino (with Math), Inter and Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 232
diff changeset
245 \RequirePackage{unicode-math}
b797e4c0799a A font style option using Palatino (with Math), Inter and Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 232
diff changeset
246 \linespread{1.06}
b797e4c0799a A font style option using Palatino (with Math), Inter and Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 232
diff changeset
247 \defaultfontfeatures{Numbers={Lining,Tabular},Ligatures=TeX}
b797e4c0799a A font style option using Palatino (with Math), Inter and Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 232
diff changeset
248 \setmainfont{TeXGyrePagellaX}
b797e4c0799a A font style option using Palatino (with Math), Inter and Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 232
diff changeset
249 \setsansfont{Inter}[Scale=MatchLowercase]
b797e4c0799a A font style option using Palatino (with Math), Inter and Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 232
diff changeset
250 %\setsansfont{Rosario}[Scale=MatchLowercase,ScaleAgain=1.013]
b797e4c0799a A font style option using Palatino (with Math), Inter and Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 232
diff changeset
251 %\setmathfont{Asana Math}[Scale=MatchLowercase]
b797e4c0799a A font style option using Palatino (with Math), Inter and Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 232
diff changeset
252 \setmathfont{TeX Gyre Pagella Math}[Scale=MatchLowercase]
239
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
253 %\@mdf@mono@sscodetrue
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
254 \@mdf@mono@libertinusmonotrue
234
b797e4c0799a A font style option using Palatino (with Math), Inter and Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 232
diff changeset
255 \fi
b797e4c0799a A font style option using Palatino (with Math), Inter and Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 232
diff changeset
256
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
257 \if@mdf@WithPalatinoKB
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
258 \RequirePackage{unicode-math}
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
259 \linespread{1.06}
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
260 \defaultfontfeatures{Numbers={Lining,Tabular},Ligatures=TeX}
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
261 \setmainfont{TeXGyrePagellaX}
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
262 \setsansfont{Lato}[%
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
263 UprightFont = * Regular,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
264 BoldFont = * Bold,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
265 ItalicFont = * Italic,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
266 BoldItalicFont = * Bold Italic,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
267 Scale=MatchLowercase]
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
268 %\setsansfont{Rosario}[Scale=MatchLowercase,ScaleAgain=1.013]
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
269 %\setmathfont{Asana Math}[Scale=MatchLowercase]
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
270 \setmathfont{TeX Gyre Pagella Math}[Scale=MatchLowercase]
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
271 \@mdf@mono@inconsolatatrue
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
272 \fi
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
273
242
0737faace808 A style variant with "Crimson Pro", "Cabin", "Source Code Pro" and "Erewhon Math"
Franz Glasner <fzglas.hg@dom66.de>
parents: 240
diff changeset
274 \if@mdf@WithCrimson
0737faace808 A style variant with "Crimson Pro", "Cabin", "Source Code Pro" and "Erewhon Math"
Franz Glasner <fzglas.hg@dom66.de>
parents: 240
diff changeset
275 \RequirePackage{unicode-math}
0737faace808 A style variant with "Crimson Pro", "Cabin", "Source Code Pro" and "Erewhon Math"
Franz Glasner <fzglas.hg@dom66.de>
parents: 240
diff changeset
276 \defaultfontfeatures{Ligatures=TeX, Numbers={Lining,Tabular}}
0737faace808 A style variant with "Crimson Pro", "Cabin", "Source Code Pro" and "Erewhon Math"
Franz Glasner <fzglas.hg@dom66.de>
parents: 240
diff changeset
277 \setmainfont{Crimson Pro}
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
278 \setsansfont{Open Sans}[Scale=MatchLowercase]
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
279 \defaultfontfeatures{}% Erewhon Math needs this here!
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
280 \setmathfont{Erewhon Math}[Scale=MatchLowercase]
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
281 %\@mdf@mono@sscodetrue
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
282 %\@mdf@mono@inconsolatatrue
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
283 \@mdf@mono@robotomonotrue
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
284 \fi
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
285
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
286 \if@mdf@WithCrimsonCabin
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
287 \RequirePackage{unicode-math}
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
288 \defaultfontfeatures{Ligatures=TeX, Numbers={Lining,Tabular}}
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
289 \setmainfont{Crimson Pro}
242
0737faace808 A style variant with "Crimson Pro", "Cabin", "Source Code Pro" and "Erewhon Math"
Franz Glasner <fzglas.hg@dom66.de>
parents: 240
diff changeset
290 \setsansfont{Cabin}[Scale=MatchLowercase]
0737faace808 A style variant with "Crimson Pro", "Cabin", "Source Code Pro" and "Erewhon Math"
Franz Glasner <fzglas.hg@dom66.de>
parents: 240
diff changeset
291 \defaultfontfeatures{}% Erewhon Math needs this here!
0737faace808 A style variant with "Crimson Pro", "Cabin", "Source Code Pro" and "Erewhon Math"
Franz Glasner <fzglas.hg@dom66.de>
parents: 240
diff changeset
292 \setmathfont{Erewhon Math}[Scale=MatchLowercase]
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
293 %\@mdf@mono@sscodetrue
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
294 \@mdf@mono@inconsolatatrue
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
295 \fi
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
296
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
297 \if@mdf@WithDejaVu
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
298 \RequirePackage{newunicodechar}
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
299 % automatically applied with Scale=MatchLowercase,...
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
300 \RequirePackage[mono=true,serif=true,sans=true,math=true]{dejavu-otf}
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
301 \newunicodechar{}{{\DejaVuSansCondensed }}% U+2387
242
0737faace808 A style variant with "Crimson Pro", "Cabin", "Source Code Pro" and "Erewhon Math"
Franz Glasner <fzglas.hg@dom66.de>
parents: 240
diff changeset
302 \fi
0737faace808 A style variant with "Crimson Pro", "Cabin", "Source Code Pro" and "Erewhon Math"
Franz Glasner <fzglas.hg@dom66.de>
parents: 240
diff changeset
303
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
304 \if@mdf@WithMerriweather
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
305 \RequirePackage{unicode-math}
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
306 \linespread{1.06}
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
307 \defaultfontfeatures{%
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
308 Scale = 0.92,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
309 Ligatures = TeX,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
310 Numbers = {Lining,Tabular},
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
311 Extension = .otf,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
312 }
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
313 \setmainfont{Merriweather}[%
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
314 UprightFont = *-Regular ,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
315 ItalicFont = *-Italic ,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
316 BoldFont = *-Bold ,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
317 BoldItalicFont = *-BoldItalic
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
318 ]
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
319 \setsansfont{MerriweatherSans}[%
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
320 UprightFont = *-Regular ,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
321 ItalicFont = *-Italic ,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
322 BoldFont = *-Bold ,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
323 BoldItalicFont = *-BoldItalic
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
324 ]
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
325 \defaultfontfeatures{}
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
326 \setmathfont{STIX Two Math}[Scale=MatchLowercase]
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
327 \@mdf@mono@hackmonotrue
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
328 \fi
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
329
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
330 \if@mdf@WithLiterata
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
331 \RequirePackage{unicode-math}
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
332 \defaultfontfeatures{%
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
333 Ligatures = TeX,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
334 Numbers = {Lining,Tabular},
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
335 }
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
336 \setmainfont{Literata}
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
337 \setsansfont{Inter}[Scale=MatchLowercase]
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
338 \defaultfontfeatures{}
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
339 \setmathfont{Garamond-Math}[Scale=MatchLowercase]
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
340 \setmonofont{IBMPlexMono}[%
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
341 Extension = .otf,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
342 Scale = MatchLowercase,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
343 Ligatures = TeX,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
344 UprightFont= *-Regular,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
345 BoldFont = *-Bold,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
346 ItalicFont = *-Italic,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
347 BoldItalicFont = *-BoldItalic,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
348 SlantedFont = *-Italic,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
349 ]
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
350 \@mdf@augment@ibmplexmonotrue
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
351 \fi
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
352
203
ede8b44f6faf Refactor the PDF font style: select only the mono font by internal flag
Franz Glasner <fzglas.hg@dom66.de>
parents: 196
diff changeset
353 \defaultfontfeatures{}
ede8b44f6faf Refactor the PDF font style: select only the mono font by internal flag
Franz Glasner <fzglas.hg@dom66.de>
parents: 196
diff changeset
354
218
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
355 \if@mdf@mono@dejavusansmono
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
356 \RequirePackage{newunicodechar}
218
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
357 % automatically applied with Scale=MatchLowercase,...
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
358 \RequirePackage[mono=true,serif=false,sans=false,math=false]{dejavu-otf} % almost all symbols are available
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
359 \newunicodechar{}{{\DejaVuSansCondensed }}% U+2387
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
360 \fi
225
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
361
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
362 \if@mdf@mono@cmmono
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
363 \RequirePackage{newunicodechar}
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
364 \defaultfontfeatures{Ligatures=TeX,Numbers={Lining,Tabular},Scale=MatchLowercase}
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
365 \newfontfamily\DejaVuSansMono{DejaVu Sans Mono}[%
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
366 UprightFont = *,
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
367 BoldFont = * Bold,
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
368 ItalicFont = * Oblique,
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
369 BoldItalicFont = * Bold Oblique,
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
370 ]
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
371 \newfontfamily\DejaVuSansCondensed{DejaVu Sans Condensed}[%
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
372 UprightFont = *,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
373 BoldFont = * Bold,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
374 ItalicFont = * Oblique,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
375 BoldItalicFont = * Bold Oblique,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
376 ]
225
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
377 \newunicodechar{}{{\DejaVuSansMono }}% U+25B7
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
378 \newunicodechar{}{{\DejaVuSansMono }}% U+2236
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
379 \newunicodechar{}{{\DejaVuSansMono }}% U+25C6
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
380 \newunicodechar{}{{\DejaVuSansMono }}% U+27F5
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
381 \newunicodechar{}{{\DejaVuSansMono }}% U+27F6
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
382 \newunicodechar{}{{\DejaVuSansMono }}% U+27F7
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
383 \newunicodechar{}{{\DejaVuSansMono }}% U+21D2
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
384 \newunicodechar{}{{\DejaVuSansMono }}% U+21D4
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
385 \newunicodechar{}{{\DejaVuSansMono }}% U+25AA
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
386 \newunicodechar{}{{\DejaVuSansMono }}% U+225F
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
387 \newunicodechar{}{{\DejaVuSansMono }}% U+2208
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
388 \newunicodechar{}{{\DejaVuSansMono }}% U+220C
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
389 \newunicodechar{}{{\DejaVuSansMono }}% U+2260
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
390 \newunicodechar{}{{\DejaVuSansMono }}% U+2264
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
391 \newunicodechar{}{{\DejaVuSansMono }}% U+2265
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
392 \newunicodechar{}{{\DejaVuSansMono }}% U+2259
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
393 \newunicodechar{}{{\DejaVuSansMono }}% U+21AA
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
394 \newunicodechar{}{{\DejaVuSansMono }}% U+21A9
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
395 \newunicodechar{}{{\DejaVuSansMono }}% U+21E7
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
396 \newunicodechar{}{{\DejaVuSansMono }}% U+2303
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
397 \newunicodechar{}{{\DejaVuSansMono }}% U+2388
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
398 \newunicodechar{}{{\DejaVuSansMono }}% U+2325
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
399 \newunicodechar{}{{\DejaVuSansCondensed }}% U+2387
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
400 \newunicodechar{}{{\DejaVuSansMono }}% U+2318
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
401 \newunicodechar{}{{\DejaVuSansMono }}% U+23CF
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
402 \newunicodechar{}{{\DejaVuSansMono }}% U+232B
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
403 \newunicodechar{}{{\DejaVuSansMono }}% U+2326
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
404 \newunicodechar{}{{\DejaVuSansMono }}% U+21E5
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
405 \newunicodechar{}{{\DejaVuSansMono }}% U+21E4
225
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
406 \PassOptionsToPackage{%
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
407 verbatimvisiblespace={\textcolor{red}{{\DejaVuSansMono^^^^2423}}},%
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
408 verbatimcontinued={\textcolor{red}{{\DejaVuSansMono^^^^21aa}}}}%
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
409 {sphinx}
218
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
410 \fi
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
411
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
412 \if@mdf@mono@sscode
203
ede8b44f6faf Refactor the PDF font style: select only the mono font by internal flag
Franz Glasner <fzglas.hg@dom66.de>
parents: 196
diff changeset
413 \RequirePackage{newunicodechar}
ede8b44f6faf Refactor the PDF font style: select only the mono font by internal flag
Franz Glasner <fzglas.hg@dom66.de>
parents: 196
diff changeset
414 \defaultfontfeatures{Ligatures=TeX,Numbers={Lining,Tabular},Scale=MatchLowercase}
191
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
415 \setmonofont{Source Code Pro}[
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
416 UprightFont = *,
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
417 BoldFont = * Bold,
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
418 ItalicFont = * Italic,
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
419 BoldItalicFont = * Bold Italic,
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
420 ]
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
421 \newfontfamily\DejaVuSansMono{DejaVu Sans Mono}[%
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
422 UprightFont = *,
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
423 BoldFont = * Bold,
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
424 ItalicFont = * Oblique,
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
425 BoldItalicFont = * Bold Oblique,
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
426 ]
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
427 \newfontfamily\DejaVuSansCondensed{DejaVu Sans Condensed}[%
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
428 UprightFont = *,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
429 BoldFont = * Bold,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
430 ItalicFont = * Oblique,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
431 BoldItalicFont = * Bold Oblique,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
432 ]
191
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
433 \newunicodechar{}{{\DejaVuSansMono }}% U+2236
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
434 \newunicodechar{}{{\DejaVuSansMono }}% U+27F5
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
435 \newunicodechar{}{{\DejaVuSansMono }}% U+27F6
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
436 \newunicodechar{}{{\DejaVuSansMono }}% U+27F7
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
437 \newunicodechar{}{{\DejaVuSansMono }}% U+21D2
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
438 \newunicodechar{}{{\DejaVuSansMono }}% U+21D4
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
439 \newunicodechar{}{{\DejaVuSansMono }}% U+225F
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
440 \newunicodechar{}{{\DejaVuSansMono }}% U+2208
196
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
441 \newunicodechar{}{{\DejaVuSansMono }}% U+220C
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
442 \newunicodechar{}{{\DejaVuSansMono }}% U+2259
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
443 \newunicodechar{}{{\DejaVuSansMono }}% U+2423
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
444 \newunicodechar{}{{\DejaVuSansMono }}% U+21AA
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
445 \newunicodechar{}{{\DejaVuSansMono }}% U+21A9
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
446 \newunicodechar{}{{\DejaVuSansMono }}% U+21E7
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
447 \newunicodechar{}{{\DejaVuSansMono }}% U+2303
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
448 \newunicodechar{}{{\DejaVuSansMono }}% U+2388
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
449 \newunicodechar{}{{\DejaVuSansMono }}% U+2325
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
450 \newunicodechar{}{{\DejaVuSansCondensed }}% U+2387
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
451 \newunicodechar{}{{\DejaVuSansMono }}% U+2318
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
452 \newunicodechar{}{{\DejaVuSansMono }}% U+23CF
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
453 \newunicodechar{}{{\DejaVuSansMono }}% U+232B
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
454 \newunicodechar{}{{\DejaVuSansMono }}% U+2326
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
455 \newunicodechar{}{{\DejaVuSansMono }}% U+21E5
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
456 \newunicodechar{}{{\DejaVuSansMono }}% U+21E4
191
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
457 \PassOptionsToPackage{%
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
458 verbatimvisiblespace={\textcolor{red}{{\DejaVuSansMono^^^^2423}}},%
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
459 verbatimcontinued={\textcolor{red}{{\DejaVuSansMono^^^^21aa}}}}%
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
460 {sphinx}
c10b2092c48f Also make a PDF style variant using Adobe Source Serif/Sans/Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 189
diff changeset
461 \fi
196
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
462
218
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
463 \if@mdf@mono@inconsolata
204
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
464 \RequirePackage{newunicodechar}
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
465 \defaultfontfeatures{Ligatures=TeX,Numbers={Lining,Tabular},Scale=MatchLowercase}
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
466 \setmonofont{Inconsolata LGC Nerd Font Mono}[%
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
467 UprightFont = *,
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
468 BoldFont = * Bold,
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
469 ItalicFont = * Italic,
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
470 BoldItalicFont = * Bold Italic,
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
471 ]
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
472 \newfontfamily\DejaVuSansMono{DejaVu Sans Mono}[%
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
473 UprightFont = *,
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
474 BoldFont = * Bold,
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
475 ItalicFont = * Oblique,
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
476 BoldItalicFont = * Bold Oblique,
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
477 ]
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
478 \newfontfamily\DejaVuSansCondensed{DejaVu Sans Condensed}[%
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
479 UprightFont = *,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
480 BoldFont = * Bold,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
481 ItalicFont = * Oblique,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
482 BoldItalicFont = * Bold Oblique,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
483 ]
204
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
484 \newunicodechar{}{{\DejaVuSansMono }}% U+2236
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
485 \newunicodechar{}{{\DejaVuSansMono }}% U+27F5
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
486 \newunicodechar{}{{\DejaVuSansMono }}% U+27F6
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
487 \newunicodechar{}{{\DejaVuSansMono }}% U+27F7
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
488 \newunicodechar{}{{\DejaVuSansMono }}% U+225F
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
489 \newunicodechar{}{{\DejaVuSansMono }}% U+2208
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
490 \newunicodechar{}{{\DejaVuSansMono }}% U+220C
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
491 \newunicodechar{}{{\DejaVuSansMono }}% U+2259
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
492 \newunicodechar{}{{\DejaVuSansMono }}% U+21AA
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
493 \newunicodechar{}{{\DejaVuSansMono }}% U+21A9
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
494 \newunicodechar{}{{\DejaVuSansMono }}% U+21E7
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
495 \newunicodechar{}{{\DejaVuSansMono }}% U+2303
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
496 \newunicodechar{}{{\DejaVuSansMono }}% U+2388
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
497 \newunicodechar{}{{\DejaVuSansMono }}% U+2325
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
498 \newunicodechar{}{{\DejaVuSansCondensed }}% U+2387
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
499 \newunicodechar{}{{\DejaVuSansMono }}% U+2318
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
500 \newunicodechar{}{{\DejaVuSansMono }}% U+23CF
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
501 \newunicodechar{}{{\DejaVuSansMono }}% U+232B
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
502 \newunicodechar{}{{\DejaVuSansMono }}% U+2326
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
503 \newunicodechar{}{{\DejaVuSansMono }}% U+21E5
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
504 \newunicodechar{}{{\DejaVuSansMono }}% U+21E4
204
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
505 \fi
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
506
222
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
507 \if@mdf@mono@robotomono
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
508 \RequirePackage{newunicodechar}
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
509 \defaultfontfeatures{Ligatures=TeX,Numbers={Lining,Tabular},Scale=MatchLowercase}
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
510 \setmonofont{Roboto Mono}[%
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
511 UprightFont = *,
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
512 BoldFont = * Bold,
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
513 ItalicFont = * Italic,
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
514 BoldItalicFont = * Bold Italic,
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
515 ]
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
516 \newfontfamily\DejaVuSansMono{DejaVu Sans Mono}[%
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
517 UprightFont = *,
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
518 BoldFont = * Bold,
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
519 ItalicFont = * Oblique,
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
520 BoldItalicFont = * Bold Oblique,
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
521 ]
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
522 \newfontfamily\DejaVuSansCondensed{DejaVu Sans Condensed}[%
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
523 UprightFont = *,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
524 BoldFont = * Bold,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
525 ItalicFont = * Oblique,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
526 BoldItalicFont = * Bold Oblique,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
527 ]
222
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
528 \newunicodechar{}{{\DejaVuSansMono }}% U+25B7
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
529 \newunicodechar{}{{\DejaVuSansMono }}% U+2236
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
530 \newunicodechar{}{{\DejaVuSansMono }}% U+25C6
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
531 \newunicodechar{}{{\DejaVuSansMono }}% U+27F5
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
532 \newunicodechar{}{{\DejaVuSansMono }}% U+27F6
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
533 \newunicodechar{}{{\DejaVuSansMono }}% U+27F7
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
534 \newunicodechar{}{{\DejaVuSansMono }}% U+21D2
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
535 \newunicodechar{}{{\DejaVuSansMono }}% U+21D4
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
536 \newunicodechar{}{{\DejaVuSansMono }}% U+25AA
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
537 \newunicodechar{}{{\DejaVuSansMono }}% U+225F
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
538 \newunicodechar{}{{\DejaVuSansMono }}% U+2208
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
539 \newunicodechar{}{{\DejaVuSansMono }}% U+220C
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
540 \newunicodechar{}{{\DejaVuSansMono }}% U+2259
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
541 \newunicodechar{}{{\DejaVuSansMono }}% U+2423
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
542 \newunicodechar{}{{\DejaVuSansMono }}% U+21AA
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
543 \newunicodechar{}{{\DejaVuSansMono }}% U+21A9
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
544 \newunicodechar{}{{\DejaVuSansMono }}% U+21E7
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
545 \newunicodechar{}{{\DejaVuSansMono }}% U+2303
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
546 \newunicodechar{}{{\DejaVuSansMono }}% U+2388
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
547 \newunicodechar{}{{\DejaVuSansMono }}% U+2325
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
548 \newunicodechar{}{{\DejaVuSansCondensed }}% U+2387
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
549 \newunicodechar{}{{\DejaVuSansMono }}% U+2318
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
550 \newunicodechar{}{{\DejaVuSansMono }}% U+23CF
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
551 \newunicodechar{}{{\DejaVuSansMono }}% U+232B
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
552 \newunicodechar{}{{\DejaVuSansMono }}% U+2326
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
553 \newunicodechar{}{{\DejaVuSansMono }}% U+21E5
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
554 \newunicodechar{}{{\DejaVuSansMono }}% U+21E4
222
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
555 \PassOptionsToPackage{%
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
556 verbatimvisiblespace={\textcolor{red}{{\DejaVuSansMono^^^^2423}}},%
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
557 verbatimcontinued={\textcolor{red}{{\DejaVuSansMono^^^^21aa}}}}%
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
558 {sphinx}
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
559 \fi
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
560
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
561 \if@mdf@mono@hackmono
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
562 \defaultfontfeatures{Ligatures=TeX,Numbers={Lining,Tabular},Scale=MatchLowercase}
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
563 \RequirePackage{newunicodechar}
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
564 \setmonofont{Hack}
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
565 \newfontfamily\DejaVuSansMono{DejaVu Sans Mono}[%
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
566 UprightFont = *,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
567 BoldFont = * Bold,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
568 ItalicFont = * Oblique,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
569 BoldItalicFont = * Bold Oblique,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
570 Scale=MatchLowercase,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
571 Ligatures=TeX,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
572 ]
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
573 \newfontfamily\DejaVuSansCondensed{DejaVu Sans Condensed}[%
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
574 UprightFont = *,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
575 BoldFont = * Bold,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
576 ItalicFont = * Oblique,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
577 BoldItalicFont = * Bold Oblique,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
578 Scale=MatchLowercase,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
579 Ligatures=TeX,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
580 ]
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
581 \newunicodechar{}{{\DejaVuSansMono }}% U+2423
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
582 \newunicodechar{}{{\DejaVuSansMono }}% U+2303
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
583 \newunicodechar{}{{\DejaVuSansMono }}% U+2388
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
584 \newunicodechar{}{{\DejaVuSansMono }}% U+2325
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
585 \newunicodechar{}{{\DejaVuSansCondensed }}% U+2387
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
586 \newunicodechar{}{{\DejaVuSansMono }}% U+2318
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
587 \newunicodechar{}{{\DejaVuSansMono }}% U+23CF
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
588 \newunicodechar{}{{\DejaVuSansMono }}% U+232B
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
589 \newunicodechar{}{{\DejaVuSansMono }}% U+2326
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
590 \PassOptionsToPackage{%
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
591 verbatimvisiblespace={\textcolor{red}{{\DejaVuSansMono^^^^2423}}},%
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
592 verbatimcontinued={\textcolor{red}{{\DejaVuSansMono^^^^21aa}}}}%
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
593 {sphinx}
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
594 \fi
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
595
239
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
596 \if@mdf@mono@libertinusmono
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
597 % This is stolen from libertinus-otf.sty!
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
598 \setmonofont{LibertinusMono}[%
242
0737faace808 A style variant with "Crimson Pro", "Cabin", "Source Code Pro" and "Erewhon Math"
Franz Glasner <fzglas.hg@dom66.de>
parents: 240
diff changeset
599 Ligatures = TeX,
239
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
600 Numbers = {Lining, Tabular},
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
601 Scale = MatchLowercase,
240
e18c4bec7889 Do not stretch the Libertinus Mono font with 0.9 but with 0.94 for Palatino
Franz Glasner <fzglas.hg@dom66.de>
parents: 239
diff changeset
602 FakeStretch = 0.94,
239
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
603 UprightFont = *-Regular,
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
604 ItalicFont = *-Regular,
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
605 ItalicFeatures = {FakeSlant=0.2},
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
606 SlantedFont = *-Regular,
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
607 SlantedFeatures= {FakeSlant=0.2},
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
608 BoldFont = *-Regular,
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
609 BoldFeatures = {RawFeature={embolden=3}},
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
610 BoldItalicFont = *-Regular,
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
611 BoldItalicFeatures={FakeSlant=0.2,RawFeature={embolden=3}},
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
612 Extension = .otf,
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
613 ]
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
614 \@mdf@augment@libertinusmonotrue
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
615 \fi
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
616
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
617 \if@mdf@augment@ibmplexmono
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
618 \RequirePackage{newunicodechar}
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
619 \newfontfamily\DejaVuSansMono{DejaVu Sans Mono}[%
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
620 UprightFont = *,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
621 BoldFont = * Bold,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
622 ItalicFont = * Oblique,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
623 BoldItalicFont = * Bold Oblique,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
624 Scale=MatchLowercase,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
625 Ligatures=TeX,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
626 ]
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
627 \newfontfamily\DejaVuSansCondensed{DejaVu Sans Condensed}[%
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
628 UprightFont = *,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
629 BoldFont = * Bold,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
630 ItalicFont = * Oblique,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
631 BoldItalicFont = * Bold Oblique,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
632 Scale=MatchLowercase,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
633 Ligatures=TeX,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
634 ]
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
635 \newunicodechar{}{{\DejaVuSansMono }}% U+25B7
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
636 \newunicodechar{}{{\DejaVuSansMono }}% U+2236
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
637 \newunicodechar{}{{\DejaVuSansMono }}% U+25C6
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
638 \newunicodechar{}{{\DejaVuSansMono }}% U+25AA
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
639 \newunicodechar{}{{\DejaVuSansMono }}% U+27F5
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
640 \newunicodechar{}{{\DejaVuSansMono }}% U+27F6
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
641 \newunicodechar{}{{\DejaVuSansMono }}% U+27F7
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
642 \newunicodechar{}{{\DejaVuSansMono }}% U+21D2
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
643 \newunicodechar{}{{\DejaVuSansMono }}% U+21D4
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
644 \newunicodechar{}{{\DejaVuSansMono }}% U+225F
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
645 \newunicodechar{}{{\DejaVuSansMono }}% U+2208
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
646 \newunicodechar{}{{\DejaVuSansMono }}% U+220C
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
647 \newunicodechar{}{{\DejaVuSansMono }}% U+2259
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
648 \newunicodechar{}{{\DejaVuSansMono }}% U+2423
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
649 \newunicodechar{}{{\DejaVuSansMono }}% U+21E7
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
650 \newunicodechar{}{{\DejaVuSansMono }}% U+2303
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
651 \newunicodechar{}{{\DejaVuSansMono }}% U+2388
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
652 \newunicodechar{}{{\DejaVuSansMono }}% U+2325
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
653 \newunicodechar{}{{\DejaVuSansCondensed }}% U+2387
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
654 \newunicodechar{}{{\DejaVuSansMono }}% U+2318
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
655 \newunicodechar{}{{\DejaVuSansMono }}% U+23CF
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
656 \newunicodechar{}{{\DejaVuSansMono }}% U+232B
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
657 \newunicodechar{}{{\DejaVuSansMono }}% U+2326
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
658 \newunicodechar{}{{\DejaVuSansMono }}% U+21E5
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
659 \newunicodechar{}{{\DejaVuSansMono }}% U+21E4
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
660 %\newunicodechar{^^^^2423}{{\DejaVuSansMono^^^^2423}}% U+2423
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
661 %\newunicodechar{}{\textvisiblespace}% U+2423
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
662 %\catcode`^^^^2423\active\protected\def^^^^2423{\textvisiblespace}
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
663
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
664 \PassOptionsToPackage{%
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
665 verbatimvisiblespace={\textcolor{red}{{\DejaVuSansMono^^^^2423}}},%
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
666 verbatimcontinued={\textcolor{red}{{\DejaVuSansMono^^^^21aa}}}}%
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
667 {sphinx}
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
668 \fi
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
669
236
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
670 \if@mdf@augment@libertinusmono
238
b60d719f7cde FIX: Package newunicodechar is required for augmenting
Franz Glasner <fzglas.hg@dom66.de>
parents: 236
diff changeset
671 \RequirePackage{newunicodechar}
236
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
672 \newfontfamily\DejaVuSansMono{DejaVu Sans Mono}[%
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
673 UprightFont = *,
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
674 BoldFont = * Bold,
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
675 ItalicFont = * Oblique,
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
676 BoldItalicFont = * Bold Oblique,
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
677 Scale=MatchLowercase,
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
678 Ligatures=TeX,
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
679 ]
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
680 \newfontfamily\DejaVuSansCondensed{DejaVu Sans Condensed}[%
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
681 UprightFont = *,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
682 BoldFont = * Bold,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
683 ItalicFont = * Oblique,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
684 BoldItalicFont = * Bold Oblique,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
685 Scale=MatchLowercase,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
686 Ligatures=TeX,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
687 ]
236
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
688 \newunicodechar{}{{\DejaVuSansMono }}% U+25B7
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
689 \newunicodechar{}{{\DejaVuSansMono }}% U+2236
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
690 \newunicodechar{}{{\DejaVuSansMono }}% U+25C6
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
691 \newunicodechar{}{{\DejaVuSansMono }}% U+25AA
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
692 \newunicodechar{}{{\DejaVuSansMono }}% U+27F5
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
693 \newunicodechar{}{{\DejaVuSansMono }}% U+27F6
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
694 \newunicodechar{}{{\DejaVuSansMono }}% U+27F7
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
695 \newunicodechar{}{{\DejaVuSansMono }}% U+21D2
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
696 \newunicodechar{}{{\DejaVuSansMono }}% U+21D4
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
697 \newunicodechar{}{{\DejaVuSansMono }}% U+225F
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
698 \newunicodechar{}{{\DejaVuSansMono }}% U+2208
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
699 \newunicodechar{}{{\DejaVuSansMono }}% U+220C
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
700 \newunicodechar{}{{\DejaVuSansMono }}% U+2260
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
701 \newunicodechar{}{{\DejaVuSansMono }}% U+2264
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
702 \newunicodechar{}{{\DejaVuSansMono }}% U+2265
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
703 \newunicodechar{}{{\DejaVuSansMono }}% U+2259
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
704 \newunicodechar{}{{\DejaVuSansMono }}% U+2423
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
705 \newunicodechar{}{{\DejaVuSansMono }}% U+21AA
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
706 \newunicodechar{}{{\DejaVuSansMono }}% U+21A9
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
707 \newunicodechar{}{{\DejaVuSansMono }}% U+21E7
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
708 \newunicodechar{}{{\DejaVuSansMono }}% U+2303
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
709 \newunicodechar{}{{\DejaVuSansMono }}% U+2388
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
710 \newunicodechar{}{{\DejaVuSansMono }}% U+2325
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
711 \newunicodechar{}{{\DejaVuSansCondensed }}% U+2387
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
712 \newunicodechar{}{{\DejaVuSansMono }}% U+2318
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
713 \newunicodechar{}{{\DejaVuSansMono }}% U+23CF
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
714 \newunicodechar{}{{\DejaVuSansMono }}% U+232B
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
715 \newunicodechar{}{{\DejaVuSansMono }}% U+2326
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
716 \newunicodechar{}{{\DejaVuSansMono }}% U+21E5
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
717 \newunicodechar{}{{\DejaVuSansMono }}% U+21E4
236
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
718 %\newunicodechar{^^^^2423}{{\DejaVuSansMono^^^^2423}}% U+2423
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
719 %\newunicodechar{}{\textvisiblespace}% U+2423
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
720 %\catcode`^^^^2423\active\protected\def^^^^2423{\textvisiblespace}
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
721
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
722 \PassOptionsToPackage{%
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
723 verbatimvisiblespace={\textcolor{red}{{\DejaVuSansMono^^^^2423}}},%
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
724 verbatimcontinued={\textcolor{red}{{\DejaVuSansMono^^^^21aa}}}}%
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
725 {sphinx}
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
726 \fi
28639bddddd0 Make the use of "Libertinus Mono" more flexible by adding a flag that just augments it.
Franz Glasner <fzglas.hg@dom66.de>
parents: 235
diff changeset
727
196
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
728 \defaultfontfeatures{}
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
729
218
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
730 \def\testmdf{
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
731 Normalized: \@mdf@fonts\newline
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
732 }
5114d49a8eab A new interface for my-doc-fonts.sty and a new implementation of option processing.
Franz Glasner <fzglas.hg@dom66.de>
parents: 215
diff changeset
733
181
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
734 \endinput