[OS X TeX] math Cambria font

Herbert Schulz herbs at wideopenwest.com
Tue Oct 6 17:51:22 EDT 2020


> On Oct 6, 2020, at 3:20 PM, juan tolosa via MacOSX-TeX <macosx-tex at email.esm.psu.edu> wrote:
> 
> That is exactly what I did: I use TeXShop, so I chose LuaLaTeX as the typesetting tool, and I got the message that the MathCambria font could not be found. I tried XeLaTeX, also within TeXShop, and got the same message. Following other suggestions, I looked at the folder Library -> Fonts, and it seems to be empty. I use a Mac, not a PC, but I assumed that this font had been installed. How does one go about installing it?
> 
> The student is submitting a proposal to NSF, and it appears to be one of the requisites (that mat be typeset using Cambria Math, that is).
> 
> Thanks,
> Juan
> 
>> On Oct 5, 2020, at 8:42 PM, Elliott Roper <elliott at yrl.co.uk> wrote:
>> 
>> 
>> 
>>> On 6 Oct 2020, at 01:09, juan tolosa via MacOSX-TeX <macosx-tex at email.esm.psu.edu> wrote:
>>> 
>>>> From: juan tolosa <juantolo at me.com>
>>>> Subject: math Cambria font
>>>> Date: October 5, 2020 at 7:13:54 PM EDT
>>>> To: "M. Tamer Özsu via MacOSX-TeX" <macosx-tex at email.esm.psu.edu>
>>>> Cc: juan tolosa <juantolo at me.com>
>>>> 
>>>> A student asked me about how to use the math Cambria font; she needs this as a requirement to submit a paper. I have never tried this, so I used a basic example that I googled:
>>>> 
>>>> \documentclass{article}
>>>> 
>>>> \usepackage{unicode-math} 
>>>> \setmathfont{Cambria Math}
>>>> 
>>>> 
>>>> 
>>>> \begin{document} 
>>>> 
>>>> 
>>>> $a + b$
>>>> 
>>>> 
>>>> \end{document}
>>>> 
>>>> Apparently, one needs to typeset this using either LuaLaTeX or XeLaTeX, which I have never used either. (You can see my ignorance here is aismal.) I tried both, but I get the message that the font CambriaMath has not been found.
>>>> Any advice on what I am doing wrong would be appreciated.
>>>> Juan
>>> 
>> 
>> Yes, to set unicode, either a LauLaTeX or XeLaTeX typestting engine is required.
>> 
>> Your example works fine with both.
>> 
>> Setting up your machine to use LuaLaTeX differs between authoring environments. I use AucTex inside Aquamacs (which is not for beginners or even people without a masochistic streak), so I won't bore you with that
>> 
>> TeXShop (1) is a common environment. To get it to use the LuaLaTeX engine is simple.
>> Open the example in TeXShop. The second item in the menubar, probably defaulting to LaTeX, when clicked displays a choice of engines. Choose LuaLaTeX.
>> 
>> Hit typeset to admire your work.
>> 
>> Your student needs to have Cambria Math somewhere on her Mac. If Font Book can find it, so can LuaLaTeX or XeTeX. It can also find all the fonts that come with TeX Live. I don't have Cambria on my machine so I checked with a commercial font {Arial Unicode MS} and with {XITS Math} which comes with TeX Live.
>> 
>> (1) For complete beginners, find TeXShop in Applications/TeX/TeXShop.app on any Mac that has a current MacTeX Live on it.
>> 
>> Elliott Roper
>> +44 7454 402200 mobile, facetime
>> 01663 747334 UK landline

Howdy,

Does the Cambria Math font appear in Font Book? If so is the font name correctly `Cambria Math'? 

Sorry I have no MS software on my system.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)



More information about the MacOSX-TeX mailing list