]> git.lyx.org Git - lyx.git/blobdiff - lib/latexfonts
Support for the mathdesign fonts (#6072)
[lyx.git] / lib / latexfonts
index 72743c99e9e657f43c14db6dcdbf800601909468..12f5a2c05ed899f40baea78b342461b49f405e43 100644 (file)
@@ -13,6 +13,7 @@
 #      AltPackages        <alternative packages (comma-separated)>
 #      OT1Package         <alternative package specifically for OT1 encoding>
 #      CompletePackage    <alternative package for the complete family>
+#      PackageOptions     <general options to be passed to the package>
 #      OsfOption          <option for oldstyle figure support>
 #      ScOption           <option for true smallcaps support>
 #      OsfScOption        <option for combined osf and true smallcaps support>
 #   done.
 # * "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}. Normally, only
-#   one of these options is used per font.
+#   Package <package> loads it via \usepackage{package}. Only one of these
+#   options is used per font (SwitchDefault takes precendende). Note that
+#   SwitchDefault uses the font name.
 # * If AltPackages are defined, LyX will try to load them in the defined
 #   order if the main package is not available. So
 #       Package          mathptmx
 #       AltPackages      mathptm,times
 #   will try to load mathptm if mathptmx is not available and then times
 #   if mathptm is not available either.
+#   No options will be passed to alternative packages!
 # * If Requires is set, LyX will check for this. If not, it will check
 #   for Package and AltPackages.
 # * OT1Package will load the defined package instead of the default
 #   package if the font encoding is OT1. This is necessary since some
 #   newer packages for a font do not support this encoding.
 #   The value "none" tells LyX not to load a package in OT1 encoding.
+#   No options will be passed to OT1 packages!
 # * CompletePackage is a package that 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").
@@ -89,7 +93,7 @@ Font chancery
 EndFont
 
 Font charter
-       GuiName          "Bitstream Charter"
+       GuiName          "Bitstream Charter (PSNFSS)"
        Family           rm
        Package          charter
 EndFont
@@ -101,12 +105,52 @@ Font cmr
        OsfPackage       eco
 EndFont
 
+Font libertine
+       GuiName          "Libertine"
+       Family           rm
+       OsfOption        osf
+       Package          libertine
+EndFont
+
 Font lmodern
        GuiName          "Latin Modern Roman"
        Family           rm
        Package          lmodern
 EndFont
 
+Font mdbch
+       GuiName          "Bitstream Charter (Mathdesign)"
+       Family           rm
+       OsfOption        expert
+       ScOption         expert
+       OsfScOption      expert
+       Package          mathdesign
+       PackageOption    charter
+       Requires         mdbch
+EndFont
+
+Font mdput
+       GuiName          "Utopia (Mathdesign)"
+       Family           rm
+       OsfOption        expert
+       ScOption         expert
+       OsfScOption      expert
+       Package          mathdesign
+       PackageOption    utopia
+       Requires         mdput
+EndFont
+
+Font mdugm
+       GuiName          "Adobe Garamond (Mathdesign)"
+       Family           rm
+       OsfOption        expert
+       ScOption         expert
+       OsfScOption      expert
+       Package          mathdesign
+       PackageOption    garamond
+       Requires         mdugm
+EndFont
+
 Font newcent
        GuiName          "New Century Schoolbook"
        Family           rm
@@ -135,7 +179,7 @@ EndFont
 # fourier supersedes utopia.sty, but does
 # not work with OT1 encoding.
 Font utopia
-       GuiName          "Utopia"
+       GuiName          "Utopia (Fourier)"
        Family           rm
        OsfOption        oldstyle
        ScOption         expert
@@ -237,3 +281,10 @@ Font luximono
        ScaleOption      scaled=$$val
        Package          luximono
 EndFont
+
+Font txtt
+       GuiName          "TX Typewriter"
+       Family           tt
+       SwitchDefault    1
+       Requires         txfonts
+EndFont