I would like to use the Adobe Garamond Pro (otf) font with mathdesign
. The readme of the package says:
The following commercial families are also supported:
- mdpga family corresponds to Adobe Garamond Pro text fonts
- mdpus family corresponds to Adobe Utopia Std text fonts
- mdici family corresponds to ITC Charter text fonts
<...>
You have to obtain the commercial text fonts from your favorite reseller. Only the opentype version these fonts are supported. You will need the following files:
For Adobe Garamond Pro
AGaramondPro-Regular.otf
AGaramondPro-Italic.otf
AGaramondPro-Semibold.otf
AGaramondPro-SemiboldItalic.otf
<...>
Put them in your TEXMF tree in the directory ${TEXMF}/fonts/opentype/<supplier>/<fontname>
(Supplier is garamond or itc. The fontname is basically what you want.) You don't need to rename the files. The 'expert' options is useless, since this fonts are provided with small caps and oldstyle figures!
I put the fonts in the directory .../fonts/opentype/garamond/Adobe Garamond Pro/
, but when I run XeLaTeX on the following code, I get this warning and no pdf:
LaTeX Font Info: Try loading font information for EU1+mdpgd on input line 185.
LaTeX Font Info: No file EU1mdpgd.fd. on input line 185.
LaTeX Font Warning: Font shape `EU1/mdpgd/m/n' undefined
(Font) using `EU1/lmr/m/n' instead on input line 185.
MWE:
\documentclass{article}
\usepackage{fontspec}
\setmainfont[Ligatures=TeX]{Adobe Garamond Pro}
\usepackage[adobe-garamond]{mathdesign}% thanks to Ulrike Fisher
\usepackage{polyglossia}
\setmainlanguage{english}
\usepackage{lipsum}
\begin{document}
\lipsum[1]
\[f(x)=\int g(x)\,dx\]
\end{document}
adobe-garamond
.mdpgd
andadobe-garamond
are recognized, but then I get the following warning: LaTeX Font Warning: Font shapeEU1/mdpgd/m/n' undefined (Font) using
EU1/lmr/m/n' instead on input line 185. And I get no pdf.adobe-garamond
option instead? I edited the code with Ulrike suggestion.