]> git.lyx.org Git - lyx.git/blobdiff - lib/latexfonts
de/Customization: move section on Arguments
[lyx.git] / lib / latexfonts
index 784ed3378f0e37050e499e100071a2b972bbe282..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
@@ -312,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
@@ -500,6 +525,7 @@ AltFont ppl
        GuiName          "Palatino"
        Family           rm
        OsfFont          pplj
+       OsfFontOnly      1
        SwitchDefault    1
 EndFont
 
@@ -600,6 +626,7 @@ AltFont futs
        Family           rm
        SwitchDefault    1
        OsfFont          futj
+       OsfFontOnly      1
 EndFont
 
 AltFont futj
@@ -933,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
@@ -1131,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
@@ -1236,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