When using pdfLaTeX it is sometimes possible, when using different text and math font sets, to take the fonts for operators like sin
and cos
from the text font even within formulae. Thus, using the lucimatx
package, I can write
\renewcommand{\rmdefault}{bch}
\usepackage[onlymath=true]{lucimatx}
and then formulae will be set using lucida
for math fonts, but charter (i.e., bch
) for text-like objects like sin
and cos
, so matching the text using in the document body. This is what one wants from a typographic standpoint.
Is something similar possible using unicode-math
? If I use
\usepackage{unicode-math}
\setmainfont{Charis SIL} % Charis is a charter clone
\setmathfont{LucidaBrightMathOT.otf}
It seems to use lucida
fonts for everything in math mode. The same if I use xits
math fonts. I may, of course, be missing the equivalent of the onlymath
option in unicode-math
. Any help would be appreciated.
Regards Geoff Vallis