
¿Cómo puedo ponerme \boldsymbol
a trabajar cuando uso elfontsetup
¿paquete?
LuaLaTeX sin \usepackage{fontsetup}
pero con \usepackage{amsmath}
:
LuaLaTeX con \usepackage{fontsetup}
:
Estoy usando el siguiente código:
\documentclass{article}
\usepackage{fontsetup}
\begin{document}
$x$ and $\boldsymbol{x}$
\end{document}
Intenté cargar amsmath
nada 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 \symbfit
comando 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}
NewCM-Book, la fuente que fontsetup
establece 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=bold
hasta donde yo sé. Pero se proporcionan muchos caracteres que probablemente necesites. Veresta respuestapara ver qué fuentes tienen boldmath
cobertura.