Como usar \mathsf ou \symsf no kpfonts

Como usar \mathsf ou \symsf no kpfonts

insira a descrição da imagem aqui

Nós sabemos issokpfontstem uma fonte matemática sem serifa, mas \mathsfe \symsfparece usar as fontes CM.

\documentclass{article}

\usepackage[bold-style=ISO,sans-style=italic]{unicode-math}
\usepackage{kpfonts-otf}

\begin{document}
    Hello world ball, 2022.
    \begin{equation}
        \mathsf{ABC}\symsf{ABC}
    \end{equation}
\end{document}

Responder1

As fontes são diferentes, embora possa ser difícil dizer com fontes sem fontes. Comparar:

insira a descrição da imagem aqui

\documentclass{article}

\PassOptionsToPackage{sans-style=italic}{unicode-math}
\usepackage{kpfonts-otf}
\setmathfont{Latin Modern Math}[version=LM]

\begin{document}

Kpfonts:

$\mathsf{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}$

$\symsf{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}$

Latin modern (default:

\mathversion{LM}
$\mathsf{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}$

$\symsf{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz}$

\end{document}

informação relacionada