On Tue, Sep 30, 2003 at 03:58:37PM +0200, Christian Ridderstr�m wrote: > I'm flattered you think I have a clue... my experience with latex is > all from Lyx :-)
I am just trying various devices to make people do my job. This particular one seems to work pretty well. > > I.e. what font is \mathnormal? Does it depend on the surrounding text? > > What does \mathrm do? Just switch the family? Or something else, too? > > Same for \mathsc, \matit, \mathbf etc? > > Googling, I found this: "Math font attributes" > http://www.latex-project.org/guides/fntguide/node13.html Good shot. This already indicates that mathed's logic fontinfo fontinfos[] = { // math fonts {"mathnormal", inh_family, LyXFont::MEDIUM_SERIES, LyXFont::UP_SHAPE, LColor::math}, [...] is broken. mathnormal should have LyXFont::ITALIC_SHAPE... Maybe that's already the root of the evil. Care to submit a patch? Andre' *duck and run*
