not sure if this is the best sub-forum to place this (maybe a mod can move it if it's more appropriate elsewhere).
I want to achieve the following:
- Font of the main text set in Minion Pro
- Font of text in math-mode also in Minion Pro (greek and latin letters, numbers etc.)
- Because Minion Pro has not all of the required symbols (operators, integrals etc.) so let them set with the MnSymbol-font
I can set the font of the normal symbols in the following way:
\documentclass{article} \usepackage[no-math] {fontspec} \setmainfont{Minion Pro} \usepackage{MnSymbol} \usepackage{unicode-math} \setmathfont[range=\mathup/{num,latin,Latin,greek,Greek}]{Minion Pro} \setmathfont[range=\mathbfup/{num,latin,Latin,greek,Greek}]{MinionPro-Bold} \setmathfont[range=\mathit/{num,latin,Latin,greek,Greek}]{MinionPro-It} \setmathfont[range=\mathbfit/{num,latin,Latin,greek,Greek}]{MinionPro-BoldIt} \begin{document} A formula: \[\underbrace{\frac{\sin^{2}\vartheta}{\Theta_{lm}(\vartheta)}\left(\frac{\partial^{2}}{\partial\vartheta^{2}}+\frac{\cos\vartheta}{\sin\vartheta}\frac{\partial}{\partial\vartheta}\right)\Theta_{lm}(\vartheta)+\sin^{2}(\vartheta)(l(l+1))}_{m^{2}}=\underbrace{-\frac{1}{\Phi_{m}(\varphi)}\frac{\partial^{2}}{\partial\varphi^{2}}\Phi_{m}(\varphi)}_{m^{2}}\] and another one: \[P_l (x)\equiv\frac {1}{2^l}\sum_{k=0}^{\lfloor l/2\rfloor} (-1)^k \frac{(2l-2k)!}{k!(l-k)!(l-2k)!} x^{l-2k}\] \end{document}
The problem is that some symbols won't displayed like the summation sign, integrals, \equiv-sign and others.
I've tried to set the summation sign explicit in MnSymbol with the following code but it also fails:
\setmathfont[range=\mathup/{"2211}]{MnSymbol5} \setmathfont[range=\mathbfup/{"2211}]{MnSymbol5} \setmathfont[range=\mathit/{"2211}]{MnSymbol5} \setmathfont[range=\mathbfit/{"2211}]{MnSymbol5}
A try with "\setmathfont{MnSymbol5}" even produce a "invalid character"-error and stops the compiling.
I also tried with mathspec but i didn't get it work with luaLaTeX.
So i would appreciate it if somebody can give me good hints for me to get a homogeneous type face with Minion Pro + MnSymbol + LuaLaTex.
Some infos about my environment:
- Win 7 x64
- LuaLaTeX from TexLive
- TexLive 2011 - newest updates
- MnSymbol*.otf from TexLive and from their homepage respectively. It makes no difference if i install the otfs in windows or lualatex get them from the texLive-dir.
- Minion Pro from the Adobe Reader
Thank you in advance!