Stix2 math bold doesn't work #2

Open
opened 2026-04-17 16:37:02 +00:00 by foley · 2 comments
Owner

\begin{equation}
\frac{\partial \bm{u}}{\partial t}+(\bm{u}.\nabla)\bm{u}=
\nu\nabla^{2}\bm{u}-\frac{1}{\rho}\nabla p+\frac{1}{\rho} \bm{f}
\label{eq:NS}
\end{equation}

Fails to do bold with warnings:
LaTeX Font Warning: Font shape TU/STIXTwoMath(1)/b/n' undefined (Font) using TU/STIXTwoMath(1)/m/n' instead on input line 78.

Possibly related to this post: https://tex.stackexchange.com/questions/648668/stix2-throws-latex-font-warning-with-boldsymbol-or-bm

\begin{equation} \frac{\partial \bm{u}}{\partial t}+(\bm{u}.\nabla)\bm{u}= \nu\nabla^{2}\bm{u}-\frac{1}{\rho}\nabla p+\frac{1}{\rho} \bm{f} \label{eq:NS} \end{equation} Fails to do bold with warnings: LaTeX Font Warning: Font shape `TU/STIXTwoMath(1)/b/n' undefined (Font) using `TU/STIXTwoMath(1)/m/n' instead on input line 78. Possibly related to this post: https://tex.stackexchange.com/questions/648668/stix2-throws-latex-font-warning-with-boldsymbol-or-bm
Author
Owner

A hack fix in rudissertation.sty:

\RequirePackage{unicode-math}% loads STIX2 and math unicode characters
\setmathfont{Stix Two Math}
\setmathfont{STIX Two Math}[version=bold, FakeBold=1.2]
\setmainfont{STIX Two Text}

A hack fix in `rudissertation.sty`: ``` \RequirePackage{unicode-math}% loads STIX2 and math unicode characters \setmathfont{Stix Two Math} \setmathfont{STIX Two Math}[version=bold, FakeBold=1.2] \setmainfont{STIX Two Text} ```
Author
Owner

For the vector examples, this works better

\usepackage[bold-style=ISO]{unicode-math}
For the vector examples, this works better ``` \usepackage[bold-style=ISO]{unicode-math} ```
foley added the enhancementhelp wanted labels 2026-04-21 11:03:06 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: foley/ru-thesis#2