[OS X TeX] math Cambria font
juan tolosa via MacOSX-TeX
macosx-tex at email.esm.psu.edu
Tue Oct 6 22:20:36 CEST 2020
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
>
>
>
>
> ----------- 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
> https://email.esm.psu.edu/pipermail/macosx-tex/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20201006/25b7f241/attachment-0001.html>
-------------- 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
https://email.esm.psu.edu/pipermail/macosx-tex/
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.