alerque / libertinus

The Libertinus font family
Other
927 stars 57 forks source link

libertinus is not compatible with bm #513

Open Firestar-Reimu opened 1 year ago

Firestar-Reimu commented 1 year ago
\documentclass[a4paper]{article}

\usepackage{amsmath}
\usepackage[math=+ss08]{libertinus-otf}
\usepackage{bm}

\begin{document}

\[
    \bm{k}
\]

\end{document}

This produces an error:

Extended mathchar used as mathchar (14799960).
<to be read again> 

Does libertinus-math have no Math bold-italic fonts like these? Screenshot_20220709_190936

hvoss49 commented 1 year ago
\documentclass[a4paper]{article}
\usepackage{amsmath}
\usepackage[math=+ss08]{libertinus-otf}
\begin{document}

\[
    k\symbfit{k}
\]

\end{document}
Firestar-Reimu commented 1 year ago

So it is because libertinus-otf uses unicode-math inside so cannot use bm?

hvoss49 commented 1 year ago

Why should it use bm? All glyphs can be bold by optional setting.