char const * const known_fontsizes[] = { "10pt", "11pt", "12pt", 0 };
const char * const known_roman_fonts[] = { "ae", "beraserif", "bookman",
-"ccfonts", "chancery", "charter", "cmr", "fourier", "garamondx", "libertine",
-"libertine-type1", "lmodern", "mathdesign", "mathpazo", "mathptmx", "newcent",
-"tgbonum", "tgchorus", "tgpagella", "tgschola", "tgtermes", "utopia", 0};
+"ccfonts", "chancery", "charter", "cmr", "cochineal", "crimson", "fourier",
+"garamondx", "libertine", "libertine-type1", "lmodern", "mathdesign", "mathpazo",
+"mathptmx", "newcent", "tgbonum", "tgchorus", "tgpagella", "tgschola", "tgtermes",
+"utopia", 0};
const char * const known_sans_fonts[] = { "avant", "berasans", "biolinum-type1",
"cmbr", "cmss", "helvet", "iwona", "iwonac", "iwonal", "iwonalc", "kurier",
else if (name == "mathptmx")
h_font_roman[0] = "times";
+ if (name == "crimson")
+ h_font_roman[0] = "cochineal";
+
+ if (name == "cochineal") {
+ h_font_roman[0] = "cochineal";
+ // cochineal can have several options, e.g. [proportional,osf]
+ string::size_type pos = opts.find("osf");
+ if (pos != string::npos)
+ h_font_osf = "true";
+ }
+
// sansserif fonts
if (is_known(name, known_sans_fonts)) {
h_font_sans[0] = name;
h_font_math[0] = "libertine-ntxm";
else if (opts == "minion")
h_font_math[0] = "minion-ntxm";
+ else if (opts == "cochineal")
+ h_font_math[0] = "cochineal-ntxm";
}
if (name == "iwona")
523 CJK Quote Styles InsetQuote
- cjk (corner brackets) \begin_inset Quotes j..
- cjkangle (angle brackets) \begin_inset Quotes k..
-524 Crimson/Cochineal fonts \font_roman, \font_math
- \usepackage{cochineal} \font_roman "cochineal" "<nontexfont>"
- - [osf] \font_osf true
- \usepackage{crimson} \font_roman "cochineal" "<nontexfont>"
- \usepackage[cochineal]{newtxmath} \font_math "cochineal-ntxm" "<nontexfont>"
526
Plural and capitalized refstyles InsetRef
528 Biblatex