[Tex/LaTex] Problem with math symbols unicode-math

fontspecluatexsymbolsunicode-math

I'm begginer with lualatex, fontspec and unicode-math packages. I try load differents fonts for text and for math operators. But some math symbols not appears. For example, I try this (just to show differences fonts):

\documentclass{memoir}
\usepackage{amsmath,amssymb,amsthm}
\usepackage{luaotfload,lualatex-math}
\usepackage{fontspec}
 \setmainfont{Niconne-Regular}[
              Path = /home/juanuni/.fonts/ ,
                              ]
\usepackage{unicode-math}
 \setmathfont[range=\mathup/{latin,Latin}]{Diavlo_BOOK_II_37}

\begin{document}
This is a proof $\sin x^2$ $\sum$ $\delta$
\end{document}

To get:

enter image description here

As you can see, the commands \sum and \delta have no output. What am I doing wrong?

Best Answer

You have to declare a math font:

\documentclass{memoir}
\usepackage{amsmath,amssymb,amsthm}
\usepackage{unicode-math}

\setmainfont{Zapfino}
\setmathfont{Latin Modern Math}
\setmathfont[range=\mathup/{latin,Latin}]{TeX Gyre Heros}

\begin{document}
This is a proof $\sin x^2$ $\sum$ $\delta$
\end{document}

enter image description here

Related Question