\boldsymbol no funciona con el paquete fontsetup

\boldsymbol no funciona con el paquete fontsetup

¿Cómo puedo ponerme \boldsymbola trabajar cuando uso elfontsetup¿paquete?


LuaLaTeX sin \usepackage{fontsetup}pero con \usepackage{amsmath}:

ingrese la descripción de la imagen aquí

LuaLaTeX con \usepackage{fontsetup}:

ingrese la descripción de la imagen aquí


Estoy usando el siguiente código:

\documentclass{article}
\usepackage{fontsetup}

\begin{document}
    $x$ and $\boldsymbol{x}$
\end{document}

Intenté cargar amsmathnada tan bien como antes y después fontsetup, pero nada funcionó.


LaTeX Font Warning: Font shape `TU/NewCMMath-Book.otf(1)/b/n' undefined
(Font)              using `TU/NewCMMath-Book.otf(1)/m/n' instead on input line 5.


LaTeX Font Warning: Font shape `TU/NewCMMath-Book.otf(2)/b/n' undefined
(Font)              using `TU/NewCMMath-Book.otf(2)/m/n' instead on input line 5.

LaTeX Font Info:    Font shape `TU/NewCMMath-Book.otf(2)/b/n' will be
(Font)              scaled to size 7.00075pt on input line 5.
LaTeX Font Info:    Font shape `TU/NewCMMath-Book.otf(2)/b/n' will be
(Font)              scaled to size 5.00053pt on input line 5.

LaTeX Font Warning: Font shape `TU/NewCMMath-Book.otf(3)/b/n' undefined
(Font)              using `TU/NewCMMath-Book.otf(3)/m/n' instead on input line 5.

LaTeX Font Info:    Font shape `TU/NewCMMath-Book.otf(3)/b/n' will be
(Font)              scaled to size 6.99925pt on input line 5.
LaTeX Font Info:    Font shape `TU/NewCMMath-Book.otf(3)/b/n' will be
(Font)              scaled to size 4.99947pt on input line 5.
[1

{/usr/local/texlive/2022/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./output.aux)

LaTeX Font Warning: Some font shapes were not available, defaults substituted.

Respuesta1

Puede utilizar el \symbfitcomando para obtener matemáticas en negrita y cursiva como se define en los bloques Unicode.

\documentclass{article}

\usepackage{fontsetup}

\begin{document}
    \(x\) and \(\symbfit{x}\)
\end{document}

fontsetup_bold_italic_x

NewCM-Book, la fuente que fontsetupestablece de forma predeterminada tiene todos los caracteres griegos y latinos en mayúsculas y minúsculas con serifa, negrita, cursiva y negrita cursiva. Puedes echar un vistazo aeste documentopara todos los símbolos matemáticos Unicode disponibles.

New Computer Modern Math no admite matemáticas version=boldhasta donde yo sé. Pero se proporcionan muchos caracteres que probablemente necesites. Veresta respuestapara ver qué fuentes tienen boldmathcobertura.

información relacionada