comparison docs/_latex/my-doc-fonts.sty @ 227:0fb4e7c34b10

Comment the options
author Franz Glasner <fzglas.hg@dom66.de>
date Fri, 15 May 2026 20:07:39 +0200
parents 90bbece6fae8
children e363dc537be5
comparison
equal deleted inserted replaced
226:90bbece6fae8 227:0fb4e7c34b10
30 \newif\if@mdf@WithCharter 30 \newif\if@mdf@WithCharter
31 \newif\if@mdf@WithLibertinus 31 \newif\if@mdf@WithLibertinus
32 32
33 % A key compatible with options processing as option "fonts" but choices. 33 % A key compatible with options processing as option "fonts" but choices.
34 \define@choicekey*{my-doc-fonts.sty}{fonts}[\val\nr]{% 34 \define@choicekey*{my-doc-fonts.sty}{fonts}[\val\nr]{%
35 default, 35 default, % do not change anything: deactivate the default dejavusansmono
36 dejavusansmono, 36 % no augmentation needed: all characters available
37 cm, 37 dejavusansmono, % use DejaVu Sans Mono as monospaced font
38 robotomono, 38 % the fonts below need augmentation for missing characters
39 ibmplex, plex, 39 cm, % assume CM fonts and just fix missing characters
40 plex-dejavusansmono, 40 robotomono, % use Roboto Mono as mono font
41 adobesourcepro, adobesource, 41 ibmplex, plex, % use the IBM Plex family (incl. Math)
42 spectral, 42 plex-dejavusansmono, % use IBM Plex Mono as mono font
43 charter, 43 adobesourcepro, adobesource, % Use Adobe Source Serif/Sans/Mono
44 libertinus}{% 44 spectral, % use Spectral, Source Sans Pro and Source Code Pro
45 charter, % use XCharter (with XCharter Math), Lato and Inconsolata
46 libertinus % use Libertinus family (incl. Math)
47 }{%
45 % Not used for now : store the normalized option value (global and expanded) 48 % Not used for now : store the normalized option value (global and expanded)
46 \xdef\@mdf@fonts{\val}% 49 \xdef\@mdf@fonts{\val}%
47 % Reset all option related font selection flags 50 % Reset all option related font selection flags
48 \@mdf@WithDejaVuSansMonofalse 51 \@mdf@WithDejaVuSansMonofalse
49 \@mdf@WithCMfalse 52 \@mdf@WithCMfalse