I'm editing a document in which I chose the Adobe Garamond Premier Pro font as the main font.
The only free math font I found that fits with the AGPPro so far is the one from the MnSymbol
package.
Only problem is that I hate the integral symbols from the MnSymbol
package.
So instead I would like to use the integral symbols from the lmodern
package or the ones from the XITS font :
I only want to change the integral symbols, but all of them as I find nothing wrong with the other large symbols from the MnSymbol… (for now).
Here's a MWE for my setup (compiled using XeLaTeX) :
\documentclass{book}
\usepackage[francais]{babel}
\usepackage[no-math]{fontspec}
\usepackage{mathrsfs}
\usepackage[MnSymbol]{mathspec}
\setmainfont[Ligatures=TeX]{Garamond Premier Pro}
\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}
IMHO, integrals from the MnSymbols look like simple hooks...
\[
\mathscr J = \int_0^\pi{\ddot q(t)}\,\mathrm dt
\]
\[
\iint_0^{\sqrt \pi}{5}\,\mathrm dt
\]
\end{document}
Best Answer
EDIT 2
Seems like I found a better alternative for the math font to fit the main font (something I didn't know was available).
I followed this procedure from another question in this forum (works if you're on a Mac or Linux I guess). This made available a
Garamond
math font via the\usepackage[urw-garamond]{mathdesign}
. This way, even if the Garamond employed is not exactly the same as AGPPro, the math fits in beautifully.NOTE Be careful to load the URW-Garamond before the
fontspec
package and the\setmainfont
command if you wish to keep AGPPro's features (Swashes, Small Italic Caps and stuff).Another alternative consists in loading the mathpazo package :
\usepackage{mathpazo}
, it uses a font similar to the one used byMnSymbol
but with different integral symbols. In fact it uses the Palatino font. What's more, one can define whatever main font desired without interference (when compiled with XeLaTeX).EDIT
This is just an alternative because the
mathpazo
loads the Palatino font math operators, which are not exactly the same as the MnSymbol ones...