Sam Lewis wrote:
Hi,
What is the best way to emphasise (italicise) a whole paragraph while retaining
abbreviations in small caps?
Tricky, as latex doesn't seem to support italicised small caps fonts.
I guess you can acheive this if you have such a font, and insert
all the latex commands necessary to switch it on and off as necessary.

Or did you mean the much simpler problem of turning the whole paragraph
into italic except for the small cap stuff that should remain (upright) small caps?
Lyx support this, but you may have to mark only the parts that
aren't small caps and turn those to italic. There is no way of marking
everything and italicise all except the small caps.

I tested this with lyx 1.5, which is quite buggy when trying it out.
If I italicise something with small caps content then the small cap stuff
becomes upright on screen for some reason, and italics in print.

There actually is one way, if you need to change a large paragraph
quickly without taking care of every piece of small caps:

Put the cursor at the start of the paragraph - and make sure
it isn't in a small caps region. PRess the "TeX" button, and insert
the latex command
\emph{
Move the cursor to the end of the paragraph, use the TeX button
again and type
}
(A lonely ending brace that ends the emph command now surrounding the
paragraph)

This will emphasize the entire paragraph without messing up
the small caps.  The small caps will still be upright, I know no
simple way of changing that.

Helge Hafting



Reply via email to