]> git.lyx.org Git - lyx.git/blobdiff - lib/latexfonts
de/Customization: move section on Arguments
[lyx.git] / lib / latexfonts
index 33ae9da299c5b68cb0d3dff3d6d3b2d86fabf9f9..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
@@ -202,16 +252,8 @@ Font IBMPlexSerifLight
        MoreOptions      1
 EndFont
 
-Font IBMPlexSerifSemibold
-       GuiName          "IBM Plex Serif (Semibold)"
-       Family           rm
-       Package          plex-serif
-       PackageOptions   semibold
-       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
@@ -378,66 +439,58 @@ Font newcent
 EndFont
 
 Font NotoSerifRegular
-       GuiName         "Noto Serif (Regular)"
-       Family          rm
-       Package         noto-serif
-       PackageOptions  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
-       PackageOptions  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
-       PackageOptions  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
-       PackageOptions  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
-       PackageOptions  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
@@ -718,7 +766,7 @@ Font DejaVuSans
 EndFont
 
 Font DejaVuSansCondensed
-       GuiName          "DejaVu Sans Condensed"
+       GuiName          "DejaVu Sans (Condensed)"
        Family           sf
        Package          DejaVuSansCondensed
        ScaleOption      scaled=$$val
@@ -839,17 +887,8 @@ Font IBMPlexSansLight
        MoreOptions      1
 EndFont
 
-Font IBMPlexSansSemibold
-       GuiName          "IBM Plex Sans (Semibold)"
-       Family           sf
-       Package          plex-sans
-       PackageOptions   semibold
-       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
-        PackageOptions  regular
        OsfDefault      0
        OsfOption       osf
-       MoreOptions      1
+       MoreOptions     1
 EndFont
 
 Font NotoSansMedium
@@ -947,7 +1003,7 @@ Font NotoSansMedium
         PackageOptions  medium
        OsfDefault      0
        OsfOption       osf
-       MoreOptions      1
+       MoreOptions     1
 EndFont
 
 Font NotoSansThin
@@ -958,7 +1014,7 @@ Font NotoSansThin
        PackageOptions  thin
        OsfDefault      0
        OsfOption       osf
-       MoreOptions      1
+       MoreOptions     1
 EndFont
 
 Font NotoSansLight
@@ -969,7 +1025,7 @@ Font NotoSansLight
        PackageOptions  light
        OsfDefault      0
        OsfOption       osf
-       MoreOptions      1
+       MoreOptions     1
 EndFont
 
 Font NotoSansExtralight
@@ -980,18 +1036,11 @@ Font NotoSansExtralight
        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
@@ -1103,17 +1152,8 @@ Font IBMPlexMonoLight
        MoreOptions      1
 EndFont
 
-Font IBMPlexMonoSemibold
-       GuiName          "IBM Plex Mono (Semibold)"
-       Family           tt
-       Package          plex-mono
-       ScaleOption      scale=$$val
-       PackageOptions   semibold
-       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
-       PackageOptions  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
@@ -1249,6 +1289,13 @@ Font libertine-ntxm
        Provides         amssymb,amsfonts
 EndFont
 
+Font libertinusmath
+       GuiName          "Libertinus Math"
+       Family           math
+       Package          libertinust1math
+       Provides         amssymb,amsfonts
+EndFont
+
 Font minion-ntxm
        GuiName          "Minion Pro (New TX)"
        Family           math