alerque / libertinus

The Libertinus font family
Other
927 stars 57 forks source link

Where is mathcal? #518

Open Firestar-Reimu opened 1 year ago

Firestar-Reimu commented 1 year ago

There is no mathcal fonts, or mathcal looks too similar to mathscr

\documentclass{article}
\usepackage{unicode-math}
\unimathsetup{mathrm=sym,mathbf=sym,mathsf=sym,bold-style=ISO,sans-style=italic}
\usepackage[math=+ss08]{libertinus-otf}
\begin{document}
    \[
        \mathcal{ABCD} \mathscr{ABCD}
    \]
\end{document}

Screenshot_20220916_113217

Bolpat commented 1 year ago

The respective Unicode Block does not include different cursive scripts. Libertinus Math could only support them via some style option, but probably won’t. One solution would be to use a different font for \mathcal.

Firestar-Reimu commented 1 year ago

what about this

https://github.com/stipub/stixfonts/issues/218

Bolpat commented 1 year ago

It’s not part of a Unicode block. It’s a way to add them, though.

cionx commented 1 year ago

This may be related to https://github.com/alerque/libertinus/issues/475.