Regarding the first message, there is a beamer class option professionalfont
which sets an \if
, specifically \ifbeamer@suppressreplacements
to decide whether beamer would handle some special font stuff or there was some other package to do it instead. unicode-math
checks to see if that \if
has been set to true and if not, it issues the warning and then sets it to true. So loading unicode-math
ensures that that \if
is set to true, but it might not be done as early as if you'd set the class option.
However, if you do set the class option, then you will get the warning:
"professionalfont" is obsolete. Use font theme "professionalfonts" instead
There are two things to notice here. First is that the class option is not professionalfonts
(as unicode-math
claims) but professionalfont
. Second, that it is obsolete. Rather, you should issue the command:
\usefonttheme{professionalfonts}
somewhere in your preamble. What this does is:
\mode<presentation>{\beamer@suppressreplacementstrue}
so it sets the same \if
but only in presentation
mode. Thus it is ignored in article
mode. Since the unicode-math
test only checks for the class being beamer, and not for the beamerarticle
package, this is consistent. Thus the correct preamble is:
\documentclass{beamer}
\usefonttheme{professionalfonts}
\usepackage{unicode-math}
Lastly, there should not be any actual problem if the middle line is missed since all it does is what unicode-math
does when checking for the beamer
class. Thus the actual effect of the middle line is to suppress the warning with the unicode-math
package.
(Andrew now goes off and changes the preamble of his presentations because he'd been getting that warning with the professionalfonts
class option and not understanding why he got it.)
For reasons that I find very mysterious, Unicode has the full range of Greek in sans serif bold, upright and italic, but it doesn't cover sans serif Greek in medium weight; to wit, there are
MATHEMATICAL SANS-SERIF BOLD CAPITAL GAMMA (U+1D758)
MATHEMATICAL SANS-SERIF BOLD ITALIC CAPITAL GAMMA (U+1D792)
and the other Greek letters (upper and lower case), but no medium weight ones.
So it's not surprising that \symsf{\Gamma}
(or \mathsf{\Gamma}
in an older version of unicode-math
) gives no different symbol: there's none that satisfies the request.
You can get through with \textsf
:
\documentclass{article}
\usepackage{amsmath}
\usepackage{unicode-math}
\begin{document}
$\Gamma\ne\textsf{\upshape Γ}\ne\symbfsf{\Gamma}$
$Γ\ne\textsf{\upshape Γ}\ne\symbfsf{Γ}$
\end{document}
A kludge, I know, but I can't offer any better. Of course the sans serif font defined in the document should support Greek.
Best Answer
unicode-math
uses a different model for deciding whether to put limits over or beside integrals and theintlimits
option does nothing.The list of operators defined with an implied
\nolimits
is the following:You can remove items from the list (one at a time) with the
\removenolimits
command; there's also\addnolimits
for adding to the list.