annotate docs/_latex/my-doc-fonts.sty @ 299:11f4f4d2ec03 default tip

Update to latest Sphinx customizations
author Franz Glasner <fzglas.hg@dom66.de>
date Sat, 06 Jun 2026 12:12:06 +0200
parents 0052d12ec437
children
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
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
3 % SPDX-License-Identifier: BSD-3-Clause OR MIT
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
4 %
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
5 % Some font hacks for my Sphinx PDF documents.
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
6 % Needs a LaTeX environment with a working `fontspec' package.
181
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
7 %
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
8 % Options:
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
9 % - nomath: Disable math support completely
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
10 % - noglobalunicodemath: Do not load unicode-math globally but only when
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
11 % really needed
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
12 % - fonts=<FONT>: Use font pairing named <FONT>. See the list below.
181
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
13 %
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
14 \NeedsTeXFormat{LaTeX2e}
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
15 \ProvidesPackage{my-doc-fonts}[%
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
16 2026/06/06 rv:ddd6d2bb4fdb (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
17 \RequirePackage{xkeyval}
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
18 \RequirePackage{fontspec}
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
19 \IfFileExists{xcolor.sty}{%
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
20 % 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
21 \RequirePackage{xcolor}
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
22 }{%
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
23 \RequirePackage{color}
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
24 }
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
25
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
26 \def\if@mdf@optionequalTF#1#2{%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
27 \begingroup
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
28 \edef\@mdf@tmpa{#1}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
29 \def\@mdf@tmpb{#2}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
30 \ifx\@mdf@tmpa\@mdf@tmpb
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
31 \aftergroup\@firstoftwo
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
32 \else
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
33 \aftergroup\@secondoftwo
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
34 \fi
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
35 \endgroup%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
36 }
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
37
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
38 \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
39 \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
40 \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
41 \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
42 \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
43 \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
44 \newif\if@mdf@mono@hackmono\@mdf@mono@hackmonofalse
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
45 \newif\if@mdf@mono@firamono\@mdf@mono@firamonofalse
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
46 \newif\if@mdf@mono@firamonomedium\@mdf@mono@firamonomediumfalse
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
47 \newif\if@mdf@mono@gomono\@mdf@mono@gomonofalse
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
48 \newif\if@mdf@augment@cmutypewritertext\@mdf@augment@cmutypewritertextfalse
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
49 \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
50 \newif\if@mdf@augment@ibmplexmono\@mdf@augment@ibmplexmonofalse
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
51 \newif\if@mdf@augment@redhatmono\@mdf@augment@redhatmonofalse
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
52 \newif\if@mdf@augment@cascadiacode\@mdf@augment@cascadiacodefalse
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
53 \newif\if@mdf@augment@jetbrainsmono\@mdf@augment@jetbrainsmonofalse
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
54 \newif\if@mdf@augment@firamono\@mdf@augment@firamonofalse
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
55 \newif\if@mdf@augment@gomono\@mdf@augment@gomonofalse
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
56
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
57 \newif\if@mdf@GlobalUnicodeMath\@mdf@GlobalUnicodeMathtrue
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
58 \DeclareOptionX{noglobalunicodemath}{\@mdf@GlobalUnicodeMathfalse}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
59
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
60 \newif\if@mdf@UseUnicodeMath\@mdf@UseUnicodeMathtrue
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
61 \DeclareOptionX{nomath}{\@mdf@UseUnicodeMathfalse}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
62
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
63 \newcommand*{\@mdf@externalname}{}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
64 \DeclareOptionX{externalname}[custom]{\renewcommand*{\@mdf@externalname}{#1}}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
65
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
66 \newcommand*{\@mdf@linespread}{}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
67 \DeclareOptionX{linespread}[]{\renewcommand*{\@mdf@linespread}{#1}}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
68
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
69 \newif\if@mdf@NeedUprightUnicodeMath\@mdf@NeedUprightUnicodeMathfalse
196
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
70
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
71 % Reset all option related font selection flags
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
72 \def\@mdf@reset@all@font@options{
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
73 \@mdf@NeedUprightUnicodeMathfalse
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
74 }
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
75
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
76
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
77 \gdef\@mdf@option@fonts{}% The original option value
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
78 \gdef\@mdf@option@fonts@selection{}% The effective selection "flag"
181
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
79
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
80 % 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
81 \define@choicekey*{my-doc-fonts.sty}{fonts}[\val\nr]{%
229
29826707b7da Comment
Franz Glasner <fzglas.hg@dom66.de>
parents: 228
diff changeset
82 % do not change anything: just deactivate the default "dejavusansmono"
29826707b7da Comment
Franz Glasner <fzglas.hg@dom66.de>
parents: 228
diff changeset
83 default,
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
84 external, % Load font settings from external style files
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
85 % almost no augmentation needed: all characters available
227
0fb4e7c34b10 Comment the options
Franz Glasner <fzglas.hg@dom66.de>
parents: 226
diff changeset
86 dejavusansmono, % use DejaVu Sans Mono as monospaced font
228
e363dc537be5 Comment
Franz Glasner <fzglas.hg@dom66.de>
parents: 227
diff changeset
87 % the fonts below are augmented for missing characters
227
0fb4e7c34b10 Comment the options
Franz Glasner <fzglas.hg@dom66.de>
parents: 226
diff changeset
88 cm, % assume CM fonts and just fix missing characters
0fb4e7c34b10 Comment the options
Franz Glasner <fzglas.hg@dom66.de>
parents: 226
diff changeset
89 ibmplex, plex, % use the IBM Plex family (incl. Math)
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
90 ibmplex-sans, plex-sans, % Like ibmplex but switch to sans body
230
c54b5ffd41d7 FIX: Comment for plex-dejavusansmono
Franz Glasner <fzglas.hg@dom66.de>
parents: 229
diff changeset
91 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
92 adobesourcepro, adobesource, % Use Adobe Source Serif/Sans/Mono
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
93 adobesourcepro-sans, adobesource-sans, % Like adobesourcepro but sans body
227
0fb4e7c34b10 Comment the options
Franz Glasner <fzglas.hg@dom66.de>
parents: 226
diff changeset
94 spectral, % use Spectral, Source Sans Pro and Source Code Pro
0fb4e7c34b10 Comment the options
Franz Glasner <fzglas.hg@dom66.de>
parents: 226
diff changeset
95 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
96 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
97 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
98 tufte, % Tufte fonts: ETbb (with Math), GilliusADFNo2, DejaVu Sans Mono
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
99 tufte-hack, % Tufte variant: ETbb (with Math), GilliusADFNo2, Hack
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
100 tufte-firamono, % Tufte variant: ETbb (with Math), GilliusADFNo2, Fira 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
101 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
102 palatino-kb, % Palatino, Lato and Inconsolata (original KB-Admin style)
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
103 palatino-rosario,% Palatino, Rosario and CMU Typewriter Text (Asana Math)
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
104 crimson, % Crimson Pro, (Intel) Clear Sans and Roboto Mono (Erewhon Math)
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
105 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
106 dejavu, % All DejaVu fonts (Serif, Sans, Mono)
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
107 merriweather, % Merriweather, Merriweather Sans, Hack (Concrete Math)
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
108 merriweather-light, % Merriweather Light, Merriweather Sans Light, DejaVu Sans Mono (Concrete Math)
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
109 merriweather-sans, % Merriweather, Merriweather Sans, Cascadia Code (Lete Sans Math)
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
110 merriweather-sans-light, % Merriweather Light, Merriweather Sans Light, Cascadia Code Light (Asana Math)
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
111 literata, % Literata, Inter, IBM Plex Mono (Concrete Math)
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
112 literata-firamono, % Literata, Inter, Fira Mono Medium (Concrete Math)
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
113 literata-robotomono, % Literata, Cabin, Roboto Mono (Concrete Math)
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
114 vollkorn, % Vollkorn, Jost, Cascadia Code (STIX 2 Math)
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
115 erewhon, utopia, % Erewhon, Rosario, Hack, (Erewhon Math)
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
116 gentium, % Gentium, Alegreya Sans, JetBrains Mono, (Euler Math)
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
117 zillaslab, % Zilla Slab, Metropolis, IBM Plex Mono Text, (Concrete Math)
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
118 aleo, % Aleo, Lato, IBM Plex Mono Text, (Euler Math)
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
119 lato, % Lato, Aleo, IBM Plex Mono Text, (Lete Sans Math)
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
120 lora, % Lora, Libre Franklin, Go Mono, (Asana Math)
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
121 stix, % STIX 2 Text, Inter, CMU Typewriter Text, (STIX 2 Math)
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
122 baskerville, % Libre Baskerville, Metropolis Medium, CMU Typewriter Text, (Euler Math)
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
123 opensans, % Crimson Pro, Open Sans, IBM Plex Mono, (Erewhon Math)
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
124 firasans, % Merriweather, Fira Sans, Fira Mono, (Fira Math)
227
0fb4e7c34b10 Comment the options
Franz Glasner <fzglas.hg@dom66.de>
parents: 226
diff changeset
125 }{%
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
126 % Not used for now : store the gioven option value (global and expanded)
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
127 \xdef\@mdf@option@fonts{\val}%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
128 % Not used for now : store the effective option value (global and expanded)
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
129 \xdef\@mdf@option@fonts@selection{\val}%
219
a7a6a75cd4b8 Normalize the stored "fonts" option when aliases are given
Franz Glasner <fzglas.hg@dom66.de>
parents: 218
diff changeset
130 % Reset all option related font selection flags
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
131 \@mdf@reset@all@font@options
219
a7a6a75cd4b8 Normalize the stored "fonts" option when aliases are given
Franz Glasner <fzglas.hg@dom66.de>
parents: 218
diff changeset
132 % 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
133 \ifcase\nr\relax
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
134 \relax% default
226
90bbece6fae8 Implement an option for my-doc-fonts.sty to not change anything.
Franz Glasner <fzglas.hg@dom66.de>
parents: 225
diff changeset
135 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
136 \relax% external
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
137 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
138 \relax% dejavusansmono
225
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
139 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
140 \relax% cm
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
141 \or
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
142 \relax % 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
143 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
144 \gdef\@mdf@option@fonts@selection{ibmplex}% plex
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
145 \or
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
146 \gdef\@mdf@option@fonts@selection{ibmplex}% ibmplex-sans
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
147 \or
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
148 \gdef\@mdf@option@fonts@selection{ibmplex}% plex-sans
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
149 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
150 \relax% plex-dejavusansmono
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
151 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
152 \relax% adobesourcepro
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
153 \or
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
154 \gdef\@mdf@option@fonts@selection{adobesourcepro}% adobesource
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
155 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
156 \gdef\@mdf@option@fonts@selection{adobesourcepro}% adobesourcepro-sans
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
157 \or
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
158 \gdef\@mdf@option@fonts@selection{adobesourcepro}% adobesource-sans
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
159 \or
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
160 \relax% spectral
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
161 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
162 \relax% charter
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
163 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
164 \relax% libertinus
221
38e2d8ab4965 Implement a style that uses the Libertinus fonts
Franz Glasner <fzglas.hg@dom66.de>
parents: 220
diff changeset
165 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
166 \relax% garamond
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
167 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
168 \relax% tufte
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
169 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
170 \relax% tufte-hack
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
171 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
172 \relax% tufte-firamono
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
173 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
174 \relax% palatino
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
175 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
176 \relax% palatino-kb
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
177 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
178 \relax% palatino-rosario
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
179 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
180 \relax% crimson
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
181 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
182 \relax% crimson-cabin
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
183 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
184 \relax% dejavu
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
185 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
186 \relax% merriweather
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
187 \or
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
188 \relax% merriweather-light
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
189 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
190 \relax% merriweather-sans
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
191 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
192 \relax% merriweather-sans-light
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
193 \or
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
194 \relax% literata
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
195 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
196 \relax% literata-firamono
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
197 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
198 \relax% literata-robotomono
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
199 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
200 \relax% vollkorn
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
201 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
202 \relax% erewhon
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
203 \or
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
204 \gdef\@mdf@option@fonts@selection{erewhon}% utopia
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
205 \or
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
206 \@mdf@NeedUprightUnicodeMathtrue% gentium
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
207 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
208 \relax% zillaslab
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
209 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
210 \@mdf@NeedUprightUnicodeMathtrue% aleo
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
211 \or
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
212 \relax% lato
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
213 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
214 \relax% lora
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
215 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
216 \relax% stix
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
217 \or
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
218 \@mdf@NeedUprightUnicodeMathtrue% baskerville
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
219 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
220 \relax% opensans
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
221 \or
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
222 \relax% firasans
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
223 \else
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
224 \PackageError{my-doc-fonts}{Inconsistent font selection!}{}
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
225 \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
226 }
181
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
227
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
228 %
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
229 % 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
230 % 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
231 %
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
232 \ExecuteOptionsX{fonts=dejavusansmono,externalname}
214
ad57aaf87799 FIX: Do not process class-level options in my-doc-fonts.sty
Franz Glasner <fzglas.hg@dom66.de>
parents: 205
diff changeset
233 \ProcessOptionsX\relax
181
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
234
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
235 %
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
236 % Provide a command (to be redefined if needed) to customize central
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
237 % mono font features
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
238 %
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
239 \newcommand{\@mfd@extra@mono@features}{}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
240
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
241 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
242 \if@mdf@GlobalUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
243 \if@mdf@NeedUprightUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
244 \RequirePackage[math-style=upright]{unicode-math}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
245 \else
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
246 \RequirePackage{unicode-math}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
247 \fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
248 \fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
249 \fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
250
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
251 %
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
252 % An command to load DejaVuSans fonts for character substitution
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
253 %
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
254 \def\@mdf@provide@dejavu@mono@families{%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
255 \ifdefined\DejaVuSansMono%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
256 \relax%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
257 \else%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
258 \newfontfamily\DejaVuSansMono{DejaVu Sans Mono}[%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
259 UprightFont = *,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
260 BoldFont = * Bold,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
261 ItalicFont = * Oblique,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
262 BoldItalicFont = * Bold Oblique,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
263 \@mfd@extra@mono@features
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
264 ]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
265 \fi
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
266 \ifdefined\DejaVuSansCondensed%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
267 \relax%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
268 \else%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
269 \newfontfamily\DejaVuSansCondensed{DejaVu Sans Condensed}[%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
270 UprightFont = *,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
271 BoldFont = * Bold,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
272 ItalicFont = * Oblique,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
273 BoldItalicFont = * Bold Oblique,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
274 \@mfd@extra@mono@features
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
275 ]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
276 \fi
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
277 }
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
278
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
279 % Apply a custom lineapread -- if any
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
280 \ifx\@mdf@linespread\@empty\relax\else\linespread{\@mdf@linespread}\fi
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
281
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
282 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{external}{%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
283 \InputIfFileExists{\@mdf@externalname.fonts}{%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
284 \PackageInfo{my-doc-fonts}{Loading \@mdf@externalname.fonts font style file}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
285 }{%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
286 \PackageError{my-doc-fonts}{Style file \@mdf@externalname.fonts not found}{Provide it or change the file}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
287 }
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
288 }{}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
289
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
290 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{dejavusansmono}{%
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
291 % 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
292 %\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
293 %\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
294 \@mdf@mono@dejavusansmonotrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
295 }{}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
296
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
297 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{cm}{%
225
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
298 \@mdf@mono@cmmonotrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
299 }{}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
300
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
301 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{ibmplex}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
302 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
303 \RequirePackage[%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
304 DefaultFeatures={Scale=0.92},
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
305 RMSCfont={},% disable default SC font which uses TeX Gyre Termes
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
306 RM={%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
307 %SmallCapsFont=XCharter-Roman,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
308 SmallCapsFont=SourceSerifPro-Regular,%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
309 SmallCapsFeatures={Letters=SmallCaps, Scale=MatchLowercase, ScaleAgain=1.05},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
310 %BoldFeatures={SmallCapsFont=XCharter-Bold},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
311 BoldFeatures={SmallCapsFont=SourceSerifPro-Bold},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
312 %ItalicFeatures={SmallCapsFont=XCharter-Italic},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
313 ItalicFeatures={SmallCapsFont=SourceSerifPro-RegularIt},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
314 },
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
315 SSSCfont={},% disable default SC font which uses TeX Gyre Heros
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
316 SS={%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
317 SmallCapsFont=SourceSansPro-Regular,%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
318 SmallCapsFeatures={Letters=SmallCaps, Scale=MatchLowercase, ScaleAgain=1.05},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
319 BoldFeatures={SmallCapsFont=SourceSansPro-Bold},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
320 ItalicFeatures={SmallCapsFont=SourceSansPro-RegularIt},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
321 },%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
322 math=true]{plex-otf}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
323 \else
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
324 \RequirePackage[%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
325 DefaultFeatures={Scale=0.92},
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
326 RMSCfont={},% disable default SC font which uses TeX Gyre Termes
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
327 RM={%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
328 SmallCapsFont=SourceSerifPro-Regular,%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
329 SmallCapsFeatures={Letters=SmallCaps, Scale=MatchLowercase, ScaleAgain=1.05},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
330 BoldFeatures={SmallCapsFont=SourceSerifPro-Bold},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
331 ItalicFeatures={SmallCapsFont=SourceSerifPro-RegularIt},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
332 },
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
333 SSSCfont={},% disable default SC font which uses TeX Gyre Heros
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
334 SS={%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
335 SmallCapsFont=SourceSansPro-Regular,%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
336 SmallCapsFeatures={Letters=SmallCaps, Scale=MatchLowercase, ScaleAgain=1.05},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
337 BoldFeatures={SmallCapsFont=SourceSansPro-Bold},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
338 ItalicFeatures={SmallCapsFont=SourceSansPro-RegularIt},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
339 },%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
340 math=false]{plex-otf}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
341 \fi
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
342 \@mdf@augment@ibmplexmonotrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
343 }{}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
344
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
345 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{plex-dejavusansmono}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
346 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
347 \RequirePackage[%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
348 DefaultFeatures={Scale=0.92},
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
349 RMSCfont={},% disable default SC font which uses TeX Gyre Termes
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
350 RM={%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
351 SmallCapsFont=SourceSerifPro-Regular,%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
352 SmallCapsFeatures={Letters=SmallCaps, Scale=MatchLowercase, ScaleAgain=1.05},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
353 BoldFeatures={SmallCapsFont=SourceSerifPro-Bold},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
354 ItalicFeatures={SmallCapsFont=SourceSerifPro-RegularIt},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
355 },%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
356 SSSCfont={},% disable default SC font which uses TeX Gyre Heros
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
357 SS={%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
358 SmallCapsFont=SourceSansPro-Regular,%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
359 SmallCapsFeatures={Letters=SmallCaps, Scale=MatchLowercase, ScaleAgain=1.05},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
360 BoldFeatures={SmallCapsFont=SourceSansPro-Bold},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
361 ItalicFeatures={SmallCapsFont=SourceSansPro-RegularIt},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
362 },%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
363 mono=false]{plex-otf}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
364 \else
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
365 \RequirePackage[%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
366 DefaultFeatures={Scale=0.92},
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
367 RMSCfont={},% disable default SC font which uses TeX Gyre Termes
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
368 RM={%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
369 SmallCapsFont=SourceSerifPro-Regular,%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
370 SmallCapsFeatures={Letters=SmallCaps, Scale=MatchLowercase, ScaleAgain=1.05},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
371 BoldFeatures={SmallCapsFont=SourceSerifPro-Bold},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
372 ItalicFeatures={SmallCapsFont=SourceSerifPro-RegularIt},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
373 },%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
374 SSSCfont={},% disable default SC font which uses TeX Gyre Heros
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
375 SS={%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
376 SmallCapsFont=SourceSansPro-Regular,%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
377 SmallCapsFeatures={Letters=SmallCaps, Scale=MatchLowercase, ScaleAgain=1.05},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
378 BoldFeatures={SmallCapsFont=SourceSansPro-Bold},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
379 ItalicFeatures={SmallCapsFont=SourceSansPro-RegularIt},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
380 },%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
381 mono=false,%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
382 math=false]{plex-otf}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
383 \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
384 \@mdf@mono@dejavusansmonotrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
385 }{}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
386
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
387 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{adobesourcepro}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
388 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
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
389 \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
390 \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
391 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
392 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
393 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
394 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
395 ]
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
396 \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
397 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
398 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
399 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
400 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
401 ]
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
402 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
403 \defaultfontfeatures{}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
404 \setmathfont{XCharter Math}[%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
405 Scale = MatchLowercase,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
406 ]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
407 \fi
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
408 \renewcommand{\@mfd@extra@mono@features}{ScaleAgain = 0.97,}
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
409 \@mdf@mono@sscodetrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
410 }{}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
411
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
412 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{spectral}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
413 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
196
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
414 \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
415 \setmainfont{Spectral}[
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
416 UprightFont = * Regular,
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
417 BoldFont = * Bold,
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
418 ItalicFont = * Italic,
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
419 BoldItalicFont = * Bold Italic,
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
420 ]
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
421 \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
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 = * 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
425 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
426 ]
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
427 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
428 \setmathfont{STIX Two Math}[Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
429 \fi
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
430 \renewcommand{\@mfd@extra@mono@features}{ScaleAgain = 0.98,}
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
431 \@mdf@mono@sscodetrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
432 }{}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
433
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
434 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{charter}{%
204
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
435 \defaultfontfeatures{Ligatures=TeX,Numbers={Lining,Tabular}}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
436 \RequirePackage{xcharter-otf}% ALWAYS loads also XCharter Math
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
437 \defaultfontfeatures{}% Reset from package
204
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
438 \setsansfont{Lato}[
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
439 UprightFont = * Regular,
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
440 BoldFont = * Bold,
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
441 ItalicFont = * Italic,
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
442 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
443 Scale = MatchLowercase,
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
444 Numbers = {Lining, Tabular},
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
445 Ligatures = TeX,
204
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
446 ]
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
447 \@mdf@mono@inconsolatatrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
448 }{}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
449
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
450 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{libertinus}{%
221
38e2d8ab4965 Implement a style that uses the Libertinus fonts
Franz Glasner <fzglas.hg@dom66.de>
parents: 220
diff changeset
451 \RequirePackage{newunicodechar}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
452 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
453 \RequirePackage[lining,tabular]{libertinus-otf}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
454 \defaultfontfeatures{}% Reset from package
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
455 \setmathfont{Asana Math}[range={"2713,"2AB7,"22D0},Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
456 \setmathfont{Libertinus Math}[range={},Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
457 \else
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
458 \RequirePackage[lining,tabular,nomath]{libertinus-otf}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
459 \fi
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
460 \@mdf@augment@libertinusmonotrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
461 }{}
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
462
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
463 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{garamond}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
464 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
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
465 \RequirePackage[lining,tabular]{ebgaramond}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
466 \defaultfontfeatures{}% Reset from package
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
467 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
468 \setmathfont{Garamond-Math}[Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
469 \setmathfont{Asana Math}[range={"2713},Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
470 \setmathfont{Garamond-Math}[range={},Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
471 \fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
472 \setsansfont{Libre Franklin}[Scale=MatchLowercase,Ligatures=TeX,Numbers={Lining,Tabular}]
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
473 \renewcommand{\@mfd@extra@mono@features}{ScaleAgain = 1.02,}
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
474 \@mdf@mono@inconsolatatrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
475 }{}
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
476
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
477 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{tufte-hack}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
478 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
479 \defaultfontfeatures{Numbers={Lining,Tabular},Ligatures=TeX}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
480 \setmainfont{ETbb}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
481 \setsansfont{GilliusADFNo2}[Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
482 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
483 \setmathfont{Libertinus Math}[Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
484 \setmathfont{Asana Math}[range={"2713,"2AB7,"22D0},Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
485 \setmathfont{Libertinus Math}[range={},Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
486 \fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
487 \@mdf@mono@hackmonotrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
488 }{}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
489
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
490 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{tufte-firamono}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
491 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
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
492 \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
493 \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
494 \setsansfont{GilliusADFNo2}[Scale=MatchLowercase]
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
495 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
496 \setmathfont{Libertinus Math}[Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
497 \setmathfont{Asana Math}[range={"2713,"2AB7,"22D0},Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
498 \setmathfont{Libertinus Math}[range={},Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
499 \fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
500 \@mdf@mono@firamonotrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
501 }{}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
502
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
503 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{tufte}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
504 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
505 \defaultfontfeatures{Numbers={Lining,Tabular},Ligatures=TeX}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
506 \setmainfont{ETbb}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
507 \setsansfont{GilliusADFNo2}[Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
508 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
509 \setmathfont{Libertinus Math}[Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
510 \setmathfont{Asana Math}[range={"2713,"2AB7,"22D0},Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
511 \setmathfont{Libertinus Math}[range={},Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
512 \fi
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
513 \@mdf@mono@dejavusansmonotrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
514 }{}
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
515
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
516 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{palatino}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
517 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
518 \ifx\@mdf@linespread\@empty\linespread{1.06}\fi
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
519 \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
520 \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
521 \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
522 %\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
523 %\setmathfont{Asana Math}[Scale=MatchLowercase]
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
524 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
525 \setmathfont{TeX Gyre Pagella Math}[Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
526 \setmathfont{Asana Math}[range={"2AB7},Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
527 \setmathfont{TeX Gyre Pagella Math}[range={},Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
528 \fi
239
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
529 %\@mdf@mono@sscodetrue
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
530 \@mdf@mono@libertinusmonotrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
531 }{}
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
532
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
533 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{palatino-kb}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
534 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
535 \ifx\@mdf@linespread\@empty\linespread{1.06}\fi
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
536 \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
537 \setmainfont{TeXGyrePagellaX}
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
538 \setsansfont{Lato}[%
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
539 UprightFont = * Regular,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
540 BoldFont = * Bold,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
541 ItalicFont = * Italic,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
542 BoldItalicFont = * Bold Italic,
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
543 Scale=MatchLowercase]
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
544 %\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
545 %\setmathfont{Asana Math}[Scale=MatchLowercase]
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
546 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
547 \setmathfont{TeX Gyre Pagella Math}[Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
548 \setmathfont{Asana Math}[range={"2AB7},Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
549 \setmathfont{TeX Gyre Pagella Math}[range={},Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
550 \fi
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
551 \@mdf@mono@inconsolatatrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
552 }{}
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
553
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
554 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{palatino-rosario}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
555 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
556 \ifx\@mdf@linespread\@empty\linespread{1.06}\fi
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
557 \defaultfontfeatures{Numbers={Lining,Tabular},Ligatures=TeX}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
558 \setmainfont{TeXGyrePagellaX}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
559 \setsansfont{Rosario}[%
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
560 Scale=MatchLowercase,
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
561 UprightFont = * Regular,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
562 BoldFont = * Bold,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
563 ItalicFont = * Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
564 BoldItalicFont = * Bold Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
565 ]
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
566 \setmonofont{CMU Typewriter Text}[Scale=MatchLowercase]
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
567 \if@mdf@UseUnicodeMath
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
568 \defaultfontfeatures{Scale=MatchLowercase}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
569 \setmathfont{Asana Math}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
570 \fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
571 \@mdf@augment@cmutypewritertexttrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
572 }{}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
573
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
574 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{crimson}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
575 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
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
576 \defaultfontfeatures{Ligatures=TeX, Numbers={Lining,Tabular}}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
577 \setmainfont{Crimson Pro}[%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
578 SmallCapsFont = Erewhon Regular,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
579 SmallCapsFeatures = {Letters = SmallCaps, Scale = MatchLowercase},
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
580 BoldFeatures = {SmallCapsFont = Erewhon Bold},
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
581 ItalicFeatures = {SmallCapsFont = Erewhon Italic},
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
582 ]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
583 %\setsansfont{Open Sans}[Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
584 \setsansfont{Clear Sans}[Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
585 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
586 \defaultfontfeatures{}% Erewhon Math needs this here!
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
587 \setmathfont{Erewhon Math}[Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
588 \fi
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
589 %\@mdf@mono@sscodetrue
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
590 %\@mdf@mono@inconsolatatrue
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
591 \@mdf@mono@robotomonotrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
592 }{}
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
593
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
594 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{crimson-cabin}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
595 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
596 \defaultfontfeatures{Ligatures=TeX, Numbers={Lining,Tabular}}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
597 \setmainfont{Crimson Pro}[%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
598 SmallCapsFont = Erewhon Regular,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
599 SmallCapsFeatures = {Letters=SmallCaps, Scale=MatchLowercase},
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
600 BoldFeatures = {SmallCapsFont = Erewhon Bold},
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
601 ItalicFeatures = {SmallCapsFont = Erewhon Italic},
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
602 ]
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
603 \setsansfont{Cabin}[Scale=MatchLowercase]
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
604 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
605 \defaultfontfeatures{}% Erewhon Math needs this here!
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
606 \setmathfont{Erewhon Math}[Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
607 \fi
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
608 %\@mdf@mono@sscodetrue
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
609 \@mdf@mono@inconsolatatrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
610 }{}
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
611
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
612 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{opensans}{%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
613 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
614 \ifx\@mdf@linespread\@empty\linespread{1.05}\fi
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
615 \defaultfontfeatures{Ligatures=TeX, Numbers={Lining,Tabular}}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
616 \setmainfont{Open Sans}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
617 \setmainfont{Crimson Pro}[%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
618 Scale = MatchLowercase,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
619 SmallCapsFont = Erewhon Regular,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
620 SmallCapsFeatures = {Letters=SmallCaps, Scale=MatchLowercase},
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
621 BoldFeatures = {SmallCapsFont = Erewhon Bold},
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
622 ItalicFeatures = {SmallCapsFont = Erewhon Italic},
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
623 ]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
624 \setsansfont{Open Sans}[
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
625 SmallCapsFont = {Montserrat Regular},
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
626 SmallCapsFeatures = {Letters = SmallCaps, Scale = MatchLowercase, ScaleAgain = 0.99},
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
627 ItalicFeatures = {SmallCapsFont = {Montserrat Italic}},
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
628 BoldFeatures = {SmallCapsFont = {Montserrat Bold}},
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
629 BoldItalicFeatures = {SmallCapsFont = {Montserrat Bold Italic}},
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
630 ]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
631 \setmonofont{IBMPlexMonoText}[%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
632 Scale = MatchLowercase,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
633 ScaleAgain = 0.96,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
634 Extension = .otf,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
635 UprightFont= IBMPlexMono-Regular,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
636 BoldFont = IBMPlexMono-Bold,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
637 ItalicFont = IBMPlexMono-Italic,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
638 BoldItalicFont = IBMPlexMono-BoldItalic,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
639 SlantedFont = IBMPlexMono-TextItalic,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
640 ]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
641 \@mdf@augment@ibmplexmonotrue
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
642 \if@mdf@UseUnicodeMath
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
643 \defaultfontfeatures{}% Erewhon Math needs this here!
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
644 \setmathfont{Erewhon Math}[Scale=MatchLowercase]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
645 \fi
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
646 }{}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
647
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
648 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{dejavu}{%
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
649 \RequirePackage{newunicodechar}
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
650 % automatically applied with Scale=MatchLowercase,...
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
651 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
652 \RequirePackage[%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
653 RM={%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
654 Scale = 0.92,% as in dejavu-otf
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
655 SmallCapsFont = {XCharter-Roman.otf},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
656 SmallCapsFeatures={Letters=SmallCaps, Scale=MatchLowercase, ScaleAgain=1.12},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
657 ItalicFeatures = {SmallCapsFont = {XCharter-Italic.otf}},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
658 BoldFeatures = {SmallCapsFont = {XCharter-Bold.otf}},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
659 BoldItalicFeatures = {SmallCapsFont = {XCharter-BoldItalic.otf}},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
660 },%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
661 SS={Scale = 0.92},%
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
662 TT={Scale=MatchLowercase,FakeStretch=0.98,ScaleAgain=1.02},%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
663 mono=true,serif=true,sans=true,math=true]{dejavu-otf}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
664 \setmathfont{XCharter Math}[range={"2713,"2AB7},Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
665 \setmathfont{DejaVu Math TeX Gyre}[range={},Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
666 %\setmathfont{DejaVu Math TeX Gyre}[range={},version=normal]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
667 %\setmathfont{DejaVu Math TeX Gyre}[range={},FakeBold=3,version=bold]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
668 \else
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
669 \RequirePackage[%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
670 RM={%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
671 Scale = 0.92,% as in dejavu-otf
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
672 SmallCapsFont = {XCharter-Roman.otf},%
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
673 SmallCapsFeatures={Letters=SmallCaps, Scale=MatchLowercase, ScaleAgain=1.12},%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
674 ItalicFeatures = {SmallCapsFont = {XCharter-Italic.otf}},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
675 BoldFeatures = {SmallCapsFont = {XCharter-Bold.otf}},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
676 BoldItalicFeatures = {SmallCapsFont = {XCharter-BoldItalic.otf}},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
677 },%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
678 SS={Scale = 0.92},%
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
679 TT={Scale=MatchLowercase,FakeStretch=0.98,ScaleAgain=1.02},%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
680 mono=true,serif=true,sans=true,math=false]{dejavu-otf}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
681 \fi
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
682 \newunicodechar{}{{\DejaVuSansCondensed }}% U+2387
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
683 %
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
684 % Try to fix for missing \mathrm:
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
685 % https://tex.stackexchange.com/questions/669382/latex-error-math-alphabet-identifier-mathrm-is-undefined-in-math-version
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
686 %
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
687 % DOES NOT WORK!
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
688 %\mathversion{normal}\let\mathrm\symup
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
689 % THIS WORKS (see also unicode-math.pdf Section 4.4.3 Operator font):
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
690 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
691 \setoperatorfont\symup
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
692 \fi
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
693 }{}
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
694
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
695 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{merriweather}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
696 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
697 \ifx\@mdf@linespread\@empty\linespread{1.06}\fi
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
698 \defaultfontfeatures{%
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
699 Scale = 0.92,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
700 Ligatures = TeX,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
701 Numbers = {Lining,Tabular},
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
702 Extension = .otf,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
703 }
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
704 \setmainfont{Merriweather}[%
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
705 UprightFont = *-Regular ,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
706 ItalicFont = *-Italic ,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
707 BoldFont = *-Bold ,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
708 BoldItalicFont = *-BoldItalic
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
709 ]
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
710 \setsansfont{MerriweatherSans}[%
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
711 UprightFont = *-Regular ,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
712 ItalicFont = *-Italic ,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
713 BoldFont = *-Bold ,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
714 BoldItalicFont = *-BoldItalic
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
715 ]
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
716 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
717 \defaultfontfeatures{Scale=MatchLowercase}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
718 \RequirePackage[no-text]{concmath-otf}% for concmath-otf
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
719 \fi
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
720 \@mdf@mono@hackmonotrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
721 }{}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
722
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
723 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{merriweather-light}{%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
724 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
725 \ifx\@mdf@linespread\@empty\linespread{1.06}\fi
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
726 \defaultfontfeatures{%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
727 Scale = 0.92,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
728 Ligatures = TeX,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
729 Numbers = {Lining,Tabular},
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
730 Extension = .otf,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
731 }
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
732 \setmainfont{Merriweather}[%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
733 UprightFont = *-Light ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
734 ItalicFont = *-LightItalic ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
735 BoldFont = *-Regular ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
736 BoldItalicFont = *-Italic
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
737 ]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
738 \setsansfont{MerriweatherSans}[%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
739 UprightFont = *-Light ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
740 ItalicFont = *-LightItalic ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
741 BoldFont = *-Regular ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
742 BoldItalicFont = *-Italic
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
743 ]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
744 \if@mdf@UseUnicodeMath
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
745 \defaultfontfeatures{Scale=MatchLowercase}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
746 \RequirePackage[no-text]{concmath-otf}% for concmath-otf
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
747 \fi
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
748 %\@mdf@mono@hackmonotrue
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
749 \renewcommand{\@mfd@extra@mono@features}{ScaleAgain = 0.98,}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
750 \@mdf@mono@dejavusansmonotrue
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
751 }{}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
752
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
753 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{merriweather-sans}{%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
754 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
755 \ifx\@mdf@linespread\@empty\linespread{1.06}\fi
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
756 \defaultfontfeatures{%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
757 Scale = 0.92,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
758 Ligatures = TeX,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
759 Numbers = {Lining,Tabular},
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
760 Extension = .otf,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
761 }
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
762 \setmainfont{Merriweather}[%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
763 UprightFont = *-Regular ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
764 ItalicFont = *-Italic ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
765 BoldFont = *-Bold ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
766 BoldItalicFont = *-BoldItalic
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
767 ]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
768 \setsansfont{MerriweatherSans}[%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
769 UprightFont = *-Regular ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
770 ItalicFont = *-Italic ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
771 BoldFont = *-Bold ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
772 BoldItalicFont = *-BoldItalic
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
773 ]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
774 \defaultfontfeatures{Ligatures = TeX, Numbers = {Lining,Tabular}}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
775 \setmonofont{CascadiaCode}[Scale=MatchLowercase, ScaleAgain=0.98]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
776 \@mdf@augment@cascadiacodetrue
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
777
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
778 \if@mdf@UseUnicodeMath
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
779 \defaultfontfeatures{Scale=MatchLowercase}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
780 \RequirePackage{lete-sans-math}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
781 \fi
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
782 % \@mdf@mono@hackmonotrue
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
783 }{}
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
784
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
785 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{merriweather-sans-light}{%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
786 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
787 \ifx\@mdf@linespread\@empty\linespread{1.06}\fi
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
788 \defaultfontfeatures{%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
789 Scale = 0.92,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
790 Ligatures = TeX,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
791 Numbers = {Lining,Tabular},
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
792 Extension = .otf,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
793 }
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
794 \setmainfont{Merriweather}[%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
795 UprightFont = *-Light ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
796 ItalicFont = *-LightItalic ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
797 BoldFont = *-Regular ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
798 BoldItalicFont = *-Italic
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
799 ]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
800 \setsansfont{MerriweatherSans}[%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
801 UprightFont = *-Light ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
802 ItalicFont = *-LightItalic ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
803 BoldFont = *-Regular ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
804 BoldItalicFont = *-Italic ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
805 ]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
806 \defaultfontfeatures{Ligatures = TeX, Numbers = {Lining,Tabular}}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
807 \setmonofont{CascadiaCode}[
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
808 Scale = MatchLowercase,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
809 ScaleAgain = 0.97,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
810 UprightFont = *-Light,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
811 ItalicFont = *-LightItalic,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
812 BoldFont = *-Regular,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
813 BoldItalicFont = *-Italic]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
814 \@mdf@augment@cascadiacodetrue
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
815 \if@mdf@UseUnicodeMath
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
816 \defaultfontfeatures{}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
817 \setmathfont{Asana Math}[Scale=MatchLowercase]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
818 \fi
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
819 % \@mdf@mono@hackmonotrue
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
820 }{}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
821
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
822 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{firasans}{%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
823 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
824 \defaultfontfeatures{%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
825 Ligatures = TeX,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
826 Numbers = {Lining,Tabular},
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
827 }
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
828 \setmainfont{Fira Sans}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
829 %\setmainfont{Andada Pro}[Scale=MatchLowercase]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
830 \setmainfont{Merriweather}[%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
831 Extension = .otf,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
832 Scale = MatchLowercase,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
833 UprightFont = *-Regular ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
834 ItalicFont = *-Italic ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
835 BoldFont = *-Bold ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
836 BoldItalicFont = *-BoldItalic
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
837 ]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
838 \setsansfont{Fira Sans}[Scale=MatchLowercase]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
839 %\setmonofont{JetBrains Mono}[Scale=MatchLowercase, ScaleAgain=0.98]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
840 %\@mdf@augment@jetbrainsmonotrue
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
841 \renewcommand{\@mfd@extra@mono@features}{ScaleAgain=0.98}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
842 \@mdf@mono@firamonotrue
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
843 \if@mdf@UseUnicodeMath
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
844 \defaultfontfeatures{Scale=MatchLowercase}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
845 \setmathfont{Fira Math}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
846 \setmathfont{Lete Sans Math}[range={"22D0,"2713,"2A04,"2AB7}]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
847 \setmathfont{Fira Math}[range={}]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
848 \fi
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
849 }{}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
850
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
851 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{literata}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
852 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
853 \defaultfontfeatures{%
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
854 Ligatures = TeX,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
855 Numbers = {Lining,Tabular},
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
856 }
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
857 \setmainfont{Literata}
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
858 \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
859 \setmonofont{IBMPlexMono}[%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
860 Scale = MatchLowercase,
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
861 ScaleAgain = 0.98,
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
862 Extension = .otf,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
863 UprightFont= *-Regular,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
864 BoldFont = *-Bold,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
865 ItalicFont = *-Italic,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
866 BoldItalicFont = *-BoldItalic,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
867 SlantedFont = *-Italic,
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
868 ]
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
869 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
870 \defaultfontfeatures{Scale=MatchLowercase}% for concmath-otf and Plex Mono
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
871 \RequirePackage[no-text]{concmath-otf}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
872 \fi
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
873 \@mdf@augment@ibmplexmonotrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
874 }{}
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
875
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
876 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{literata-firamono}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
877 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
878 \defaultfontfeatures{%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
879 Ligatures = TeX,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
880 Numbers = {Lining,Tabular},
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
881 }
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
882 \setmainfont{Literata}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
883 \defaultfontfeatures{Scale=MatchLowercase, Ligatures=TeX}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
884 \setsansfont{Inter}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
885 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
886 \defaultfontfeatures{Scale=MatchLowercase}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
887 \RequirePackage[no-text]{concmath-otf}% for concmath-otf
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
888 \fi
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
889 \renewcommand{\@mfd@extra@mono@features}{ScaleAgain = 0.98,}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
890 \@mdf@mono@firamonomediumtrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
891 }{}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
892
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
893 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{literata-robotomono}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
894 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
895 \defaultfontfeatures{%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
896 Ligatures = TeX,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
897 Numbers = {Lining,Tabular},
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
898 }
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
899 \setmainfont{Literata}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
900 \setsansfont{Cabin}[Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
901 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
902 \defaultfontfeatures{Scale=MatchLowercase}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
903 \RequirePackage[no-text]{concmath-otf}% for concmath-otf
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
904 \fi
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
905 \renewcommand{\@mfd@extra@mono@features}{ScaleAgain = 0.985,}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
906 \@mdf@mono@robotomonotrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
907 }{}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
908
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
909 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{vollkorn}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
910 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
911 \defaultfontfeatures{Ligatures=TeX,Numbers={Lining,Tabular}}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
912 \setmainfont{Vollkorn}[
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
913 UprightFont = * Regular,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
914 BoldFont = * Bold,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
915 ItalicFont = * Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
916 BoldItalicFont = * Bold Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
917 ]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
918 \setsansfont{Jost}[%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
919 Scale = MatchLowercase,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
920 UprightFont = *,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
921 BoldFont = * Bold,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
922 ItalicFont = * Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
923 BoldItalicFont = * Bold Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
924 ]
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
925 \setmonofont{Cascadia Code}[Scale=MatchLowercase]
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
926 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
927 \defaultfontfeatures{Scale=MatchLowercase}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
928 \setmathfont{STIX Two Math}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
929 \fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
930 \@mdf@augment@cascadiacodetrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
931 }{}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
932
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
933 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{erewhon}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
934 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
935 \defaultfontfeatures{Ligatures=TeX,Numbers={Lining,Tabular}}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
936 \setmainfont{Erewhon}[
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
937 UprightFont = * Regular,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
938 BoldFont = * Bold,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
939 ItalicFont = * Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
940 BoldItalicFont = * Bold Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
941 ]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
942 \setsansfont{Rosario}[%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
943 Scale = MatchLowercase,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
944 UprightFont = *,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
945 BoldFont = * Bold,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
946 ItalicFont = * Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
947 BoldItalicFont = * Bold Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
948 ]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
949 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
950 \defaultfontfeatures{Scale=MatchLowercase}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
951 \setmathfont{Erewhon Math}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
952 \fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
953 \@mdf@mono@hackmonotrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
954 }{}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
955
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
956 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{gentium}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
957 \if@mdf@UseUnicodeMath\RequirePackage[math-style=upright]{unicode-math}\fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
958 \defaultfontfeatures{Ligatures=TeX,Numbers={Lining,Tabular}}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
959 \setmainfont{Gentium}[
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
960 UprightFont = * Regular,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
961 BoldFont = * Bold,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
962 ItalicFont = * Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
963 BoldItalicFont = * Bold Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
964 ]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
965 \setsansfont{Alegreya Sans}[%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
966 Scale = MatchLowercase,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
967 UprightFont = *,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
968 BoldFont = * Bold,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
969 ItalicFont = * Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
970 BoldItalicFont = * Bold Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
971 ]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
972 \setmonofont{JetBrains Mono}[Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
973 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
974 \RequirePackage[Scale=MatchLowercase]{euler-math}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
975 \defaultfontfeatures{Scale=MatchLowercase}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
976 \setmathfont{XCharter Math}[range={"03F1,"1D71A}]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
977 \setmathfont{Euler Math}[range={}]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
978 %\setmathfont{Euler Math}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
979 %\renewcommand{\varrho}{\rho}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
980 %\renewcommand{\rho}{\mbfsansrho}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
981 \fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
982 \@mdf@augment@jetbrainsmonotrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
983 }{}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
984
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
985 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{zillaslab}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
986 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
987 \defaultfontfeatures{Ligatures=TeX,Numbers={Lining,Tabular}}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
988 \setmainfont{Zilla Slab}[
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
989 UprightFont = * Regular,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
990 BoldFont = * Bold,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
991 ItalicFont = * Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
992 BoldItalicFont = * Bold Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
993 ]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
994 \setsansfont{Metropolis}[%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
995 Scale=MatchLowercase,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
996 UprightFont = * Regular,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
997 BoldFont = * Bold,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
998 ItalicFont = * Regular Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
999 BoldItalicFont = * Bold Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1000 ]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1001 % \defaultfontfeatures{Scale=MatchLowercase}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1002 % \setmonofont{JetBrains Mono}[%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1003 % Ligatures = TeX
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1004 % ]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1005 \setmonofont{IBMPlexMonoText}[%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1006 Scale=MatchLowercase,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1007 Extension = .otf,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1008 UprightFont= IBMPlexMono-Text,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1009 BoldFont = IBMPlexMono-Bold,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1010 ItalicFont = IBMPlexMono-TextItalic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1011 BoldItalicFont = IBMPlexMono-BoldItalic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1012 SlantedFont = IBMPlexMono-TextItalic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1013 ]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1014 \@mdf@augment@ibmplexmonotrue
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1015
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1016 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1017 \defaultfontfeatures{Scale=MatchLowercase}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1018 \RequirePackage[no-text]{concmath-otf}% for concmath-otf
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1019 \fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1020 %\@mdf@augment@jetbrainsmonotrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1021 }{}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1022
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1023 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{aleo}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1024 \if@mdf@UseUnicodeMath\RequirePackage[math-style=upright]{unicode-math}\fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1025 \defaultfontfeatures{Ligatures=TeX,Numbers={Lining,Tabular}}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1026 \setmainfont{Aleo}[
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1027 Extension = .ttf,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1028 UprightFont = {Aleo-VariableFont_wght} ,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1029 UprightFeatures = {Instance = Regular} ,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1030 ItalicFont = {Aleo-Italic-VariableFont_wght} ,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1031 ItalicFeatures = {Instance = Italic} ,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1032 BoldFont = {Aleo-VariableFont_wght} ,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1033 BoldFeatures = {Instance = Bold} ,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1034 BoldItalicFont = {Aleo-Italic-VariableFont_wght} ,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1035 BoldItalicFeatures = {Instance = {Bold Italic}} ,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1036 SmallCapsFont = {ZillaSlab-Medium.otf} ,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1037 SmallCapsFeatures = {Letters=SmallCaps, Scale=MatchLowercase, ScaleAgain=1.1} ,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1038 ItalicFeatures = {SmallCapsFont = {ZillaSlab-MediumItalic.otf}} ,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1039 BoldFeatures = {SmallCapsFont = {ZillaSlab-Bold.otf}} ,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1040 ]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1041 \setsansfont{Lato}[%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1042 Scale = MatchLowercase,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1043 UprightFont = * Regular,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1044 BoldFont = * Bold,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1045 ItalicFont = * Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1046 BoldItalicFont = * Bold Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1047 ]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1048 \setmonofont{IBMPlexMonoText}[%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1049 Scale = MatchLowercase,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1050 Extension = .otf,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1051 UprightFont= IBMPlexMono-Text,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1052 BoldFont = IBMPlexMono-Bold,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1053 ItalicFont = IBMPlexMono-TextItalic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1054 BoldItalicFont = IBMPlexMono-BoldItalic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1055 SlantedFont = IBMPlexMono-TextItalic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1056 ]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1057 \@mdf@augment@ibmplexmonotrue
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1058
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1059 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1060 \defaultfontfeatures{}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1061 \RequirePackage[Scale=MatchLowercase]{euler-math}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1062 \setmathfont{XCharter Math}[range={"03F1,"1D71A},Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1063 \setmathfont{Euler Math}[range={},Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1064 \fi
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1065 }{}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1066
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1067 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{lato}{%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1068 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1069 % Normal procecure because no size adjustments are needed
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1070 \defaultfontfeatures{Ligatures=TeX,Numbers={Lining,Tabular}}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1071 \setmainfont{Aleo}[
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1072 Extension = .ttf,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1073 UprightFont = {Aleo-VariableFont_wght} ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1074 UprightFeatures = {Instance = Regular} ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1075 ItalicFont = {Aleo-Italic-VariableFont_wght} ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1076 ItalicFeatures = {Instance = Italic} ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1077 BoldFont = {Aleo-VariableFont_wght} ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1078 BoldFeatures = {Instance = Bold} ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1079 BoldItalicFont = {Aleo-Italic-VariableFont_wght} ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1080 BoldItalicFeatures = {Instance = {Bold Italic}} ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1081 SmallCapsFont = {ZillaSlab-Medium.otf} ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1082 SmallCapsFeatures = {Letters=SmallCaps, Scale=MatchLowercase, ScaleAgain=1.1} ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1083 ItalicFeatures = {SmallCapsFont = {ZillaSlab-MediumItalic.otf}} ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1084 BoldFeatures = {SmallCapsFont = {ZillaSlab-Bold.otf}} ,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1085 ]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1086 \setsansfont{Lato}[%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1087 UprightFont = * Regular,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1088 BoldFont = * Bold,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1089 ItalicFont = * Italic,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1090 BoldItalicFont = * Bold Italic,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1091 SmallCapsFont = {Raleway Medium},
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1092 SmallCapsFeatures = {Letters = SmallCaps, Scale = MatchLowercase, ScaleAgain = 1.015},
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1093 ItalicFeatures = {SmallCapsFont = {Raleway Medium Italic}},
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1094 BoldFeatures = {SmallCapsFont = {Raleway Bold}},
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1095 ]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1096 \setmonofont{IBMPlexMonoText}[%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1097 Scale = MatchLowercase,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1098 ScaleAgain = 0.97,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1099 Extension = .otf,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1100 UprightFont= IBMPlexMono-Text,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1101 BoldFont = IBMPlexMono-Bold,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1102 ItalicFont = IBMPlexMono-TextItalic,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1103 BoldItalicFont = IBMPlexMono-BoldItalic,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1104 SlantedFont = IBMPlexMono-TextItalic,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1105 ]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1106 \@mdf@augment@ibmplexmonotrue
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1107
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1108 \if@mdf@UseUnicodeMath
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1109 \defaultfontfeatures{}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1110 \RequirePackage{lete-sans-math}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1111 \fi
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1112 }{}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1113
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1114 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{lora}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1115 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1116 \defaultfontfeatures{Ligatures=TeX,Numbers={Lining,Tabular}}
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1117 \ifx\@mdf@linespread\@empty\linespread{1.04}\fi
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1118 \setmainfont{Lora}[%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1119 Scale = 0.98,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1120 UprightFont = * Regular,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1121 BoldFont = * Bold,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1122 ItalicFont = * Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1123 BoldItalicFont = * Bold Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1124 SmallCapsFont = {STIX Two Text},
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1125 SmallCapsFeatures={Letters=SmallCaps, Scale=MatchLowercase, ScaleAgain=1.05},
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1126 BoldFeatures={SmallCapsFont={STIX Two Text Bold}},
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1127 ItalicFeatures={SmallCapsFont={STIX Two Text Italic}},
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1128 BoldItalicFeatures={SmallCapsFont={STIX Two Text Bold Italic}},
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1129 ]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1130 \setsansfont{Libre Franklin}[Scale=MatchLowercase]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1131 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1132 \defaultfontfeatures{Scale=MatchLowercase}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1133 \setmathfont{Asana Math}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1134 \fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1135 %\@mdf@mono@libertinusmonotrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1136 \renewcommand{\@mfd@extra@mono@features}{ScaleAgain = 0.95,}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1137 \@mdf@mono@gomonotrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1138 }{}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1139
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1140 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{baskerville}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1141 \if@mdf@UseUnicodeMath\RequirePackage[math-style=upright]{unicode-math}\fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1142 \defaultfontfeatures{Ligatures=TeX,Numbers={Lining,Tabular}}
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1143 \ifx\@mdf@linespread\@empty\linespread{1.06}\fi
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1144 \setmainfont{Libre Baskerville}[%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1145 Scale=0.92,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1146 UprightFont = * Regular,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1147 BoldFont = * Bold,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1148 ItalicFont = * Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1149 %BoldItalicFont = * Bold Italic, % no bold italic font for Baskerville
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1150 SmallCapsFont = {Erewhon Regular},
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1151 SmallCapsFeatures={%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1152 Letters = SmallCaps,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1153 Scale = MatchLowercase,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1154 ScaleAgain=1.16
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1155 },
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1156 BoldFeatures={SmallCapsFont={Erewhon Bold}},
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1157 ItalicFeatures={SmallCapsFont={Erewhon Italic}},
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1158 BoldItalicFeatures={SmallCapsFont={Erewhon Bold Italic}},
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1159 ]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1160 \setsansfont{Metropolis}[%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1161 Scale = MatchLowercase,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1162 UprightFont= * Medium,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1163 ItalicFont = * Medium Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1164 BoldFont = * Bold,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1165 BoldItalicFont = * Bold Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1166 ]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1167 \setmonofont{CMU Typewriter Text}[%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1168 Scale = MatchLowercase,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1169 ScaleAgain = 0.98,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1170 ]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1171 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1172 \defaultfontfeatures{}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1173 \RequirePackage[Scale=MatchLowercase]{euler-math}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1174 \defaultfontfeatures{Scale=MatchLowercase}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1175 \setmathfont{XCharter Math}[range={"03F1,"1D71A}]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1176 \setmathfont{Euler Math}[range={}]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1177 \fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1178 \@mdf@augment@cmutypewritertexttrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1179 }{}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1180
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1181 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{stix}{%
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1182 \if@mdf@UseUnicodeMath\RequirePackage{unicode-math}\fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1183 \defaultfontfeatures{Ligatures=TeX,Numbers={Lining,Tabular}}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1184 \setmainfont{STIX Two Text}[%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1185 UprightFont = * Regular,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1186 BoldFont = * Bold,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1187 ItalicFont = * Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1188 BoldItalicFont = * Bold Italic,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1189 ]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1190 \setsansfont{Inter}[Scale=MatchLowercase]
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1191 \setmonofont{CMU Typewriter Text}[Scale=MatchLowercase, ScaleAgain=0.97]
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1192 \if@mdf@UseUnicodeMath
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1193 \defaultfontfeatures{Scale=MatchLowercase}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1194 \setmathfont{STIX Two Math}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1195 \fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1196 \@mdf@augment@cmutypewritertexttrue
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1197 }{}
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1198
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1199 %
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1200 % MONO
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1201 %
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1202
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1203 % Used for most
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1204 \defaultfontfeatures{%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1205 Scale=MatchLowercase,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1206 Ligatures=TeX,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1207 Numbers={Lining,Tabular}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1208 }
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
1209
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
1210 \if@mdf@mono@dejavusansmono
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1211 \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
1212 % automatically applied with Scale=MatchLowercase,...
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1213 % \defaultfontfeatures{%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1214 % Ligatures=TeX,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1215 % Numbers={Lining,Tabular},
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1216 % Scale=MatchLowercase,
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1217 % \@mfd@extra@mono@features
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1218 % }
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1219 \RequirePackage[DefaultFeatures={Ligatures=TeX,Numbers={Lining,Tabular},Scale=MatchLowercase},mono=true,serif=false,sans=false,math=false,TT={\@mfd@extra@mono@features}]{dejavu-otf} % almost all symbols are available
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1220 \newunicodechar{}{{\DejaVuSansCondensed }}% U+2387
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1221 \fi
225
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
1222
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
1223 \if@mdf@mono@cmmono
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
1224 \RequirePackage{newunicodechar}
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1225 \@mdf@provide@dejavu@mono@families
225
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
1226 \newunicodechar{}{{\DejaVuSansMono }}% U+25B7
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1227 \newunicodechar{}{{\DejaVuSansMono }}% U+25B9
225
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
1228 \newunicodechar{}{{\DejaVuSansMono }}% U+2236
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
1229 \newunicodechar{}{{\DejaVuSansMono }}% U+25C6
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
1230 \newunicodechar{}{{\DejaVuSansMono }}% U+27F5
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
1231 \newunicodechar{}{{\DejaVuSansMono }}% U+27F6
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
1232 \newunicodechar{}{{\DejaVuSansMono }}% U+27F7
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
1233 \newunicodechar{}{{\DejaVuSansMono }}% U+21D2
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
1234 \newunicodechar{}{{\DejaVuSansMono }}% U+21D4
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
1235 \newunicodechar{}{{\DejaVuSansMono }}% U+25AA
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
1236 \newunicodechar{}{{\DejaVuSansMono }}% U+225F
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
1237 \newunicodechar{}{{\DejaVuSansMono }}% U+2208
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
1238 \newunicodechar{}{{\DejaVuSansMono }}% U+220C
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
1239 \newunicodechar{}{{\DejaVuSansMono }}% U+2260
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
1240 \newunicodechar{}{{\DejaVuSansMono }}% U+2264
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
1241 \newunicodechar{}{{\DejaVuSansMono }}% U+2265
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1242 \newunicodechar{}{{\DejaVuSansMono }}% U+2259
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1243 \newunicodechar{}{{\DejaVuSansMono }}% U+21AA
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1244 \newunicodechar{}{{\DejaVuSansMono }}% U+21A9
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1245 \newunicodechar{}{{\DejaVuSansMono }}% U+21E7
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1246 \newunicodechar{}{{\DejaVuSansMono }}% U+2303
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1247 \newunicodechar{}{{\DejaVuSansMono }}% U+2388
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1248 \newunicodechar{}{{\DejaVuSansMono }}% U+2325
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1249 \newunicodechar{}{{\DejaVuSansCondensed }}% U+2387
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1250 \newunicodechar{}{{\DejaVuSansMono }}% U+2318
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1251 \newunicodechar{}{{\DejaVuSansMono }}% U+23CF
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1252 \newunicodechar{}{{\DejaVuSansMono }}% U+232B
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1253 \newunicodechar{}{{\DejaVuSansMono }}% U+2326
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1254 \newunicodechar{}{{\DejaVuSansMono }}% U+21E5
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1255 \newunicodechar{}{{\DejaVuSansMono }}% U+21E4
225
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
1256 \PassOptionsToPackage{%
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
1257 verbatimvisiblespace={\textcolor{red}{{\DejaVuSansMono^^^^2423}}},%
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
1258 verbatimcontinued={\textcolor{red}{{\DejaVuSansMono^^^^21aa}}}}%
eb3d0ae3143b Augment CM fonts with missing symbols
Franz Glasner <fzglas.hg@dom66.de>
parents: 223
diff changeset
1259 {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
1260 \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
1261
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
1262 \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
1263 \RequirePackage{newunicodechar}
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
1264 \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
1265 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
1266 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
1267 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
1268 BoldItalicFont = * Bold Italic,
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1269 \@mfd@extra@mono@features
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
1270 ]
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1271 \@mdf@provide@dejavu@mono@families
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
1272 \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
1273 \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
1274 \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
1275 \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
1276 \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
1277 \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
1278 \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
1279 \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
1280 \newunicodechar{}{{\DejaVuSansMono }}% U+220C
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1281 \newunicodechar{}{{\DejaVuSansMono }}% U+2259
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1282 \newunicodechar{}{{\DejaVuSansMono }}% U+2423
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1283 \newunicodechar{}{{\DejaVuSansMono }}% U+21AA
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1284 \newunicodechar{}{{\DejaVuSansMono }}% U+21A9
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1285 \newunicodechar{}{{\DejaVuSansMono }}% U+21E7
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1286 \newunicodechar{}{{\DejaVuSansMono }}% U+2303
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1287 \newunicodechar{}{{\DejaVuSansMono }}% U+2388
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1288 \newunicodechar{}{{\DejaVuSansMono }}% U+2325
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1289 \newunicodechar{}{{\DejaVuSansCondensed }}% U+2387
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1290 \newunicodechar{}{{\DejaVuSansMono }}% U+2318
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1291 \newunicodechar{}{{\DejaVuSansMono }}% U+23CF
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1292 \newunicodechar{}{{\DejaVuSansMono }}% U+232B
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1293 \newunicodechar{}{{\DejaVuSansMono }}% U+2326
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1294 \newunicodechar{}{{\DejaVuSansMono }}% U+21E5
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1295 \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
1296 \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
1297 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
1298 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
1299 {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
1300 \fi
196
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
1301
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
1302 \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
1303 \RequirePackage{newunicodechar}
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
1304 \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
1305 UprightFont = *,
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
1306 BoldFont = * Bold,
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
1307 ItalicFont = * Italic,
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
1308 BoldItalicFont = * Bold Italic,
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1309 \@mfd@extra@mono@features
204
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
1310 ]
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1311 \@mdf@provide@dejavu@mono@families
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1312 \newunicodechar{}{{\DejaVuSansMono }}% U+25B9
204
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
1313 \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
1314 \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
1315 \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
1316 \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
1317 \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
1318 \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
1319 \newunicodechar{}{{\DejaVuSansMono }}% U+220C
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1320 \newunicodechar{}{{\DejaVuSansMono }}% U+2259
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1321 \newunicodechar{}{{\DejaVuSansMono }}% U+21AA
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1322 \newunicodechar{}{{\DejaVuSansMono }}% U+21A9
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1323 \newunicodechar{}{{\DejaVuSansMono }}% U+21E7
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1324 \newunicodechar{}{{\DejaVuSansMono }}% U+2303
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1325 \newunicodechar{}{{\DejaVuSansMono }}% U+2388
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1326 \newunicodechar{}{{\DejaVuSansMono }}% U+2325
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1327 \newunicodechar{}{{\DejaVuSansCondensed }}% U+2387
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1328 \newunicodechar{}{{\DejaVuSansMono }}% U+2318
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1329 \newunicodechar{}{{\DejaVuSansMono }}% U+23CF
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1330 \newunicodechar{}{{\DejaVuSansMono }}% U+232B
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1331 \newunicodechar{}{{\DejaVuSansMono }}% U+2326
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1332 \newunicodechar{}{{\DejaVuSansMono }}% U+21E5
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1333 \newunicodechar{}{{\DejaVuSansMono }}% U+21E4
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1334
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1335 %\RequirePackage{pifont}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1336 %\newunicodechar{}{\ding{51}}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1337
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1338 %\newunicodechar{}{{\DejaVuSansMono }}% U+2713
204
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
1339 \fi
afecfdcfd288 A new style "charter" for PDFs with "XCharter", "Lato" and "Inconsolata".
Franz Glasner <fzglas.hg@dom66.de>
parents: 203
diff changeset
1340
222
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1341 \if@mdf@mono@robotomono
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1342 \RequirePackage{newunicodechar}
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1343 \setmonofont{Roboto Mono}[%
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1344 UprightFont = *,
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1345 BoldFont = * Bold,
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1346 ItalicFont = * Italic,
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1347 BoldItalicFont = * Bold Italic,
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1348 \@mfd@extra@mono@features
222
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1349 ]
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1350 \@mdf@provide@dejavu@mono@families
222
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1351 \newunicodechar{}{{\DejaVuSansMono }}% U+25B7
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1352 \newunicodechar{}{{\DejaVuSansMono }}% U+25B9
222
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1353 \newunicodechar{}{{\DejaVuSansMono }}% U+2236
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1354 \newunicodechar{}{{\DejaVuSansMono }}% U+25C6
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1355 \newunicodechar{}{{\DejaVuSansMono }}% U+27F5
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1356 \newunicodechar{}{{\DejaVuSansMono }}% U+27F6
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1357 \newunicodechar{}{{\DejaVuSansMono }}% U+27F7
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1358 \newunicodechar{}{{\DejaVuSansMono }}% U+21D2
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1359 \newunicodechar{}{{\DejaVuSansMono }}% U+21D4
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1360 \newunicodechar{}{{\DejaVuSansMono }}% U+25AA
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1361 \newunicodechar{}{{\DejaVuSansMono }}% U+225F
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1362 \newunicodechar{}{{\DejaVuSansMono }}% U+2208
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1363 \newunicodechar{}{{\DejaVuSansMono }}% U+220C
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1364 \newunicodechar{}{{\DejaVuSansMono }}% U+2259
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1365 \newunicodechar{}{{\DejaVuSansMono }}% U+2423
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1366 \newunicodechar{}{{\DejaVuSansMono }}% U+21AA
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1367 \newunicodechar{}{{\DejaVuSansMono }}% U+21A9
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1368 \newunicodechar{}{{\DejaVuSansMono }}% U+21E7
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1369 \newunicodechar{}{{\DejaVuSansMono }}% U+2303
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1370 \newunicodechar{}{{\DejaVuSansMono }}% U+2388
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1371 \newunicodechar{}{{\DejaVuSansMono }}% U+2325
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1372 \newunicodechar{}{{\DejaVuSansCondensed }}% U+2387
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1373 \newunicodechar{}{{\DejaVuSansMono }}% U+2318
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1374 \newunicodechar{}{{\DejaVuSansMono }}% U+23CF
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1375 \newunicodechar{}{{\DejaVuSansMono }}% U+232B
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1376 \newunicodechar{}{{\DejaVuSansMono }}% U+2326
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1377 \newunicodechar{}{{\DejaVuSansMono }}% U+21E5
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1378 \newunicodechar{}{{\DejaVuSansMono }}% U+21E4
222
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1379 \PassOptionsToPackage{%
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1380 verbatimvisiblespace={\textcolor{red}{{\DejaVuSansMono^^^^2423}}},%
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1381 verbatimcontinued={\textcolor{red}{{\DejaVuSansMono^^^^21aa}}}}%
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1382 {sphinx}
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1383 \fi
be0cca3df1eb Allow the font style "Roboto Mono"
Franz Glasner <fzglas.hg@dom66.de>
parents: 221
diff changeset
1384
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
1385 \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
1386 \RequirePackage{newunicodechar}
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1387 \setmonofont{Hack}[\@mfd@extra@mono@features]
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1388 \@mdf@provide@dejavu@mono@families
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
1389 \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
1390 \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
1391 \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
1392 \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
1393 \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
1394 \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
1395 \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
1396 \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
1397 \newunicodechar{}{{\DejaVuSansMono }}% U+2326
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1398 \newunicodechar{}{{\DejaVuSansMono }}% U+2713
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
1399 \PassOptionsToPackage{%
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
1400 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
1401 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
1402 {sphinx}
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
1403 \fi
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
1404
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1405 \if@mdf@mono@firamono
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1406 \setmonofont{Fira Mono}[%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1407 UprightFont = * Regular,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1408 ItalicFont = * Oblique,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1409 BoldFont = * Bold,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1410 BoldItalicFont = * Bold Oblique,
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1411 \@mfd@extra@mono@features
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1412 ]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1413 \@mdf@augment@firamonotrue
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1414 \fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1415
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1416 \if@mdf@mono@firamonomedium
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1417 \setmonofont{Fira Mono}[%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1418 UprightFont = * Medium,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1419 ItalicFont = * Medium Oblique,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1420 BoldFont = * Bold,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1421 BoldItalicFont = * Bold Oblique,
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1422 \@mfd@extra@mono@features
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1423 ]
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1424 \@mdf@augment@firamonotrue
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1425 \fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1426
239
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
1427 \if@mdf@mono@libertinusmono
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1428 \defaultfontfeatures{}
239
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
1429 % 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
1430 \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
1431 Ligatures = TeX,
239
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
1432 Numbers = {Lining, Tabular},
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
1433 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
1434 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
1435 UprightFont = *-Regular,
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
1436 ItalicFont = *-Regular,
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
1437 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
1438 SlantedFont = *-Regular,
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
1439 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
1440 BoldFont = *-Regular,
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
1441 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
1442 BoldItalicFont = *-Regular,
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
1443 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
1444 Extension = .otf,
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1445 \@mfd@extra@mono@features
239
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
1446 ]
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
1447 \@mdf@augment@libertinusmonotrue
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
1448 \fi
e3baa7e72af3 Use "Libertinus Mono" with Palatino instead of Source Code Pro
Franz Glasner <fzglas.hg@dom66.de>
parents: 238
diff changeset
1449
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1450 \if@mdf@mono@gomono
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1451 \setmonofont{Go Mono}[%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1452 \@mfd@extra@mono@features
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1453 ]
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1454 \@mdf@augment@gomonotrue
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1455 \fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1456
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1457 %
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1458 % AUGMENT
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1459 %
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1460
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1461 % Used for all below
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1462 \defaultfontfeatures{%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1463 Scale=MatchLowercase,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1464 Ligatures=TeX,
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1465 Numbers={Lining,Tabular}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1466 }
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1467
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1468 \if@mdf@optionequalTF{\@mdf@option@fonts@selection}{external}{%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1469 \InputIfFileExists{\@mdf@externalname.augment}{%
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1470 \PackageInfo{my-doc-fonts}{Loading \@mdf@externalname.augment font style file}}{}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1471 }{}
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1472
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
1473 \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
1474 \RequirePackage{newunicodechar}
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1475 \@mdf@provide@dejavu@mono@families
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
1476 \newunicodechar{}{{\DejaVuSansMono }}% U+25B7
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1477 \newunicodechar{}{{\DejaVuSansMono }}% U+25B9
280
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
1478 \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
1479 \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
1480 \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
1481 \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
1482 \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
1483 \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
1484 \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
1485 \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
1486 \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
1487 \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
1488 \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
1489 \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
1490 \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
1491 \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
1492 \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
1493 \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
1494 \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
1495 \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
1496 \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
1497 \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
1498 \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
1499 \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
1500 \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
1501 \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
1502 %\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
1503 %\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
1504 %\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
1505
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
1506 \PassOptionsToPackage{%
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
1507 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
1508 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
1509 {sphinx}
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
1510 \fi
1b0e58f60f73 Update to latest my-doc-XXX.sty for PDF builds
Franz Glasner <fzglas.hg@dom66.de>
parents: 262
diff changeset
1511
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
1512 \if@mdf@augment@libertinusmono
238
b60d719f7cde FIX: Package newunicodechar is required for augmenting
Franz Glasner <fzglas.hg@dom66.de>
parents: 236
diff changeset
1513 \RequirePackage{newunicodechar}
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1514 \@mdf@provide@dejavu@mono@families
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
1515 \newunicodechar{}{{\DejaVuSansMono }}% U+25B7
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1516 \newunicodechar{}{{\DejaVuSansMono }}% U+25B9
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
1517 \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
1518 \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
1519 \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
1520 \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
1521 \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
1522 \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
1523 \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
1524 \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
1525 \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
1526 \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
1527 \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
1528 \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
1529 \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
1530 \newunicodechar{}{{\DejaVuSansMono }}% U+2265
262
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1531 \newunicodechar{}{{\DejaVuSansMono }}% U+2259
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1532 \newunicodechar{}{{\DejaVuSansMono }}% U+2423
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1533 \newunicodechar{}{{\DejaVuSansMono }}% U+21AA
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1534 \newunicodechar{}{{\DejaVuSansMono }}% U+21A9
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1535 \newunicodechar{}{{\DejaVuSansMono }}% U+21E7
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1536 \newunicodechar{}{{\DejaVuSansMono }}% U+2303
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1537 \newunicodechar{}{{\DejaVuSansMono }}% U+2388
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1538 \newunicodechar{}{{\DejaVuSansMono }}% U+2325
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1539 \newunicodechar{}{{\DejaVuSansCondensed }}% U+2387
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1540 \newunicodechar{}{{\DejaVuSansMono }}% U+2318
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1541 \newunicodechar{}{{\DejaVuSansMono }}% U+23CF
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1542 \newunicodechar{}{{\DejaVuSansMono }}% U+232B
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1543 \newunicodechar{}{{\DejaVuSansMono }}% U+2326
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1544 \newunicodechar{}{{\DejaVuSansMono }}% U+21E5
27fd802338c6 Update to my-doc-fonts.sty v0.5
Franz Glasner <fzglas.hg@dom66.de>
parents: 243
diff changeset
1545 \newunicodechar{}{{\DejaVuSansMono }}% U+21E4
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1546 \newunicodechar{}{{\DejaVuSansMono }}% U+2713
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
1547 %\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
1548 %\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
1549 %\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
1550
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
1551 \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
1552 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
1553 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
1554 {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
1555 \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
1556
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1557 \if@mdf@augment@redhatmono
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1558 \RequirePackage{newunicodechar}
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1559 \@mdf@provide@dejavu@mono@families
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1560 \newunicodechar{}{{\DejaVuSansMono }}% U+25B7
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1561 \newunicodechar{}{{\DejaVuSansMono }}% U+25B9
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1562 \newunicodechar{}{{\DejaVuSansMono }}% U+2236
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1563 \newunicodechar{}{{\DejaVuSansMono }}% U+25C6
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1564 \newunicodechar{}{{\DejaVuSansMono }}% U+27F5
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1565 \newunicodechar{}{{\DejaVuSansMono }}% U+27F6
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1566 \newunicodechar{}{{\DejaVuSansMono }}% U+27F7
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1567 \newunicodechar{}{{\DejaVuSansMono }}% U+21D2
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1568 \newunicodechar{}{{\DejaVuSansMono }}% U+21D4
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1569 \newunicodechar{}{{\DejaVuSansMono }}% U+25AA
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1570 \newunicodechar{}{{\DejaVuSansMono }}% U+225F
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1571 \newunicodechar{}{{\DejaVuSansMono }}% U+2208
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1572 \newunicodechar{}{{\DejaVuSansMono }}% U+220C
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1573 % \newunicodechar{}{{\DejaVuSansMono }}% U+2260
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1574 \newunicodechar{}{{\DejaVuSansMono }}% U+2264
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1575 \newunicodechar{}{{\DejaVuSansMono }}% U+2265
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1576 \newunicodechar{}{{\DejaVuSansMono }}% U+2259
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1577 \newunicodechar{}{{\DejaVuSansMono }}% U+2423
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1578 \newunicodechar{}{{\DejaVuSansMono }}% U+21AA
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1579 \newunicodechar{}{{\DejaVuSansMono }}% U+21A9
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1580 \newunicodechar{}{{\DejaVuSansMono }}% U+21E7
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1581 \newunicodechar{}{{\DejaVuSansMono }}% U+2303
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1582 \newunicodechar{}{{\DejaVuSansMono }}% U+2388
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1583 \newunicodechar{}{{\DejaVuSansMono }}% U+2325
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1584 \newunicodechar{}{{\DejaVuSansCondensed }}% U+2387
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1585 \newunicodechar{}{{\DejaVuSansMono }}% U+2318
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1586 \newunicodechar{}{{\DejaVuSansMono }}% U+23CF
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1587 \newunicodechar{}{{\DejaVuSansMono }}% U+232B
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1588 \newunicodechar{}{{\DejaVuSansMono }}% U+2326
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1589 \newunicodechar{}{{\DejaVuSansMono }}% U+21E5
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1590 \newunicodechar{}{{\DejaVuSansMono }}% U+21E4
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1591 \PassOptionsToPackage{%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1592 verbatimvisiblespace={\textcolor{red}{{\DejaVuSansMono^^^^2423}}},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1593 verbatimcontinued={\textcolor{red}{{\DejaVuSansMono^^^^21aa}}}}%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1594 {sphinx}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1595 \fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1596
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1597 \if@mdf@augment@cascadiacode
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1598 \RequirePackage{newunicodechar}
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1599 \@mdf@provide@dejavu@mono@families
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1600 \newunicodechar{}{{\DejaVuSansMono }}% U+27F5
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1601 \newunicodechar{}{{\DejaVuSansMono }}% U+27F6
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1602 \newunicodechar{}{{\DejaVuSansMono }}% U+27F7
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1603 \newunicodechar{}{{\DejaVuSansMono }}% U+21D2
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1604 \newunicodechar{}{{\DejaVuSansMono }}% U+21D4
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1605 \newunicodechar{}{{\DejaVuSansMono }}% U+225F
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1606 \newunicodechar{}{{\DejaVuSansMono }}% U+2208
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1607 \newunicodechar{}{{\DejaVuSansMono }}% U+220C
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1608 \newunicodechar{}{{\DejaVuSansMono }}% U+2259
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1609 \newunicodechar{}{{\DejaVuSansMono }}% U+2423
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1610 \newunicodechar{}{{\DejaVuSansMono }}% U+21AA
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1611 \newunicodechar{}{{\DejaVuSansMono }}% U+21A9
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1612 \newunicodechar{}{{\DejaVuSansMono }}% U+21E7
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1613 \newunicodechar{}{{\DejaVuSansMono }}% U+2303
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1614 \newunicodechar{}{{\DejaVuSansMono }}% U+2388
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1615 \newunicodechar{}{{\DejaVuSansMono }}% U+2325
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1616 \newunicodechar{}{{\DejaVuSansCondensed }}% U+2387
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1617 \newunicodechar{}{{\DejaVuSansMono }}% U+2318
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1618 \newunicodechar{}{{\DejaVuSansMono }}% U+23CF
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1619 \newunicodechar{}{{\DejaVuSansMono }}% U+232B
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1620 \newunicodechar{}{{\DejaVuSansMono }}% U+2326
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1621 \newunicodechar{}{{\DejaVuSansMono }}% U+21E5
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1622 \newunicodechar{}{{\DejaVuSansMono }}% U+21E4
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1623 \PassOptionsToPackage{%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1624 verbatimvisiblespace={\textcolor{red}{{\DejaVuSansMono^^^^2423}}},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1625 verbatimcontinued={\textcolor{red}{{\DejaVuSansMono^^^^21aa}}}}%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1626 {sphinx}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1627 \fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1628
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1629 \if@mdf@augment@jetbrainsmono
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1630 \RequirePackage{newunicodechar}
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1631 \@mdf@provide@dejavu@mono@families
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1632 \newunicodechar{}{{\DejaVuSansMono }}% U+2259
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1633 \newunicodechar{}{{\DejaVuSansMono }}% U+2388
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1634 \newunicodechar{}{{\DejaVuSansCondensed }}% U+2387
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1635 \newunicodechar{}{{\DejaVuSansMono }}% U+23CF
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1636 \newunicodechar{}{{\DejaVuSansMono }}% U+21E5
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1637 \newunicodechar{}{{\DejaVuSansMono }}% U+21E4
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1638 % \PassOptionsToPackage{%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1639 % verbatimvisiblespace={\textcolor{red}{{\DejaVuSansMono^^^^2423}}},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1640 % verbatimcontinued={\textcolor{red}{{\DejaVuSansMono^^^^21aa}}}}%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1641 % {sphinx}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1642 \fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1643
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1644 \if@mdf@augment@firamono
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1645 \RequirePackage{newunicodechar}
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1646 \@mdf@provide@dejavu@mono@families
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1647 \newunicodechar{}{{\DejaVuSansMono }}% U+25B7
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1648 \newunicodechar{}{{\DejaVuSansMono }}% U+25B9
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1649 \newunicodechar{}{{\DejaVuSansMono }}% U+2236
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1650 \newunicodechar{}{{\DejaVuSansMono }}% U+27F5
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1651 \newunicodechar{}{{\DejaVuSansMono }}% U+27F6
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1652 \newunicodechar{}{{\DejaVuSansMono }}% U+27F7
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1653 \newunicodechar{}{{\DejaVuSansMono }}% U+21D2
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1654 \newunicodechar{}{{\DejaVuSansMono }}% U+21D4
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1655 \newunicodechar{}{{\DejaVuSansMono }}% U+225F
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1656 \newunicodechar{}{{\DejaVuSansMono }}% U+2208
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1657 \newunicodechar{}{{\DejaVuSansMono }}% U+220C
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1658 \newunicodechar{}{{\DejaVuSansMono }}% U+2423
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1659 \newunicodechar{}{{\DejaVuSansMono }}% U+21AA
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1660 \newunicodechar{}{{\DejaVuSansMono }}% U+21A9
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1661 \newunicodechar{}{{\DejaVuSansMono }}% U+2259
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1662 \newunicodechar{}{{\DejaVuSansMono }}% U+2303
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1663 \newunicodechar{}{{\DejaVuSansMono }}% U+2388
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1664 \newunicodechar{}{{\DejaVuSansMono }}% U+2325
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1665 \newunicodechar{}{{\DejaVuSansCondensed }}% U+2387
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1666 \newunicodechar{}{{\DejaVuSansMono }}% U+2318
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1667 \newunicodechar{}{{\DejaVuSansMono }}% U+23CF
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1668 \newunicodechar{}{{\DejaVuSansMono }}% U+21E5
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1669 \newunicodechar{}{{\DejaVuSansMono }}% U+21E4
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1670 \newunicodechar{}{{\DejaVuSansMono }}% U+2713
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1671
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1672 \PassOptionsToPackage{%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1673 verbatimvisiblespace={\textcolor{red}{{\DejaVuSansMono^^^^2423}}},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1674 verbatimcontinued={\textcolor{red}{{\DejaVuSansMono^^^^21aa}}}}%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1675 {sphinx}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1676 \fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1677
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1678 \if@mdf@augment@cmutypewritertext
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1679 \RequirePackage{newunicodechar}
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1680 \@mdf@provide@dejavu@mono@families
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1681 \newunicodechar{}{{\DejaVuSansMono }}% U+25B7
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1682 \newunicodechar{}{{\DejaVuSansMono }}% U+25B9
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1683 \newunicodechar{}{{\DejaVuSansMono }}% U+2236
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1684 \newunicodechar{}{{\DejaVuSansMono }}% U+25C6
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1685 \newunicodechar{}{{\DejaVuSansMono }}% U+25AA
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1686 \newunicodechar{}{{\DejaVuSansMono }}% U+27F5
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1687 \newunicodechar{}{{\DejaVuSansMono }}% U+27F6
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1688 \newunicodechar{}{{\DejaVuSansMono }}% U+27F7
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1689 \newunicodechar{}{{\DejaVuSansMono }}% U+21D2
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1690 \newunicodechar{}{{\DejaVuSansMono }}% U+21D4
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1691 \newunicodechar{}{{\DejaVuSansMono }}% U+2208
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1692 \newunicodechar{}{{\DejaVuSansMono }}% U+220C
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1693 \newunicodechar{}{{\DejaVuSansMono }}% U+2260
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1694 \newunicodechar{}{{\DejaVuSansMono }}% U+225F
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1695 \newunicodechar{}{{\DejaVuSansMono }}% U+2423
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1696 \newunicodechar{}{{\DejaVuSansMono }}% U+21AA
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1697 \newunicodechar{}{{\DejaVuSansMono }}% U+21A9
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1698 \newunicodechar{}{{\DejaVuSansMono }}% U+2264
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1699 \newunicodechar{}{{\DejaVuSansMono }}% U+2265
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1700 \newunicodechar{}{{\DejaVuSansMono }}% U+2259
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1701 \newunicodechar{}{{\DejaVuSansMono }}% U+21E7
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1702 \newunicodechar{}{{\DejaVuSansMono }}% U+2303
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1703 \newunicodechar{}{{\DejaVuSansMono }}% U+2388
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1704 \newunicodechar{}{{\DejaVuSansMono }}% U+2325
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1705 \newunicodechar{}{{\DejaVuSansCondensed }}% U+2387
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1706 \newunicodechar{}{{\DejaVuSansMono }}% U+2318
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1707 \newunicodechar{}{{\DejaVuSansMono }}% U+23CF
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1708 \newunicodechar{}{{\DejaVuSansMono }}% U+232B
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1709 \newunicodechar{}{{\DejaVuSansMono }}% U+2326
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1710 \newunicodechar{}{{\DejaVuSansMono }}% U+21E5
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1711 \newunicodechar{}{{\DejaVuSansMono }}% U+21E4
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1712 \fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1713
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1714 \if@mdf@augment@gomono
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1715 \RequirePackage{newunicodechar}
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1716 \@mdf@provide@dejavu@mono@families
298
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1717 \newunicodechar{}{{\DejaVuSansMono }}% U+25B7
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1718 \newunicodechar{}{{\DejaVuSansMono }}% U+25B9
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1719 \newunicodechar{}{{\DejaVuSansMono }}% U+2236
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1720 \newunicodechar{}{{\DejaVuSansMono }}% U+25C6
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1721 \newunicodechar{}{{\DejaVuSansMono }}% U+27F5
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1722 \newunicodechar{}{{\DejaVuSansMono }}% U+27F6
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1723 \newunicodechar{}{{\DejaVuSansMono }}% U+27F7
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1724 \newunicodechar{}{{\DejaVuSansMono }}% U+21D2
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1725 \newunicodechar{}{{\DejaVuSansMono }}% U+21D4
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1726 \newunicodechar{}{{\DejaVuSansMono }}% U+2208
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1727 \newunicodechar{}{{\DejaVuSansMono }}% U+220C
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1728 \newunicodechar{}{{\DejaVuSansMono }}% U+2260
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1729 \newunicodechar{}{{\DejaVuSansMono }}% U+225F
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1730 \newunicodechar{}{{\DejaVuSansMono }}% U+2423
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1731 \newunicodechar{}{{\DejaVuSansMono }}% U+21AA
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1732 \newunicodechar{}{{\DejaVuSansMono }}% U+21A9
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1733 \newunicodechar{}{{\DejaVuSansMono }}% U+2264
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1734 \newunicodechar{}{{\DejaVuSansMono }}% U+2265
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1735 \newunicodechar{}{{\DejaVuSansMono }}% U+2259
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1736 \newunicodechar{}{{\DejaVuSansMono }}% U+21E7
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1737 \newunicodechar{}{{\DejaVuSansMono }}% U+2303
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1738 \newunicodechar{}{{\DejaVuSansMono }}% U+2388
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1739 \newunicodechar{}{{\DejaVuSansMono }}% U+2325
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1740 \newunicodechar{}{{\DejaVuSansCondensed }}% U+2387
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1741 \newunicodechar{}{{\DejaVuSansMono }}% U+2318
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1742 \newunicodechar{}{{\DejaVuSansMono }}% U+23CF
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1743 \newunicodechar{}{{\DejaVuSansMono }}% U+232B
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1744 \newunicodechar{}{{\DejaVuSansMono }}% U+2326
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1745 \newunicodechar{}{{\DejaVuSansMono }}% U+21E5
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1746 \newunicodechar{}{{\DejaVuSansMono }}% U+21E4
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1747
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1748 \PassOptionsToPackage{%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1749 verbatimvisiblespace={\textcolor{red}{{\DejaVuSansMono^^^^2423}}},%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1750 verbatimcontinued={\textcolor{red}{{\DejaVuSansMono^^^^21aa}}}}%
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1751 {sphinx}
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1752 \fi
0052d12ec437 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 280
diff changeset
1753
196
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
1754 \defaultfontfeatures{}
d57cf1bb96d6 A new PDF style using "Spectral" with Source Sans/Code
Franz Glasner <fzglas.hg@dom66.de>
parents: 191
diff changeset
1755
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
1756 \def\testmdf{
299
11f4f4d2ec03 Update to latest Sphinx customizations
Franz Glasner <fzglas.hg@dom66.de>
parents: 298
diff changeset
1757 Normalized: \@mdf@option@fonts\newline
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
1758 }
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
1759
181
dcbc66f851eb A style file for (Lua)LaTeX that loads the required fonts.
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff changeset
1760 \endinput