I'd like to use the Nath package together with a math font which supports Greek letters, while retaining the default font for the non-Greek letters. Is this possible?
I tried compiling the following document with xelatex.
\documentclass[a4paper,12pt]{article}
\usepackage{unicode-math}
\setmathfont[range=\mathbfsfit/{greek,Greek}]{lmmath.otf}
\RequirePackage{nath}
\begin{document}
$$\tilde{T}α$$
\end{document}
It gave me an error:
Nath as of 21 March 2003
Implementing NAtural maTH notation
) (./test2.aux) (/usr/share/texmf/tex/latex/tipa/t3cmr.fd)
! Internal error: bad native font flag
If I remove the range option to setmathfont, or the tilde, the document compiles.
\setmathfont{XITS Math}
, just for a try, it works. Why not simply use\setmathfont{lmmath.otf}
? – egreg Jan 4 '13 at 18:03