[OS X TeX] math Cambria font

Ross Moore ross.moore at mq.edu.au
Tue Oct 6 22:43:35 CEST 2020

Hello Juan,

On 7 Oct 2020, at 7:20 am, juan tolosa via MacOSX-TeX <macosx-tex at email.esm.psu.edu<mailto: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?

mathCambria is a Microsoft creation, surely.

On my MacBook it is in    /Library/Fonts/Microsoft/Cambria Math.ttf .

(base) SCI-4:char200B ross$ ls -l  /Library/Fonts/Microsoft/Cambria*
-rw-rw-r--@ 1 root  admin   805864  2 Jun  2010 /Library/Fonts/Microsoft/Cambria Bold Italic.ttf
-rw-rw-r--@ 1 root  admin   763652  2 Jun  2010 /Library/Fonts/Microsoft/Cambria Bold.ttf
-rw-rw-r--@ 1 root  admin   827080  2 Jun  2010 /Library/Fonts/Microsoft/Cambria Italic.ttf
-rw-rw-r--@ 1 root  admin  1408700  2 Jun  2010 /Library/Fonts/Microsoft/Cambria Math.ttf
-rw-rw-r--@ 1 root  admin  1405752 19 Jul  2010 /Library/Fonts/Microsoft/Cambria.ttf

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).

It is practically impossible to avoid Microsoft entirely, within an academic setting.
You should be able to get a (relatively) cheap license via your institution,
or use a machine that has it installed already.

Hope this helps.



On Oct 5, 2020, at 8:42 PM, Elliott Roper <elliott at yrl.co.uk<mailto: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<mailto:macosx-tex at email.esm.psu.edu>> wrote:

From: juan tolosa <juantolo at me.com<mailto: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<mailto:macosx-tex at email.esm.psu.edu>>
Cc: juan tolosa <juantolo at me.com<mailto: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:


\setmathfont{Cambria Math}


$a + b$


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.

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

----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq<https://protect-au.mimecast.com/s/hSQLCQnM1Wf4QK0XIxiQ4g?domain=tex.ac.uk>
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/<https://protect-au.mimecast.com/s/O6K-CRONg6sP6p2GsN6yFG?domain=sites.esm.psu.edu/>
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx<https://protect-au.mimecast.com/s/ze__CVARmOHjJEG2uyK5jE?domain=dir.gmane.org>
TeX on Mac OS X Website: http://mactex-wiki.tug.org/<https://protect-au.mimecast.com/s/sdLGCXLW6Di7Qgw4tmYsPu?domain=mactex-wiki.tug.org/>
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex<https://protect-au.mimecast.com/s/7l0WCYW86Eso7vrDtZtul7?domain=email.esm.psu.edu>

----------- Please Consult the Following Before Posting -----------
TeX FAQ: https://protect-au.mimecast.com/s/hSQLCQnM1Wf4QK0XIxiQ4g?domain=tex.ac.uk
List Reminders and Etiquette: https://protect-au.mimecast.com/s/O6K-CRONg6sP6p2GsN6yFG?domain=sites.esm.psu.edu/
List Archives: https://protect-au.mimecast.com/s/ze__CVARmOHjJEG2uyK5jE?domain=dir.gmane.org
TeX on Mac OS X Website: https://protect-au.mimecast.com/s/sdLGCXLW6Di7Qgw4tmYsPu?domain=mactex-wiki.tug.org/
List Info: https://protect-au.mimecast.com/s/7l0WCYW86Eso7vrDtZtul7?domain=email.esm.psu.edu

Dr Ross Moore
Department of Mathematics and Statistics
12 Wally’s Walk, Level 7, Room 734
Macquarie University, NSW 2109, Australia
T: +61 2 9850 8955  |  F: +61 2 9850 8114
M:+61 407 288 255  |  E: ross.moore at mq.edu.au<mailto:ross.moore at mq.edu.au>
[cid:image001.png at 01D030BE.D37A46F0]
CRICOS Provider Number 00002J. Think before you print.
Please consider the environment before printing this email.

This message is intended for the addressee named and may
contain confidential information. If you are not the intended
recipient, please delete it and notify the sender. Views expressed
in this message are those of the individual sender, and are not
necessarily the views of Macquarie University. <http://mq.edu.au/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20201006/5205e9e1/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4605 bytes
Desc: image001.png
URL: <https://tug.org/pipermail/macostex-archives/attachments/20201006/5205e9e1/attachment-0001.png>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

More information about the macostex-archives mailing list.