mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
a5151c92a9
The LaTeX font now do not specify simply alternative packages or packages for OT1 encoding etc., but they refer to complete AltFonts (which are not directly accessible via the GUI). This way, alternative fonts can also have options (osf, sc etc.), and they can use all sorts of initializing methods (\usepackage, \setrmfamily etc.).
405 lines
9.2 KiB
Plaintext
405 lines
9.2 KiB
Plaintext
##########################################################################
|
|
#
|
|
# LaTeX fonts natively supported by LyX.
|
|
#
|
|
# Syntax:
|
|
#
|
|
# Font <name>
|
|
# GuiName "<Gui Name>"
|
|
# Family <rm|sf|tt>
|
|
# SwitchDefault <0|1>
|
|
# Package <LaTeX package to be loaded>
|
|
# Requires <LaTeX package to test for>
|
|
# AltFonts <alternative fonts (comma-separated)>
|
|
# OT1Font <alternative font specifically for OT1 encoding>
|
|
# CompleteFont <alternative package for the complete family>
|
|
# PackageOptions <general options to be passed to the package>
|
|
# OsfOption <option for oldstyle figure support>
|
|
# OsfFont <extra font for oldstyle figures>
|
|
# OsfDefault <0|1>
|
|
# ScOption <option for true smallcaps support>
|
|
# OsfScOption <option for combined osf and true smallcaps support>
|
|
# ScaleOption <option for font scaling>
|
|
# Provides <features provided by the font packages (comma-separated)>
|
|
# EndFont
|
|
#
|
|
#
|
|
# NOTES:
|
|
#
|
|
# * 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.
|
|
# * "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
|
|
# options is used per font (SwitchDefault takes precendende). Note that
|
|
# SwitchDefault uses the font name.
|
|
# * In addition to normal fonts, you can also define alternative fonts
|
|
# using the AltFont...EndFont tags. These alternative fonts will not
|
|
# be added to the GUI, but LyX will fall back on them under specific
|
|
# circumstances (e.g. if the main font is not available; see below).
|
|
# * If AltFonts are defined, LyX will try to load them in the defined
|
|
# order if the main package is not available. So
|
|
# Package mathptmx
|
|
# AltFonts mathptm,times
|
|
# will try to load mathptm if mathptmx is not available and then times
|
|
# if mathptm is not available either.
|
|
# AltFonts need to be defined separately using AltFont ... EndFont tags.
|
|
# * If Requires is set, LyX will check for this. If not, it will check
|
|
# for Package and AltFonts.
|
|
# * OT1Font will load the defined font if the font encoding is OT1. This is
|
|
# necessary since some newer font packages do not support this encoding.
|
|
# The value "none" tells LyX not to load a package 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").
|
|
# CompleteFonts need to be defined separately using AltFont ... EndFont
|
|
# tags.
|
|
# * OsfFont is a font that is loaded additionally in and that provides
|
|
# Old Style Figures for a given font (e.g. eco).
|
|
# * OsfScOption overrides any OsfOption and ScOption if both features
|
|
# are selected.
|
|
# * 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.
|
|
#
|
|
##########################################################################
|
|
|
|
#
|
|
# ROMAN FONTS
|
|
#
|
|
|
|
Font ae
|
|
GuiName "AE (Almost European)"
|
|
Family rm
|
|
Package "ae,aecompl"
|
|
OT1Font none
|
|
Requires ae
|
|
EndFont
|
|
|
|
Font beraserif
|
|
GuiName "Bera Serif"
|
|
Family rm
|
|
Package beraserif
|
|
CompleteFont bera
|
|
Requires bera
|
|
EndFont
|
|
|
|
AltFont bera
|
|
GuiName "Bera Serif"
|
|
Family rm
|
|
Package bera
|
|
EndFont
|
|
|
|
Font bookman
|
|
GuiName "Bookman"
|
|
Family rm
|
|
Package bookman
|
|
EndFont
|
|
|
|
Font ccfonts
|
|
GuiName "Concrete Roman"
|
|
Family rm
|
|
Package ccfonts
|
|
EndFont
|
|
|
|
Font chancery
|
|
GuiName "Zapf Chancery"
|
|
Family rm
|
|
Package chancery
|
|
EndFont
|
|
|
|
Font charter
|
|
GuiName "Bitstream Charter (PSNFSS)"
|
|
Family rm
|
|
Package charter
|
|
EndFont
|
|
|
|
Font cmr
|
|
GuiName "Computer Modern Roman"
|
|
Family rm
|
|
SwitchDefault 1
|
|
OsfFont eco
|
|
EndFont
|
|
|
|
AltFont eco
|
|
Family rm
|
|
Package 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
|
|
Provides amssymb,amsfonts
|
|
EndFont
|
|
|
|
Font mdput
|
|
GuiName "Utopia (Mathdesign)"
|
|
Family rm
|
|
OsfOption expert
|
|
ScOption expert
|
|
OsfScOption expert
|
|
Package mathdesign
|
|
PackageOption utopia
|
|
Requires mdput
|
|
Provides amssymb,amsfonts
|
|
EndFont
|
|
|
|
Font mdugm
|
|
GuiName "Adobe Garamond (Mathdesign)"
|
|
Family rm
|
|
OsfOption expert
|
|
ScOption expert
|
|
OsfScOption expert
|
|
Package mathdesign
|
|
PackageOption garamond
|
|
Requires mdugm
|
|
Provides amssymb,amsfonts
|
|
EndFont
|
|
|
|
Font minionpro
|
|
GuiName "Minion Pro"
|
|
Family rm
|
|
OsfOption lf
|
|
OsfDefault 1
|
|
Package MinionPro
|
|
Provides amssymb,amsfonts
|
|
EndFont
|
|
|
|
Font newcent
|
|
GuiName "New Century Schoolbook"
|
|
Family rm
|
|
Package newcent
|
|
EndFont
|
|
|
|
Font palatino
|
|
GuiName "Palatino"
|
|
Family rm
|
|
OsfOption osf
|
|
ScOption sc
|
|
OsfScOption osf
|
|
Package mathpazo
|
|
AltFonts mathpple,palatino
|
|
Requires psnfss
|
|
EndFont
|
|
|
|
AltFont mathpple
|
|
GuiName "Palatino"
|
|
Family rm
|
|
Package mathpple
|
|
EndFont
|
|
|
|
AltFont palatino
|
|
GuiName "Palatino"
|
|
Family rm
|
|
Package palatino
|
|
EndFont
|
|
|
|
Font times
|
|
GuiName "Times Roman"
|
|
Family rm
|
|
Package mathptmx
|
|
AltFonts mathptm,times
|
|
Requires psnfss
|
|
EndFont
|
|
|
|
AltFont mathptm
|
|
GuiName "Times Roman"
|
|
Family rm
|
|
Package mathptm
|
|
EndFont
|
|
|
|
AltFont times
|
|
GuiName "Times Roman"
|
|
Family rm
|
|
Package times
|
|
EndFont
|
|
|
|
Font tgbonum
|
|
GuiName "TeX Gyre Bonum"
|
|
Family rm
|
|
Package tgbonum
|
|
EndFont
|
|
|
|
Font tgchorus
|
|
GuiName "TeX Gyre Chorus"
|
|
Family rm
|
|
Package tgchorus
|
|
EndFont
|
|
|
|
Font tgpagella
|
|
GuiName "TeX Gyre Pagella"
|
|
Family rm
|
|
Package tgpagella
|
|
EndFont
|
|
|
|
Font tgschola
|
|
GuiName "TeX Gyre Schola"
|
|
Family rm
|
|
Package tgschola
|
|
EndFont
|
|
|
|
Font tgtermes
|
|
GuiName "TeX Gyre Termes"
|
|
Family rm
|
|
Package tgtermes
|
|
EndFont
|
|
|
|
# fourier supersedes utopia.sty, but does
|
|
# not work with OT1 encoding.
|
|
Font utopia
|
|
GuiName "Utopia (Fourier)"
|
|
Family rm
|
|
OsfOption oldstyle
|
|
ScOption expert
|
|
Package fourier
|
|
AltFonts utopia-sty
|
|
OT1Font utopia-sty
|
|
EndFont
|
|
|
|
AltFont utopia-sty
|
|
GuiName "Utopia (Fourier)"
|
|
Family rm
|
|
Package utopia
|
|
EndFont
|
|
|
|
|
|
#
|
|
# SANS SERIF FONTS
|
|
#
|
|
|
|
Font avant
|
|
GuiName "Avant Garde"
|
|
Family sf
|
|
Package avant
|
|
EndFont
|
|
|
|
Font berasans
|
|
GuiName "Bera Sans"
|
|
Family sf
|
|
ScaleOption scaled=$$val
|
|
Package berasans
|
|
Requires bera
|
|
EndFont
|
|
|
|
Font cmbr
|
|
GuiName "CM Bright"
|
|
Family sf
|
|
SwitchDefault 1
|
|
Requires cmbright
|
|
EndFont
|
|
|
|
Font cmss
|
|
GuiName "Computer Modern Sans"
|
|
Family sf
|
|
SwitchDefault 1
|
|
EndFont
|
|
|
|
Font helvet
|
|
GuiName "Helvetica"
|
|
Family sf
|
|
ScaleOption scaled=$$val
|
|
Package helvet
|
|
Requires psnfss
|
|
EndFont
|
|
|
|
Font lmss
|
|
GuiName "Latin Modern Sans"
|
|
Family sf
|
|
SwitchDefault 1
|
|
Requires lmodern
|
|
EndFont
|
|
|
|
Font tgadventor
|
|
GuiName "TeX Gyre Adventor"
|
|
Family sf
|
|
Package tgadventor
|
|
EndFont
|
|
|
|
Font tgheros
|
|
GuiName "TeX Gyre Heros"
|
|
Family sf
|
|
Package tgheros
|
|
EndFont
|
|
|
|
|
|
#
|
|
# MONOSPACED FONTS
|
|
#
|
|
|
|
Font beramono
|
|
GuiName "Bera Mono"
|
|
Family tt
|
|
ScaleOption scaled=$$val
|
|
Package beramono
|
|
Requires bera
|
|
EndFont
|
|
|
|
Font cmtl
|
|
GuiName "CM Typewriter Light"
|
|
Family tt
|
|
SwitchDefault 1
|
|
Requires cmbright
|
|
EndFont
|
|
|
|
Font cmtt
|
|
GuiName "Computer Modern Typewriter"
|
|
Family tt
|
|
SwitchDefault 1
|
|
EndFont
|
|
|
|
Font courier
|
|
GuiName "Courier"
|
|
Family tt
|
|
Package courier
|
|
Requires psnfss
|
|
EndFont
|
|
|
|
Font lmtt
|
|
GuiName "Latin Modern Typewriter"
|
|
Family tt
|
|
SwitchDefault 1
|
|
Requires lmodern
|
|
EndFont
|
|
|
|
Font luximono
|
|
GuiName "LuxiMono"
|
|
Family tt
|
|
ScaleOption scaled=$$val
|
|
Package luximono
|
|
EndFont
|
|
|
|
Font tgcursor
|
|
GuiName "TeX Gyre Cursor"
|
|
Family tt
|
|
Package tgcursor
|
|
EndFont
|
|
|
|
Font txtt
|
|
GuiName "TX Typewriter"
|
|
Family tt
|
|
SwitchDefault 1
|
|
Requires txfonts
|
|
EndFont
|