Christopher Menzel wrote:

> Dear LyX folk,
> 
> Quick question — what would it take to get display support for lower case
> calligraphic letters, which you can get in your rendered PDF via a package
> like BOONDOX-cal. Currently, typing lower case letters inside a \mathcal
> tag in math mode generates a seemingly random selection of symbols. Even
> just being able to see ordinary lower case letters, even if not
> calligraphic, would be preferable. A reasonably good workaround here is to
> use instant preview mode, but that's still less than ideal.
> 
> Just wondering; this is obviously not a major problem but it would be cool
> if there was a reasonably easy fix.

Unfortunately there is no easy way. \mathcal is hardwired to the cmsy10 font 
internally in LyX. Furthermore, the symbols are addressed using the internal 
font encoding and not unicode. This is really ugly, but it works for the 
characters supported by standard LaTeX, and so far nobody volunteered to 
refactor this part of the code and make it more robust.

For those who are interested: There is a big comment in GuiPainter::text(). 
You can also search for CMSY_FAMILY in the sources.


Georg


Reply via email to