]> git.lyx.org Git - lyx.git/blob - lib/latexfonts
latexfonts: support for the Noto fonts
[lyx.git] / lib / latexfonts
1 ##########################################################################
2 #
3 # LaTeX fonts natively supported by LyX.
4 #
5 # Syntax:
6 #
7 # Font <name>
8 #       GuiName            "<Gui Name>"
9 #       Family             <rm|sf|tt|math>
10 #       SwitchDefault      <0|1>
11 #       Package            <LaTeX package to be loaded>
12 #       Requires           <LaTeX package to test for>
13 #       AltFonts           <alternative fonts (comma-separated)>
14 #       OT1Font            <alternative font specifically for OT1 encoding>
15 #       CompleteFont       <alternative package for the complete family>
16 #       NoMathFont         <alternative font that does not change math>
17 #       PackageOptions     <general options to be passed to the package>
18 #       OsfOption          <option for oldstyle figure support>
19 #       OsfFont            <extra font for oldstyle figures>
20 #       OsfDefault         <0|1>
21 #       ScOption           <option for true smallcaps support>
22 #       OsfScOption        <option for combined osf and true smallcaps support>
23 #       ScaleOption        <option for font scaling>
24 #       Provides           <features provided by the font packages (comma-separated)>
25 #       Preamble
26 #         <some arbitrary LaTeX code to be issued in the preamble>
27 #       EndPreamble
28 # EndFont
29 #
30 #
31 # NOTES:
32 #
33 # * Adding a new font results in a FILE FORMAT CHANGE. So if a new font
34 #   is added for the LyX distribution, the according changes need to be
35 #   done.
36 # * "SwitchDefault 1" makes the font to be loaded by switching the default
37 #   family to <name> (e.g., \renewcommand{\rmdefault}{cmr}), whereas
38 #   Package <package> loads it via \usepackage{package}. Only one of these
39 #   options is used per font (SwitchDefault takes precendende). Note that
40 #   SwitchDefault uses the font name.
41 # * In addition to normal fonts, you can also define alternative fonts
42 #   using the AltFont...EndFont tags. These alternative fonts will not
43 #   be added to the GUI, but LyX will fall back on them under specific
44 #   circumstances (e.g. if the main font is not available; see below).
45 # * If AltFonts are defined, LyX will try to load them in the defined
46 #   order if the main package is not available. So
47 #       Package          mathptmx
48 #       AltFonts         mathptm,times
49 #   will try to load mathptm if mathptmx is not available and then times
50 #   if mathptm is not available either.
51 #   AltFonts need to be defined separately using AltFont ... EndFont tags.
52 # * If Requires is set, LyX will check for this. If not, it will check
53 #   for Package and AltFonts.
54 # * OT1Font will load the defined font if the font encoding is OT1. This is
55 #   necessary since some newer font packages do not support this encoding.
56 #   The value "none" tells LyX not to load any font in OT1 encoding.
57 #   OT1Fonts need to be defined separately using AltFont ... EndFont tags.
58 # * The CompleteFont is loaded if the current font is selected as rm and
59 #   both sf and tt are set to "default" (this allows for instance to load
60 #   "bera" as opposed to "beraserif").
61 #   CompleteFonts need to be defined separately using AltFont ... EndFont
62 #   tags.
63 # * OsfFont is a font that is loaded additionally in and that provides
64 #   Old Style Figures for a given font (e.g. eco).
65 # * OsfScOption overrides any OsfOption and ScOption if both features
66 #   are selected.
67 # * Set OsfDefault to true for fonts which have Old Style Figures by
68 #   default and provide an option for lining figures. Pass this option
69 #   to OsfOption.
70 # * ScaleOption supports the placeholder $$val for the scale value.
71 # * The Preamble code is output immediately after the respective font
72 #   loading command.
73 #
74 ##########################################################################
75
76
77 #
78 # ROMAN FONTS
79 #
80
81 Font ae
82         GuiName          "AE (Almost European)"
83         Family           rm
84         Package          "ae,aecompl"
85         OT1Font          none
86         Requires         ae
87 EndFont
88
89 Font beraserif
90         GuiName          "Bera Serif"
91         Family           rm
92         Package          beraserif
93         CompleteFont     bera
94         Requires         bera
95 EndFont
96
97 AltFont bera
98         GuiName          "Bera Serif"
99         Family           rm
100         Package          bera
101 EndFont
102
103 Font bookman
104         GuiName          "Bookman"
105         Family           rm
106         Package          bookman
107 EndFont
108
109 Font ccfonts
110         GuiName          "Concrete Roman"
111         Family           rm
112         Package          ccfonts
113 EndFont
114
115 Font chancery
116         GuiName          "Zapf Chancery"
117         Family           rm
118         Package          chancery
119 EndFont
120
121 Font charter
122         GuiName          "Bitstream Charter (PSNFSS)"
123         Family           rm
124         Package          charter
125 EndFont
126
127 Font cochineal
128         GuiName          "Crimson (Cochineal)"
129         Family           rm
130         OsfOption        "proportional,osf"
131         Package          cochineal
132         AltFonts         crimson
133 EndFont
134
135 AltFont crimson
136         GuiName          "Crimson"
137         Family           rm
138         Package          crimson
139 EndFont
140
141 Font cmr
142         GuiName          "Computer Modern Roman"
143         Family           rm
144         SwitchDefault    1
145         OsfFont          eco
146 EndFont
147
148 AltFont eco
149         Family           rm
150         Package          eco
151 EndFont
152
153 Font garamondx
154         GuiName          "URW Garamond"
155         Family           rm
156         OsfOption        osfI
157         Package          garamondx
158         Requires         garamondx-fonts
159         AltFonts         ugm
160 EndFont
161
162 AltFont ugm
163         GuiName          "URW Garamond"
164         Family           rm
165         SwitchDefault    1
166         Requires         ugm
167 EndFont
168
169 Font libertine
170         GuiName          "Libertine"
171         Family           rm
172         OsfOption        osf
173         Package          libertine-type1
174         AltFonts         libertine-2012,libertine-legacy
175         Requires         libertineMono-type1
176 EndFont
177
178 AltFont libertine-2012
179         GuiName          "Libertine"
180         Family           rm
181         OsfOption        lining
182         OsfDefault       1
183         Package          libertine-type1
184 EndFont
185
186 AltFont libertine-legacy
187         GuiName          "Libertine"
188         Family           rm
189         OsfOption        osf
190         Package          libertine
191 EndFont
192
193 Font lmodern
194         GuiName          "Latin Modern Roman"
195         Family           rm
196         Package          lmodern
197         NoMathFont       lmr
198 EndFont
199
200 AltFont lmr
201         GuiName          "Latin Modern Roman"
202         Family           rm
203         SwitchDefault    1
204         Requires         lmodern
205 EndFont
206
207 Font md-charter
208         GuiName          "Bitstream Charter (Mathdesign)"
209         Family           rm
210         OsfOption        expert
211         ScOption         expert
212         OsfScOption      expert
213         Package          mathdesign
214         PackageOption    charter
215         Requires         mdbch
216         Provides         amssymb,amsfonts
217         NoMathFont       mdbch
218 EndFont
219
220 AltFont mdbch
221         GuiName          "Bitstream Charter (Mathdesign)"
222         Family           rm
223         SwitchDefault    1
224         Requires         mdbch
225 EndFont
226
227 Font md-utopia
228         GuiName          "Utopia (Mathdesign)"
229         Family           rm
230         OsfOption        expert
231         ScOption         expert
232         OsfScOption      expert
233         Package          mathdesign
234         PackageOption    utopia
235         Requires         mdput
236         Provides         amssymb,amsfonts
237         NoMathFont       mdput
238 EndFont
239
240 AltFont mdput
241         GuiName          "Utopia (Mathdesign)"
242         Family           rm
243         SwitchDefault    1
244         Requires         mdput
245 EndFont
246
247 Font md-garamond
248         GuiName          "URW Garamond (Mathdesign)"
249         Family           rm
250         OsfOption        expert
251         ScOption         expert
252         OsfScOption      expert
253         Package          mathdesign
254         PackageOption    garamond
255         Requires         mdugm
256         Provides         amssymb,amsfonts
257         NoMathFont       mdugm
258 EndFont
259
260 AltFont mdugm
261         GuiName          "URW Garamond (Mathdesign)"
262         Family           rm
263         SwitchDefault    1
264         Requires         mdugm
265 EndFont
266
267 Font minionpro
268         GuiName          "Minion Pro"
269         Family           rm
270         OsfOption        lf
271         OsfDefault       1
272         Package          MinionPro
273         Provides         amssymb,amsfonts
274         NoMathFont       minionpro-nomath
275 EndFont
276
277 AltFont minionpro-nomath
278         GuiName          "Minion Pro"
279         Family           rm
280         OsfOption        lf
281         OsfDefault       1
282         Package          MinionPro
283         PackageOption    onlytext
284 EndFont
285
286 Font newcent
287         GuiName          "New Century Schoolbook"
288         Family           rm
289         Package          newcent
290 EndFont
291
292 Font NotoSerif-TLF
293         GuiName          "Noto Serif"
294         Family           rm
295         SwitchDefault    1
296         Requires         noto
297         CompleteFont     noto
298 EndFont
299
300 AltFont noto
301         GuiName          "Noto Serif"
302         Family           rm
303         Package          noto
304 EndFont
305
306 Font palatino
307         GuiName          "Palatino"
308         Family           rm
309         OsfOption        osf
310         ScOption         sc
311         OsfScOption      osf
312         Package          mathpazo
313         AltFonts         mathpple,palatino-sty
314         NoMathFont       ppl
315         Requires         psnfss
316 EndFont
317
318 AltFont mathpple
319         GuiName          "Palatino"
320         Family           rm
321         Package          mathpple
322         NoMathFont       ppl
323 EndFont
324
325 AltFont palatino-sty
326         GuiName          "Palatino"
327         Family           rm
328         Package          palatino
329 EndFont
330
331 AltFont ppl
332         GuiName          "Palatino"
333         Family           rm
334         OsfFont          pplj
335         SwitchDefault    1
336 EndFont
337
338 AltFont pplj
339         GuiName          "Palatino"
340         Family           rm
341         SwitchDefault    1
342 EndFont
343
344 Font times
345         GuiName          "Times Roman"
346         Family           rm
347         Package          mathptmx
348         AltFonts         mathptm,times-sty
349         NoMathFont       ptm
350         Requires         psnfss
351 EndFont
352
353 AltFont mathptm
354         GuiName          "Times Roman"
355         Family           rm
356         Package          mathptm
357         NoMathFont       ptm
358 EndFont
359
360 AltFont times-sty
361         GuiName          "Times Roman"
362         Family           rm
363         Package          times
364 EndFont
365
366 AltFont ptm
367         GuiName          "Times Roman"
368         Family           rm
369         SwitchDefault    1
370 EndFont
371
372 Font tgbonum
373         GuiName          "TeX Gyre Bonum"
374         Family           rm
375         Package          tgbonum
376 EndFont
377
378 Font tgchorus
379         GuiName          "TeX Gyre Chorus"
380         Family           rm
381         Package          tgchorus
382 EndFont
383
384 Font tgpagella
385         GuiName          "TeX Gyre Pagella"
386         Family           rm
387         Package          tgpagella
388 EndFont
389
390 Font tgschola
391         GuiName          "TeX Gyre Schola"
392         Family           rm
393         Package          tgschola
394 EndFont
395
396 Font tgtermes
397         GuiName          "TeX Gyre Termes"
398         Family           rm
399         Package          tgtermes
400 EndFont
401
402 # fourier supersedes utopia.sty, but does
403 # not work with OT1 encoding.
404 Font utopia
405         GuiName          "Utopia (Fourier)"
406         Family           rm
407         OsfOption        oldstyle
408         ScOption         expert
409         Package          fourier
410         AltFonts         utopia-sty
411         OT1Font          utopia-sty
412         NoMathFont       futs
413 EndFont
414
415 AltFont utopia-sty
416         GuiName          "Utopia (Fourier)"
417         Family           rm
418         Package          utopia
419 EndFont
420
421 AltFont futs
422         GuiName          "Utopia (Fourier)"
423         Family           rm
424         SwitchDefault    1
425         OsfFont          futj
426 EndFont
427
428 AltFont futj
429         GuiName          "Utopia (Fourier)"
430         Family           rm
431         SwitchDefault    1
432 EndFont
433
434
435 #
436 # SANS SERIF FONTS
437 #
438
439 Font avant
440         GuiName          "Avant Garde"
441         Family           sf
442         Package          avant
443 EndFont
444
445 Font berasans
446         GuiName          "Bera Sans"
447         Family           sf
448         ScaleOption      scaled=$$val
449         Package          berasans
450         Requires         bera
451 EndFont
452
453 Font biolinum
454         GuiName          "Biolinum"
455         Family           sf
456         OsfOption        osf
457         ScaleOption      scaled=$$val
458         Package          biolinum-type1
459         Requires         libertineMono-type1
460         AltFonts         biolinum-2012
461 EndFont
462
463 AltFont biolinum-2012
464         GuiName          "Biolinum"
465         Family           sf
466         OsfOption        lining
467         OsfDefault       1
468         Package          biolinum-type1
469 EndFont
470
471 Font cmbr
472         GuiName          "CM Bright"
473         Family           sf
474         SwitchDefault    1
475         Requires         cmbright
476 EndFont
477
478 Font cmss
479         GuiName          "Computer Modern Sans"
480         Family           sf
481         SwitchDefault    1
482 EndFont
483
484 Font helvet
485         GuiName          "Helvetica"
486         Family           sf
487         ScaleOption      scaled=$$val
488         Package          helvet
489         Requires         psnfss
490 EndFont
491
492 Font iwona
493         GuiName         "Iwona"
494         Family          sf
495         Requires        iwona
496         SwitchDefault   1
497 EndFont
498
499 Font iwonal
500         GuiName         "Iwona (Light)"
501         Family          sf
502         Requires        iwona
503         SwitchDefault   1
504 EndFont
505
506 Font iwonac
507         GuiName         "Iwona (Condensed)"
508         Family          sf
509         Requires        iwona
510         SwitchDefault   1
511 EndFont
512
513 Font iwonalc
514         GuiName         "Iwona (Light Condensed)"
515         Family          sf
516         Requires        iwona
517         SwitchDefault   1
518 EndFont
519
520 Font kurier
521         GuiName         "Kurier"
522         Family          sf
523         Requires        kurier
524         SwitchDefault   1
525 EndFont
526
527 Font kurierl
528         GuiName         "Kurier (Light)"
529         Family          sf
530         Requires        kurier
531         SwitchDefault   1
532 EndFont
533
534 Font kurierc
535         GuiName         "Kurier (Condensed)"
536         Family          sf
537         Requires        kurier
538         SwitchDefault   1
539 EndFont
540
541 Font kurierlc
542         GuiName         "Kurier (Light Condensed)"
543         Family          sf
544         Requires        kurier
545         SwitchDefault   1
546 EndFont
547
548 Font lmss
549         GuiName          "Latin Modern Sans"
550         Family           sf
551         SwitchDefault    1
552         Requires         lmodern
553 EndFont
554
555 Font NotoSans-TLF
556         GuiName          "Noto Sans"
557         Family           sf
558         SwitchDefault    1
559         Requires         noto
560 EndFont
561
562 Font tgadventor
563         GuiName          "TeX Gyre Adventor"
564         Family           sf
565         Package          tgadventor
566 EndFont
567
568 Font tgheros
569         GuiName          "TeX Gyre Heros"
570         Family           sf
571         Package          tgheros
572 EndFont
573
574 Font uop
575         GuiName          "URW Classico (Optima)"
576         Family           sf
577         SwitchDefault    1
578         Requires         urwclassico
579 EndFont
580
581
582 #
583 # MONOSPACED FONTS
584 #
585
586 Font beramono
587         GuiName          "Bera Mono"
588         Family           tt
589         ScaleOption      scaled=$$val
590         Package          beramono
591         Requires         bera
592 EndFont
593
594 Font cmtl
595         GuiName          "CM Typewriter Light"
596         Family           tt
597         SwitchDefault    1
598         Requires         cmbright
599 EndFont
600
601 Font cmtt
602         GuiName          "Computer Modern Typewriter"
603         Family           tt
604         SwitchDefault    1
605 EndFont
606
607 Font courier
608         GuiName          "Courier"
609         Family           tt
610         Package          courier
611         Requires         psnfss
612 EndFont
613
614 Font libertine-mono
615         GuiName          "Libertine Mono"
616         Family           tt
617         ScaleOption      scaled=$$val
618         Package          libertineMono-type1
619 EndFont
620
621 Font lmtt
622         GuiName          "Latin Modern Typewriter"
623         Family           tt
624         SwitchDefault    1
625         Requires         lmodern
626 EndFont
627
628 Font luximono
629         GuiName          "LuxiMono"
630         Family           tt
631         ScaleOption      scaled=$$val
632         Package          luximono
633 EndFont
634
635 Font NotoMono-TLF
636         GuiName          "Noto Mono"
637         Family           tt
638         SwitchDefault    1
639         ScaleOption      $$val
640         Preamble
641          \newcommand*{\NotoMono@scale}{$$val}
642         EndPreamble
643         Requires         noto
644 EndFont
645
646 Font tgcursor
647         GuiName          "TeX Gyre Cursor"
648         Family           tt
649         Package          tgcursor
650 EndFont
651
652 Font txtt
653         GuiName          "TX Typewriter"
654         Family           tt
655         SwitchDefault    1
656         Requires         txfonts
657 EndFont
658
659
660 #
661 # MATH FONTS
662 #
663
664 Font cochineal-ntxm
665         GuiName          "Crimson (New TX)"
666         Family           math
667         Package          newtxmath
668         PackageOption    cochineal
669         Provides         amssymb,amsfonts
670 EndFont
671
672 Font eulervm
673         GuiName          "Euler VM"
674         Family           math
675         Package          eulervm
676 EndFont
677
678 Font garamondx-ntxm
679         GuiName          "URW Garamond (New TX)"
680         Family           math
681         Package          newtxmath
682         PackageOption    garamondx
683         Provides         amssymb,amsfonts
684 EndFont
685
686 Font iwona-math
687         GuiName         "Iwona (Math)"
688         Family          math
689         Requires        iwona
690         Preamble
691         % store roman font
692         \let\origrmdefault\rmdefault
693         \usepackage[math]{iwona}
694         % reset stored roman font
695         \renewcommand{\rmdefault}{\origrmdefault}
696         EndPreamble
697 EndFont
698
699 Font kurier-math
700         GuiName         "Kurier (Math)"
701         Family          math
702         Requires        kurier
703         Preamble
704         % store roman font
705         \let\origrmdefault\rmdefault
706         \usepackage[math]{kurier}
707         % reset stored roman font
708         \renewcommand{\rmdefault}{\origrmdefault}
709         EndPreamble
710 EndFont
711
712 Font libertine-ntxm
713         GuiName          "Libertine (New TX)"
714         Family           math
715         Package          newtxmath
716         PackageOption    libertine
717         Provides         amssymb,amsfonts
718 EndFont
719
720 Font minion-ntxm
721         GuiName          "Minion Pro (New TX)"
722         Family           math
723         Package          newtxmath
724         PackageOption    minion
725         Requires         minion2newtx
726         Provides         amssymb,amsfonts
727 EndFont
728
729 Font newtxmath
730         GuiName          "Times Roman (New TX)"
731         Family           math
732         Package          newtxmath
733         Provides         amssymb,amsfonts
734 EndFont