[OS X TeX] problem with XITS Math
"M. Tamer Özsu"
ozsut at mac.com
Fri Jan 10 11:04:39 EST 2025
Thank you very much Guillermo - this compiles that gets me over one problem.
However, my two original problems in the last paragraph (join symbol too big and in display environments the formula is typeset underneath the symbol rather than a subscript) is still there -- even after I add this to the preamble:
% Redefine \Join to fix size and subscript placement
\renewcommand{\Join}{\mathbin{\scalebox{0.8}{$\mathnormal{\Join}$}}}
Just an additional background: I previously was using \setmathfont{STIX Two Math} which displayed \Join correctly, but I could not get outer join symbols with it; following some guidance I read on StackExchange, I decided to try XITS.
==Tamer
> On Jan 10, 2025, at 10:57 AM, G. M.-S. <lists.gms at gmail.com> wrote:
>
>
> Try this:
>
> % !TEX TS-program = xelatexmk
> \documentclass{article}
> \usepackage{fontspec}
> \usepackage{unicode-math}
> % Set XITS Math as the math font
> \setmathfont[
> Extension = .otf,
> BoldFont = XITSMath-Bold,
> ]{XITSMath-Regular}
> \begin{document}
> Test XITS Math Join symbol: \(\Join_{F}\).
> \end{document}
>
> HTH,
>
> Guillermo
>
> On Fri, 10 Jan 2025 at 16:25, "M. Tamer Özsu" <ozsut at mac.com <mailto:ozsut at mac.com>> wrote:
>> Hello,
>>
>> I am trying to compile a file using
>>
>> I am getting the following error:
>> ./test1.tex:7: Package fontspec Error:
>> (fontspec) The font "XITS Math" cannot be found; this may be
>> (fontspec) but usually is not a fontspec bug. Either there is
>> (fontspec) a typo in the font name/file, the font is not
>> (fontspec) installed (correctly), or there is a bug in the
>> (fontspec) underlying font loading engine (XeTeX/luaotfload).
>>
>> If I force typesetting to continue, the output does not show the join symbol (as expected).
>>
>> My environment is MacOS 15.1.1 and using TeXShop 5.48. My MWE is attached. Typesetting with XeLaTeX
>>
>> I have confirmed that XITS Math is installed (when I try tlmgr install xits it tells me it is already there). I want to use XITS Math because I also use outerjoin symbols, etc and this should work well.
>>
>> Just as background, I was using \setmathfont{STIX Two Math} but that typesets \Join very large and in display environments, it typesets F in \Join_{F} underneath the join symbol rather than as a subscript, and I need the latter behaviour.
>>
>> many thanks for any advice.
>>
>> ==Tamer
>>
>> ----------- Please Consult the Following Before Posting -----------
>> TeX FAQ: https://www.tug.org/mactex/faq/index.html
>> 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: https://www.tug.org/mactex/index.html
>> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: https://www.tug.org/mactex/faq/index.html
> 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: https://www.tug.org/mactex/index.html
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20250110/b24cdd42/attachment-0001.htm>
More information about the MacOSX-TeX
mailing list