]> git.lyx.org Git - lyx.git/blobdiff - lib/latexfonts
Cmake batch tests: Generalize lists of files in test.
[lyx.git] / lib / latexfonts
index ca484fd188c00825cbb42a17aaa5ef9d5dd16008..f3a438a5577e29347ebded9c7435393e8208f1c9 100644 (file)
@@ -7,6 +7,7 @@
 # Font <name>
 #      GuiName            "<Gui Name>"
 #      Family             <rm|sf|tt|math>
+#      FontEncoding       <font encoding>
 #      SwitchDefault      <0|1>
 #      Package            <LaTeX package to be loaded>
 #      Requires           <LaTeX package to test for>
@@ -22,6 +23,9 @@
 #      OsfScOption        <option for combined osf and true smallcaps support>
 #      ScaleOption        <option for font scaling>
 #      Provides           <features provided by the font packages (comma-separated)>
+#      Preamble
+#        <some arbitrary LaTeX code to be issued in the preamble>
+#      EndPreamble
 # EndFont
 #
 #
@@ -30,6 +34,7 @@
 # * Adding a new font results in a FILE FORMAT CHANGE. So if a new font
 #   is added for the LyX distribution, the according changes need to be
 #   done.
+# * If FontEncoding is not specified, T1 is assumed.
 # * "SwitchDefault 1" makes the font to be loaded by switching the default
 #   family to <name> (e.g., \renewcommand{\rmdefault}{cmr}), whereas
 #   Package <package> loads it via \usepackage{package}. Only one of these
@@ -53,8 +58,8 @@
 #   The value "none" tells LyX not to load any font in OT1 encoding.
 #   OT1Fonts need to be defined separately using AltFont ... EndFont tags.
 # * The CompleteFont is loaded if the current font is selected as rm and
-#   both sf and tt are set to "default" (this allows f. ex. to load "bera"
-#   as opposed to "beraserif").
+#   both sf and tt are set to "default" (this allows for instance to load
+#   "bera" as opposed to "beraserif").
 #   CompleteFonts need to be defined separately using AltFont ... EndFont
 #   tags.
 # * OsfFont is a font that is loaded additionally in and that provides
 #   default and provide an option for lining figures. Pass this option
 #   to OsfOption.
 # * ScaleOption supports the placeholder $$val for the scale value.
+# * The Preamble code is output immediately after the respective font
+#   loading command.
 #
 ##########################################################################
 
+
 #
 # ROMAN FONTS
 #
@@ -118,9 +126,24 @@ Font charter
        Package          charter
 EndFont
 
+Font cochineal
+       GuiName          "Crimson (Cochineal)"
+       Family           rm
+       OsfOption        "proportional,osf"
+       Package          cochineal
+       AltFonts         crimson
+EndFont
+
+AltFont crimson
+       GuiName          "Crimson"
+       Family           rm
+       Package          crimson
+EndFont
+
 Font cmr
        GuiName          "Computer Modern Roman"
        Family           rm
+       FontEncoding     OT1
        SwitchDefault    1
        OsfFont          eco
 EndFont
@@ -130,13 +153,52 @@ AltFont eco
        Package          eco
 EndFont
 
+Font garamondx
+       GuiName          "URW Garamond"
+       Family           rm
+       OsfOption        osfI
+       Package          garamondx
+       Requires         garamondx-fonts
+       AltFonts         ugm
+EndFont
+
+AltFont ugm
+       GuiName          "URW Garamond"
+       Family           rm
+       SwitchDefault    1
+       Requires         ugm
+EndFont
+
 Font libertine
+       GuiName          "Libertine"
+       Family           rm
+       OsfOption        osf
+       Package          libertineRoman
+       CompleteFont     libertine-full
+       AltFonts         libertine-type1,libertine-2012,libertine-legacy
+EndFont
+
+AltFont libertine-full
+       GuiName          "Libertine"
+       Family           rm
+       Package          libertine
+       Requires         libertineRoman
+EndFont
+
+AltFont libertine-type1
+       GuiName          "Libertine"
+       Family           rm
+       OsfOption        osf
+       Package          libertine-type1
+       Requires         libertineMono-type1
+EndFont
+
+AltFont libertine-2012
        GuiName          "Libertine"
        Family           rm
        OsfOption        lining
        OsfDefault       1
        Package          libertine-type1
-       AltFonts         libertine-legacy
 EndFont
 
 AltFont libertine-legacy
@@ -201,7 +263,7 @@ AltFont mdput
 EndFont
 
 Font md-garamond
-       GuiName          "Adobe Garamond (Mathdesign)"
+       GuiName          "URW Garamond (Mathdesign)"
        Family           rm
        OsfOption        expert
        ScOption         expert
@@ -214,7 +276,7 @@ Font md-garamond
 EndFont
 
 AltFont mdugm
-       GuiName          "Adobe Garamond (Mathdesign)"
+       GuiName          "URW Garamond (Mathdesign)"
        Family           rm
        SwitchDefault    1
        Requires         mdugm
@@ -245,6 +307,20 @@ Font newcent
        Package          newcent
 EndFont
 
+Font NotoSerif-TLF
+       GuiName          "Noto Serif"
+       Family           rm
+       SwitchDefault    1
+       Requires         noto
+       CompleteFont     noto
+EndFont
+
+AltFont noto
+       GuiName          "Noto Serif"
+       Family           rm
+       Package          noto
+EndFont
+
 Font palatino
        GuiName          "Palatino"
        Family           rm
@@ -283,6 +359,20 @@ AltFont pplj
        SwitchDefault    1
 EndFont
 
+Font PTSerif-TLF
+       GuiName         "ParaType Serif"
+       Family          rm
+       Requires        paratype
+       Package         PTSerif
+       CompleteFont    paratype
+EndFont
+
+AltFont paratype
+       GuiName          "ParaType Serif"
+       Family           rm
+       Package          paratype
+EndFont
+
 Font times
        GuiName          "Times Roman"
        Family           rm
@@ -373,6 +463,12 @@ AltFont futj
        SwitchDefault    1
 EndFont
 
+Font xcharter
+       GuiName         "Bitstream Charter (XCharter)"
+       Family          rm
+       Package         XCharter
+       OsfOption       osf
+EndFont
 
 #
 # SANS SERIF FONTS
@@ -393,6 +489,24 @@ Font berasans
 EndFont
 
 Font biolinum
+       GuiName          "Biolinum"
+       Family           sf
+       OsfOption        osf
+       ScaleOption      scaled=$$val
+       Package          biolinum
+       AltFonts         biolinum-type1,biolinum-2012
+EndFont
+
+AltFont biolinum-type1
+       GuiName          "Biolinum"
+       Family           sf
+       OsfOption        osf
+       ScaleOption      scaled=$$val
+       Package          biolinum-type1
+       Requires         libertineMono-type1
+EndFont
+
+AltFont biolinum-2012
        GuiName          "Biolinum"
        Family           sf
        OsfOption        lining
@@ -410,6 +524,7 @@ EndFont
 Font cmss
        GuiName          "Computer Modern Sans"
        Family           sf
+       FontEncoding     OT1
        SwitchDefault    1
 EndFont
 
@@ -421,6 +536,62 @@ Font helvet
        Requires         psnfss
 EndFont
 
+Font iwona
+       GuiName         "Iwona"
+       Family          sf
+       Requires        iwona
+       SwitchDefault   1
+EndFont
+
+Font iwonal
+       GuiName         "Iwona (Light)"
+       Family          sf
+       Requires        iwona
+       SwitchDefault   1
+EndFont
+
+Font iwonac
+       GuiName         "Iwona (Condensed)"
+       Family          sf
+       Requires        iwona
+       SwitchDefault   1
+EndFont
+
+Font iwonalc
+       GuiName         "Iwona (Light Condensed)"
+       Family          sf
+       Requires        iwona
+       SwitchDefault   1
+EndFont
+
+Font kurier
+       GuiName         "Kurier"
+       Family          sf
+       Requires        kurier
+       SwitchDefault   1
+EndFont
+
+Font kurierl
+       GuiName         "Kurier (Light)"
+       Family          sf
+       Requires        kurier
+       SwitchDefault   1
+EndFont
+
+Font kurierc
+       GuiName         "Kurier (Condensed)"
+       Family          sf
+       Requires        kurier
+       SwitchDefault   1
+EndFont
+
+Font kurierlc
+       GuiName         "Kurier (Light Condensed)"
+       Family          sf
+       Requires        kurier
+       SwitchDefault   1
+EndFont
+
 Font lmss
        GuiName          "Latin Modern Sans"
        Family           sf
@@ -428,6 +599,21 @@ Font lmss
        Requires         lmodern
 EndFont
 
+Font NotoSans-TLF
+       GuiName          "Noto Sans"
+       Family           sf
+       SwitchDefault    1
+       Requires         noto
+EndFont
+
+Font PTSans-TLF
+       GuiName         "ParaType Sans"
+       Family          sf
+       ScaleOption     scaled=$$val
+       Requires        paratype
+       Package         PTSans
+EndFont
+
 Font tgadventor
        GuiName          "TeX Gyre Adventor"
        Family           sf
@@ -440,6 +626,13 @@ Font tgheros
        Package          tgheros
 EndFont
 
+Font uop
+       GuiName          "URW Classico (Optima)"
+       Family           sf
+       SwitchDefault    1
+       Requires         urwclassico
+EndFont
+
 
 #
 # MONOSPACED FONTS
@@ -463,6 +656,7 @@ EndFont
 Font cmtt
        GuiName          "Computer Modern Typewriter"
        Family           tt
+       FontEncoding     OT1
        SwitchDefault    1
 EndFont
 
@@ -473,6 +667,21 @@ Font courier
        Requires         psnfss
 EndFont
 
+Font libertine-mono
+       GuiName          "Libertine Mono"
+       Family           tt
+       ScaleOption      scaled=$$val
+       Package          libertineMono
+       AltFonts         libertine-mono-type1
+EndFont
+
+AltFont libertine-mono-type1
+       GuiName          "Libertine Mono"
+       Family           tt
+       ScaleOption      scaled=$$val
+       Package          libertineMono-type1
+EndFont
+
 Font lmtt
        GuiName          "Latin Modern Typewriter"
        Family           tt
@@ -487,6 +696,21 @@ Font luximono
        Package          luximono
 EndFont
 
+Font NotoMono-TLF
+       GuiName          "Noto Mono"
+       Family           tt
+       SwitchDefault    1
+       Requires         noto
+EndFont
+
+Font PTMono-TLF
+       GuiName         "ParaType Mono"
+       Family          tt
+       ScaleOption     scaled=$$val
+       Requires        paratype
+       Package         PTMono
+EndFont
+
 Font tgcursor
        GuiName          "TeX Gyre Cursor"
        Family           tt
@@ -505,12 +729,54 @@ EndFont
 # MATH FONTS
 #
 
+Font cochineal-ntxm
+       GuiName          "Crimson (New TX)"
+       Family           math
+       Package          newtxmath
+       PackageOption    cochineal
+       Provides         amssymb,amsfonts
+EndFont
+
 Font eulervm
        GuiName          "Euler VM"
        Family           math
        Package          eulervm
 EndFont
 
+Font garamondx-ntxm
+       GuiName          "URW Garamond (New TX)"
+       Family           math
+       Package          newtxmath
+       PackageOption    garamondx
+       Provides         amssymb,amsfonts
+EndFont
+
+Font iwona-math
+       GuiName         "Iwona (Math)"
+       Family          math
+       Requires        iwona
+       Preamble
+       % store roman font
+       \let\origrmdefault\rmdefault
+       \usepackage[math]{iwona}
+       % reset stored roman font
+       \renewcommand{\rmdefault}{\origrmdefault}
+       EndPreamble
+EndFont
+
+Font kurier-math
+       GuiName         "Kurier (Math)"
+       Family          math
+       Requires        kurier
+       Preamble
+       % store roman font
+       \let\origrmdefault\rmdefault
+       \usepackage[math]{kurier}
+       % reset stored roman font
+       \renewcommand{\rmdefault}{\origrmdefault}
+       EndPreamble
+EndFont
+
 Font libertine-ntxm
        GuiName          "Libertine (New TX)"
        Family           math