Write a sentence with a small caps word in the middle. Now try to to emphasize the sentence. LyX will mess up, and the fonts will be different on screen and in print.

In print, there will be all italics. On screen, text will be italics except for the small caps word that changes from small caps to "normal upright" for some reason.

Bug report because Sam Lewis asked on the user list how to emphasize such sentences, and testing showed this problem.

Intented result: Instead of emphasizing, use TeX boxes and put "\emph{" at the beginning and "}" at the end of the sentence. This works. It'd be nice if LyX emphasize worked the same way - both on screen and in print.

One can think of other "logical" solutions, like "turn everything italic & loose the emphasize", as italic and small caps are mutually exclusive. I don't think the user will appreciate this variant as much, given the ways emphasizing and small caps are used. Also, one can imagine someone making a font that has italic small caps. . .

Either way, it is a bug to have the main window and the print differ like this.



This time, I tested with "article" to keep bugs in my own document classes out.

Helge Hafting

Reply via email to