# Minion Pro problem with LuaLaTeX

The following code

\documentclass{amsart}
\usepackage[math-style=TeX]{unicode-math}
\setmathfont{Minion Pro}
\begin{document}
$a = \sqrt{ b }$
\end{document}


is compiled by LuaLaTeX as

Why is that? Minion Pro .otf from Adobe Reader distribution is installed system-wide, TeXLive 2016 is fully updated, OS is openSUSE Tumbleweed.

update: out of academic interest I have downloaded a pirated copy of Minion Math, v 1.021, to obtain a similar result with \setmathfont{Minion Math}:

According to the explanations below the behaviour with Minion Pro is to be expected, the behaviour with Minion Math speaks of the faulty font. The question can be closed, I suppose.

• you can only use a font with an opentype math table as \setmainfont a general text font will not work, as you see. – David Carlisle Oct 2 '16 at 21:27
• There is an OpenType math font called Minion Math. Do be aware, though, that it's not free of charge. – Mico Oct 2 '16 at 21:33
• @David Carlisle Please see the update. – Sapere aude Oct 2 '16 at 21:36
• @Mico: you're right that it's not free: it's expensive. – JPi Oct 3 '16 at 0:40

If you use XeLaTeX you can use the mathspec package. Keep in mind that if you want to redistribute documents with embedded Minion Pro there are license issues.

\documentclass{article}
\usepackage{mathspec}
\setallmainfonts{Minion Pro}
\begin{document}
$a = \sqrt{ b }$
\end{document}


You could also use the mathastext package. This approach also works with LuaTeX.

\documentclass{article}
\usepackage{fontspec}
\setmainfont{Minion Pro}
\usepackage[italic]{mathastext}
\begin{document}
$a = \sqrt{ b }$
\end{document}


Or, if you own a copy of Minion Math, use that.

\documentclass{article}
\usepackage{unicode-math}
\setmathfont{Minion Math}
\begin{document}
$a = \sqrt{ b }$
\end{document}


• \$1,600 + €600 = wow. – JPi Oct 3 '16 at 11:10
• @JPi No, Minion Pro is bundled with Adobe Reader and the Basic Set of Minion Math is »only« 218.96 €. – Henri Menke Oct 3 '16 at 13:16
• Thanks Henri. But that's ignoring the license issues that you mention and only using the basic set, neither of which I could do. So no Minions for me: I'll have to stick with Gru instead. ;-) – JPi Oct 3 '16 at 13:24
• @JPi Well, these license issues only apply upon redistribution of a PDF with Minion Pro embedded. Here I'm only rendering the font and put the resulting rendering online. If that wouldn't be allowed one couldn't post screenshots of anything containing Minion Pro online. Also if you own Adobe Illustrator or Adobe InDesign you can embed the Minion Pro shipped with these. – Henri Menke Oct 3 '16 at 13:42
• Thanks Henri. What you did is obviously ok. I'm just thinking of writing a paper and putting a pdf on my website. It appears that Minion Pro permits print and preview embedding, but whether that's true for fonts that one extracts from Adobe Reader is unclear to me. – JPi Oct 3 '16 at 14:02