mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 14:29:21 +00:00
tex2lyx: support for garamondx
This commit is contained in:
parent
c466916a25
commit
6a3acd336b
@ -124,7 +124,7 @@ const char * const known_old_language_packages[] = {"french", "frenchle",
|
||||
char const * const known_fontsizes[] = { "10pt", "11pt", "12pt", 0 };
|
||||
|
||||
const char * const known_roman_fonts[] = { "ae", "beraserif", "bookman",
|
||||
"ccfonts", "chancery", "charter", "cmr", "fourier", "lmodern",
|
||||
"ccfonts", "chancery", "charter", "cmr", "fourier", "garamondx", "lmodern",
|
||||
"mathdesign", "mathpazo", "mathptmx", "newcent", "utopia", 0};
|
||||
|
||||
const char * const known_sans_fonts[] = { "avant", "berasans", "cmbr", "cmss",
|
||||
@ -669,8 +669,13 @@ void Preamble::handle_package(Parser &p, string const & name,
|
||||
h_font_sc = "true";
|
||||
}
|
||||
|
||||
if (name == "garamondx") {
|
||||
h_font_roman = "garamondx";
|
||||
if (opts == "osfI")
|
||||
h_font_osf = "true";
|
||||
}
|
||||
|
||||
if (name == "mathdesign") {
|
||||
// when font uses real small capitals
|
||||
if (opts.find("charter") != string::npos)
|
||||
h_font_roman = "md-charter";
|
||||
if (opts.find("garamond") != string::npos)
|
||||
|
@ -81,7 +81,7 @@ Format LaTeX feature LyX feature
|
||||
447
|
||||
448
|
||||
449 \item[<arg>] \begin_inset Argument item:<nr>
|
||||
450 garamondx.sty, ugm LaTeX font, \font_roman, \font_osf,
|
||||
450 ugm LaTeX font, \font_roman, \font_osf,
|
||||
[garamondx]{newtxmath} \font_math
|
||||
451 beamer overlay arguments InsetArgument
|
||||
\command<arg>, \begin{env}<arg>
|
||||
|
Loading…
Reference in New Issue
Block a user