Libertino y \mathcal

Libertino y \mathcal

Estoy usando la fuente libertinus para hacer coincidir las matemáticas con mi texto (usé Linux libertine). Necesito un \mathcal{L}símbolo en mi texto, pero solo obtengo un símbolo L. miré eldocumentación de la fuentey compiló eldocumento .texmí mismo. Sin embargo, obtengo un resultado diferente. Aquí hay un pasaje que se utiliza \mathcal{A}en el archivo pdf subido: Imagen del pdf subido

Aquí hay una imagen del mismo pasaje en el documento que compilé yo mismo: Imagen de documento autocompilado

Como puedes ver, hay claramente una diferencia.

Estoy confundido. Quería encontrar una diferencia en mi preámbulo de la documentación, pero incluso la documentación (usando exactamente el mismo archivo .tex) me da resultados diferentes. No tengo idea de cómo solucionar este problema, no sé mucho sobre el manejo de fuentes. Tenga en cuenta que este podría ser mi único problema, por lo que estaría bien recibir un tratamiento especial \mathcal{L}(aunque me encantaría aprender más sobre la diferencia aquí).

Aquí hay un MWE tomado del archivo .tex vinculado:

\documentclass{article}

\usepackage{amsmath,amsthm,trace}
\usepackage{unicode-math}
\setmainfont{Libertinus Serif}
\setsansfont{Libertinus Sans}
\setmathfont[AutoFakeBold]{Libertinus Math}

\newtheorem{thm}{Theorem}[section]
\newtheorem{lem}[thm]{Lemma}

\newcommand{\A}{\mathcal{A}}
\newcommand{\BB}{\mathcal{B}}

%    Enclose the argument in vert-bar delimiters:
\newcommand{\envert}[1]{\left\lvert#1\right\rvert}
\let\abs=\envert

\begin{document}
    \begin{lem}\label{p0201}
    Let $\A$ be an arrangement. Then
    \[ \chi (\A,t) = \sum_{\BB \subseteq \A}
    (-1)^{\abs{\BB}} t^{\dim T(\BB)}. \]
    \end{lem}
\end{document}

Respuesta1

La fuente en CTAN parece estar defectuosa. Necesitas descargar la versión más reciente de github.https://github.com/khaledhosny/libertinus/blob/master/libertinusmath-regular.otfy reemplace su fuente o muévala, por ejemplo, a su carpeta actual y cárguela con

  \setmathfont{libertinusmath-regular.otf}[Path=./]

información relacionada