]> git.lyx.org Git - lyx.git/blobdiff - lib/latexfonts
de/Customization: move section on Arguments
[lyx.git] / lib / latexfonts
index 8b14ab0bf84686b93f933ee415d347cb3e9984d2..3120233fd8699cd5bdfb3d6bbd99bad9b468de09 100644 (file)
 #      OsfOption          <option for oldstyle figure support>
 #      OsfFont            <extra font for oldstyle figures>
 #      OsfDefault         <0|1>
+#      OsfFontOnly        <0|1>
 #      ScOption           <option for true smallcaps support>
 #      OsfScOption        <option for combined osf and true smallcaps support>
 #      ScaleOption        <option for font scaling>
+#      ScaleCommand       <command sequence to set scale value of the font>
 #       MoreOptions        <0|1>
 #      Provides           <features provided by the font packages (comma-separated)>
 #      Preamble
 #   tags.
 # * OsfFont is a font that is loaded additionally in and that provides
 #   Old Style Figures for a given font (e.g. eco).
+# * If OsfFontOnly is true, then the OsfFont will replace the non-OsF
+#   one (only OsfFont is loaded if osf is true). Otherwise it will
+#   complement the non-osf font.
 # * OsfScOption overrides any OsfOption and ScOption if both features
 #   are selected.
 # * ScOption and OsfScOption are currently only supported for rm fonts.
 # * Set OsfDefault to true for fonts which have Old Style Figures by
 #   default and provide an option for lining figures. Pass this option
 #   to OsfOption.
-# * ScaleOption supports the placeholder $$val for the scale value.
+# * ScaleOption and ScaleCommand support the placeholder $$val for the
+#   scale value.
 # * If MoreOptions is true, then the user can insert additional options to
 #   the font package via the Document Settings.
 # * The Preamble code is output immediately after the respective font
@@ -154,6 +160,50 @@ Font cmr
        OsfFont          eco
 EndFont
 
+Font CrimsonPro
+       GuiName          "Crimson Pro"
+       Family           rm
+       OsfOption        lf
+       OsfDefault       1
+       Package          CrimsonPro
+       AltFonts         crimson
+       MoreOptions      1
+       FontEncoding     OT1,T1,LY1,TS1
+EndFont
+
+Font CrimsonProMedium
+       GuiName          "Crimson Pro (Medium)"
+       Family           rm
+       OsfOption        lf
+       OsfDefault       1
+       Package          CrimsonPro
+       PackageOptions   medium
+       MoreOptions      1
+       FontEncoding     OT1,T1,LY1,TS1
+EndFont
+
+Font CrimsonProLight
+       GuiName          "Crimson Pro (Light)"
+       Family           rm
+       OsfOption        lf
+       OsfDefault       1
+       Package          CrimsonPro
+       PackageOptions   light
+       MoreOptions      1
+       FontEncoding     OT1,T1,LY1,TS1
+EndFont
+
+Font CrimsonProExtraLight
+       GuiName          "Crimson Pro (Extralight)"
+       Family           rm
+       OsfOption        lf
+       OsfDefault       1
+       Package          CrimsonPro
+       PackageOptions   extralight
+       MoreOptions      1
+       FontEncoding     OT1,T1,LY1,TS1
+EndFont
+
 Font DejaVuSerif
        GuiName          "DejaVu Serif"
        Family           rm
@@ -182,7 +232,7 @@ Font IBMPlexSerifThin
        GuiName          "IBM Plex Serif (Thin)"
        Family           rm
        Package          plex-serif
-       PackageOption    thin
+       PackageOptions   thin
        MoreOptions      1
 EndFont
 
@@ -190,7 +240,7 @@ Font IBMPlexSerifExtraLight
        GuiName          "IBM Plex Serif (Extra Light)"
        Family           rm
        Package          plex-serif
-       PackageOption    extralight
+       PackageOptions   extralight
        MoreOptions      1
 EndFont
 
@@ -198,20 +248,12 @@ Font IBMPlexSerifLight
        GuiName          "IBM Plex Serif (Light)"
        Family           rm
        Package          plex-serif
-       PackageOption    light
-       MoreOptions      1
-EndFont
-
-Font IBMPlexSerifSemibold
-       GuiName          "IBM Plex Serif (Semibold)"
-       Family           rm
-       Package          plex-serif
-       PackageOption    semibold
+       PackageOptions   light
        MoreOptions      1
 EndFont
 
 Font ADOBESourceSerifPro
-       GuiName          "Adobe Source Serif Pro"
+       GuiName          "Source Serif Pro"
        Family           rm
        Package          sourceserifpro
        OsfOption        osf
@@ -276,6 +318,25 @@ AltFont libertine-legacy
        Package          libertine
 EndFont
 
+Font libertinus
+       GuiName          "Libertinus"
+       Family           rm
+       OsfOption        osf
+       Package          libertinus
+       PackageOptions   serif
+       CompleteFont     libertinus-full
+       MoreOptions      1
+
+EndFont
+
+AltFont libertinus-full
+       GuiName          "Libertinus"
+       Family           rm
+       OsfOption        osf
+       Package          libertinus
+       MoreOptions      1
+EndFont
+
 Font lmodern
        GuiName          "Latin Modern Roman"
        Family           rm
@@ -298,7 +359,7 @@ Font md-charter
        ScOption         expert
        OsfScOption      expert
        Package          mathdesign
-       PackageOption    charter
+       PackageOptions   charter
        Requires         mdbch
        Provides         amssymb,amsfonts
        NoMathFont       mdbch
@@ -318,7 +379,7 @@ Font md-utopia
        ScOption         expert
        OsfScOption      expert
        Package          mathdesign
-       PackageOption    utopia
+       PackageOptions   utopia
        Requires         mdput
        Provides         amssymb,amsfonts
        NoMathFont       mdput
@@ -338,7 +399,7 @@ Font md-garamond
        ScOption         expert
        OsfScOption      expert
        Package          mathdesign
-       PackageOption    garamond
+       PackageOptions   garamond
        Requires         mdugm
        Provides         amssymb,amsfonts
        NoMathFont       mdugm
@@ -368,7 +429,7 @@ AltFont minionpro-nomath
        OsfOption        lf
        OsfDefault       1
        Package          MinionPro
-       PackageOption    onlytext
+       PackageOptions   onlytext
 EndFont
 
 Font newcent
@@ -378,66 +439,58 @@ Font newcent
 EndFont
 
 Font NotoSerifRegular
-       GuiName         "Noto Serif (Regular)"
-       Family          rm
-       Package         noto-serif
-       PackageOption   regular
-       OsfOption       osf
+       GuiName          "Noto Serif"
+       Family           rm
+       Package          noto-serif
+       OsfOption        osf
+       MoreOptions      1
+       CompleteFont     noto
+EndFont
+
+AltFont noto
+       GuiName          "Noto Serif"
+       Family           rm
+       Package          noto
+       OsfOption        osf
        MoreOptions      1
 EndFont
 
 Font NotoSerifMedium
-       GuiName         "Noto Serif (Medium)"
-       Family          rm
-       Package         noto-serif
-       PackageOption   medium
-       OsfDefault      0
-       OsfOption       osf
+       GuiName          "Noto Serif (Medium)"
+       Family           rm
+       Package          noto-serif
+       PackageOptions   medium
+       OsfDefault       0
+       OsfOption        osf
        MoreOptions      1
 EndFont
 
 Font NotoSerifThin
-       GuiName         "Noto Serif (Thin)"
-       Family          rm
-       Package         noto-serif
-       PackageOption   thin
-       OsfDefault      0
-       OsfOption       osf
+       GuiName          "Noto Serif (Thin)"
+       Family           rm
+       Package          noto-serif
+       PackageOptions   thin
+       OsfDefault       0
+       OsfOption        osf
        MoreOptions      1
 EndFont
 
 Font NotoSerifLight
-       GuiName         "Noto Serif (Light)"
-       Family          rm
-       Package         noto-serif
-       PackageOption   light
-       OsfDefault      0
-       OsfOption       osf
+       GuiName          "Noto Serif (Light)"
+       Family           rm
+       Package          noto-serif
+       PackageOptions   light
+       OsfDefault       0
+       OsfOption        osf
        MoreOptions      1
 EndFont
 
 Font NotoSerifExtralight
-       GuiName         "Noto Serif (Extralight)"
-       Family          rm
-       Package         noto-serif
-       PackageOption   extralight
-       OsfDefault      0
-       OsfOption       osf
-       MoreOptions     1
-EndFont
-
-Font NotoSerif-TLF
-       GuiName          "Noto Serif"
-       Family           rm
-       SwitchDefault    1
-       Requires         noto
-       CompleteFont     noto
-EndFont
-
-AltFont noto
-       GuiName          "Noto Serif"
+       GuiName          "Noto Serif (Extralight)"
        Family           rm
-       Package          noto
+       Package          noto-serif
+       PackageOptions   extralight
+       OsfDefault       0
        OsfOption        osf
        MoreOptions      1
 EndFont
@@ -472,6 +525,7 @@ AltFont ppl
        GuiName          "Palatino"
        Family           rm
        OsfFont          pplj
+       OsfFontOnly      1
        SwitchDefault    1
 EndFont
 
@@ -482,17 +536,10 @@ AltFont pplj
 EndFont
 
 Font PTSerif-TLF
-       GuiName         "ParaType Serif"
+       GuiName         "PT Serif"
        Family          rm
        Requires        paratype
        Package         PTSerif
-       CompleteFont    paratype
-EndFont
-
-AltFont paratype
-       GuiName          "ParaType Serif"
-       Family           rm
-       Package          paratype
 EndFont
 
 Font times
@@ -579,6 +626,7 @@ AltFont futs
        Family           rm
        SwitchDefault    1
        OsfFont          futj
+       OsfFontOnly      1
 EndFont
 
 AltFont futj
@@ -647,7 +695,7 @@ Font cantarell
        Family          sf
        OsfOption       oldstyle
        Package         cantarell
-       PackageOption   "defaultsans"
+       PackageOptions  "defaultsans"
        MoreOptions      1
        FontEncoding    T2A,T1,OT1
        ScaleOption     scale=$$val
@@ -658,7 +706,7 @@ Font ChivoThin
        Family           sf
        OsfOption       oldstyle
        Package          Chivo
-       PackageOption    "thin"
+       PackageOptions   "thin"
        MoreOptions      1
        FontEncoding     OT1,LY1,T1,TS1
        ScaleOption      scale=$$val
@@ -669,7 +717,7 @@ Font ChivoLight
        Family           sf
        OsfOption       oldstyle
        Package          Chivo
-       PackageOption    "light"
+       PackageOptions   "light"
        MoreOptions      1
        FontEncoding     OT1,LY1,T1,TS1
        ScaleOption      scale=$$val
@@ -690,7 +738,7 @@ Font ChivoMedium
        Family           sf
        OsfOption       oldstyle
        Package          Chivo
-       PackageOption    "medium"
+       PackageOptions   "medium"
        MoreOptions      1
        FontEncoding     OT1,LY1,T1,TS1
        ScaleOption      scale=$$val
@@ -718,7 +766,7 @@ Font DejaVuSans
 EndFont
 
 Font DejaVuSansCondensed
-       GuiName          "DejaVu Sans Condensed"
+       GuiName          "DejaVu Sans (Condensed)"
        Family           sf
        Package          DejaVuSansCondensed
        ScaleOption      scaled=$$val
@@ -740,7 +788,7 @@ Font FiraSansBook
        Family          sf
        ScaleOption     scaled=$$val
        Package         FiraSans
-        PackageOption   book
+        PackageOptions  book
        OsfDefault      1
        OsfOption       lf
        MoreOptions     1
@@ -752,7 +800,7 @@ Font FiraSansLight
        Family          sf
        ScaleOption     scaled=$$val
        Package         FiraSans
-       PackageOption   light
+       PackageOptions  light
        OsfDefault      1
        OsfOption       lf
        MoreOptions     1
@@ -764,7 +812,7 @@ Font FiraSansExtralight
        Family          sf
        ScaleOption     scaled=$$val
        Package         FiraSans
-       PackageOption   extralight
+       PackageOptions  extralight
        OsfDefault      1
        OsfOption       lf
        MoreOptions     1
@@ -776,7 +824,7 @@ Font FiraSansUltralight
        Family          sf
        ScaleOption     scaled=$$val
        Package         FiraSans
-       PackageOption   ultralight
+       PackageOptions  ultralight
        OsfDefault      1
        OsfOption       lf
        MoreOptions     1
@@ -788,7 +836,7 @@ Font FiraSansThin
        Family          sf
        ScaleOption     scaled=$$val
        Package         FiraSans
-       PackageOption   thin
+       PackageOptions  thin
        OsfDefault      1
        OsfOption       lf
        MoreOptions     1
@@ -807,7 +855,7 @@ Font IBMPlexSansCondensed
        GuiName          "IBM Plex Sans (Condensed)"
        Family           sf
        Package          plex-sans
-       PackageOption    condensed
+       PackageOptions   condensed
        ScaleOption      scale=$$val
        MoreOptions      1
 EndFont
@@ -816,7 +864,7 @@ Font IBMPlexSansThin
        GuiName          "IBM Plex Sans (Thin)"
        Family           sf
        Package          plex-sans
-       PackageOption    thin
+       PackageOptions   thin
        ScaleOption      scale=$$val
        MoreOptions      1
 EndFont
@@ -825,7 +873,7 @@ Font IBMPlexSansExtraLight
        GuiName          "IBM Plex Sans (Extra Light)"
        Family           sf
        Package          plex-sans
-       PackageOption    extralight
+       PackageOptions   extralight
        ScaleOption      scale=$$val
        MoreOptions      1
 EndFont
@@ -834,22 +882,13 @@ Font IBMPlexSansLight
        GuiName          "IBM Plex Sans (Light)"
        Family           sf
        Package          plex-sans
-       PackageOption    light
-       ScaleOption      scale=$$val
-       MoreOptions      1
-EndFont
-
-Font IBMPlexSansSemibold
-       GuiName          "IBM Plex Sans (Semibold)"
-       Family           sf
-       Package          plex-sans
-       PackageOption    semibold
+       PackageOptions   light
        ScaleOption      scale=$$val
        MoreOptions      1
 EndFont
 
 Font ADOBESourceSansPro
-       GuiName          "Adobe Source Sans Pro"
+       GuiName          "Source Sans Pro"
        Family           sf
        Package          sourcesanspro
        ScaleOption      scaled=$$val
@@ -921,6 +960,24 @@ Font kurierlc
        SwitchDefault   1
 EndFont
 
+Font LibertinusSans-LF
+       GuiName          "Libertinus Sans"
+       Family           sf
+       Requires         libertinus
+       SwitchDefault    1
+       OsfFont          LibertinusSans-OsF
+       OsfFontOnly      1
+       ScaleCommand     \renewcommand*{\LibertinusSans@scale}{$$val}
+EndFont
+
+AltFont LibertinusSans-OsF
+       GuiName          "Libertinus Sans"
+       Family           sf
+       Requires         libertinus
+       SwitchDefault    1
+       ScaleCommand     \renewcommand*{\LibertinusSans@scale}{$$val}
+EndFont
+
 Font lmss
        GuiName          "Latin Modern Sans"
        Family           sf
@@ -929,14 +986,13 @@ Font lmss
 EndFont
 
 Font NotoSansRegular
-       GuiName         "Noto Sans (Regular)"
+       GuiName         "Noto Sans"
        Family          sf
        ScaleOption     scaled=$$val
        Package         noto-sans
-        PackageOption   regular
        OsfDefault      0
        OsfOption       osf
-       MoreOptions      1
+       MoreOptions     1
 EndFont
 
 Font NotoSansMedium
@@ -944,10 +1000,10 @@ Font NotoSansMedium
        Family          sf
        ScaleOption     scaled=$$val
        Package         noto-sans
-        PackageOption   medium
+        PackageOptions  medium
        OsfDefault      0
        OsfOption       osf
-       MoreOptions      1
+       MoreOptions     1
 EndFont
 
 Font NotoSansThin
@@ -955,10 +1011,10 @@ Font NotoSansThin
        Family          sf
        ScaleOption     scaled=$$val
        Package         noto-sans
-       PackageOption   thin
+       PackageOptions  thin
        OsfDefault      0
        OsfOption       osf
-       MoreOptions      1
+       MoreOptions     1
 EndFont
 
 Font NotoSansLight
@@ -966,10 +1022,10 @@ Font NotoSansLight
        Family          sf
        ScaleOption     scaled=$$val
        Package         noto-sans
-       PackageOption   light
+       PackageOptions  light
        OsfDefault      0
        OsfOption       osf
-       MoreOptions      1
+       MoreOptions     1
 EndFont
 
 Font NotoSansExtralight
@@ -977,21 +1033,14 @@ Font NotoSansExtralight
        Family          sf
        ScaleOption     scaled=$$val
        Package         noto-sans
-       PackageOption   extralight
+       PackageOptions  extralight
        OsfDefault      0
        OsfOption       osf
-       MoreOptions      1
-EndFont
-
-Font NotoSans-TLF
-       GuiName          "Noto Sans"
-       Family           sf
-       SwitchDefault    1
-       Requires         noto
+       MoreOptions     1
 EndFont
 
 Font PTSans-TLF
-       GuiName         "ParaType Sans"
+       GuiName         "PT Sans"
        Family          sf
        ScaleOption     scaled=$$val
        Requires        paratype
@@ -1081,7 +1130,7 @@ Font IBMPlexMonoThin
        Family           tt
        Package          plex-mono
        ScaleOption      scale=$$val
-       PackageOption    thin
+       PackageOptions   thin
        MoreOptions      1
 EndFont
 
@@ -1090,7 +1139,7 @@ Font IBMPlexMonoExtraLight
        Family           tt
        Package          plex-mono
        ScaleOption      scale=$$val
-       PackageOption    extralight
+       PackageOptions   extralight
        MoreOptions      1
 EndFont
 
@@ -1099,21 +1148,12 @@ Font IBMPlexMonoLight
        Family           tt
        Package          plex-mono
        ScaleOption      scale=$$val
-       PackageOption    light
-       MoreOptions      1
-EndFont
-
-Font IBMPlexMonoSemibold
-       GuiName          "IBM Plex Mono (Semibold)"
-       Family           tt
-       Package          plex-mono
-       ScaleOption      scale=$$val
-       PackageOption    semibold
+       PackageOptions   light
        MoreOptions      1
 EndFont
 
 Font ADOBESourceCodePro
-       GuiName          "Adobe Source Code Pro"
+       GuiName          "Source Code Pro"
        Family           tt
        Package          sourcecodepro
        ScaleOption      scaled=$$val
@@ -1136,6 +1176,14 @@ AltFont libertine-mono-type1
        Package          libertineMono-type1
 EndFont
 
+Font LibertinusMono-TLF
+       GuiName          "Libertinus Mono"
+       Family           tt
+       Requires         libertinus
+       SwitchDefault    1
+       ScaleCommand     \renewcommand*{\LibertinusMono@scale}{$$val}
+EndFont
+
 Font lmtt
        GuiName          "Latin Modern Typewriter"
        Family           tt
@@ -1151,24 +1199,16 @@ Font luximono
 EndFont
 
 Font NotoMonoRegular
-       GuiName         "Noto Mono Regular"
+       GuiName         "Noto Mono"
        Family          tt
        ScaleOption     scaled=$$val
        Package         noto-mono
-       PackageOption   regular
        OsfOption       osf
        MoreOptions     1
 EndFont
 
-Font NotoMono-TLF
-       GuiName          "Noto Mono"
-       Family           tt
-       SwitchDefault    1
-       Requires         noto
-EndFont
-
 Font PTMono-TLF
-       GuiName         "ParaType Mono"
+       GuiName         "PT Mono"
        Family          tt
        ScaleOption     scaled=$$val
        Requires        paratype
@@ -1197,7 +1237,7 @@ Font cochineal-ntxm
        GuiName          "Crimson (New TX)"
        Family           math
        Package          newtxmath
-       PackageOption    cochineal
+       PackageOptions   cochineal
        Provides         amssymb,amsfonts
 EndFont
 
@@ -1211,7 +1251,7 @@ Font garamondx-ntxm
        GuiName          "URW Garamond (New TX)"
        Family           math
        Package          newtxmath
-       PackageOption    garamondx
+       PackageOptions   garamondx
        Provides         amssymb,amsfonts
 EndFont
 
@@ -1245,7 +1285,14 @@ Font libertine-ntxm
        GuiName          "Libertine (New TX)"
        Family           math
        Package          newtxmath
-       PackageOption    libertine
+       PackageOptions   libertine
+       Provides         amssymb,amsfonts
+EndFont
+
+Font libertinusmath
+       GuiName          "Libertinus Math"
+       Family           math
+       Package          libertinust1math
        Provides         amssymb,amsfonts
 EndFont
 
@@ -1253,7 +1300,7 @@ Font minion-ntxm
        GuiName          "Minion Pro (New TX)"
        Family           math
        Package          newtxmath
-       PackageOption    minion
+       PackageOptions   minion
        Requires         minion2newtx
        Provides         amssymb,amsfonts
 EndFont