From ad68c67160d3a9fcc66d854ba35e58e2d855870c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Fri, 5 Jul 2002 16:13:36 +0000 Subject: [PATCH] support for AMS's \text git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4536 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_factory.C | 1 + src/mathed/math_support.C | 1 + 2 files changed, 2 insertions(+) diff --git a/src/mathed/math_factory.C b/src/mathed/math_factory.C index 452d30f4fd..6b43461120 100644 --- a/src/mathed/math_factory.C +++ b/src/mathed/math_factory.C @@ -129,6 +129,7 @@ key_type wordlist_array[] = {"rm", "oldfont", ""}, {"scriptscriptstyle", "style", ""}, {"scriptstyle", "style", ""}, + {"text", "font", "mathtext"}, {"textbf", "font", "mathtext"}, {"textit", "font", "mathtext"}, {"textmd", "font", "mathtext"}, diff --git a/src/mathed/math_support.C b/src/mathed/math_support.C index 8eef7a4efc..af18e35f39 100644 --- a/src/mathed/math_support.C +++ b/src/mathed/math_support.C @@ -554,6 +554,7 @@ fontinfo fontinfos[] = { {"eufrak", LyXFont::EUFRAK_FAMILY, inh_series, inh_shape, LColor::math}, {"msa", LyXFont::MSA_FAMILY, inh_series, inh_shape, LColor::math}, {"msb", LyXFont::MSB_FAMILY, inh_series, inh_shape, LColor::math}, + {"text", inh_family, inh_series, inh_shape, LColor::black}, {"textbf", inh_family, LyXFont::BOLD_SERIES, inh_shape, LColor::black}, {"textit", inh_family, inh_series, LyXFont::ITALIC_SHAPE, LColor::black}, {"textmd", inh_family, LyXFont::MEDIUM_SERIES, inh_shape, LColor::black},