
\boldsymbol
どうやって通勤すればいいですか?fontsetup
パッケージ?
LuaLaTeX なし、\usepackage{fontsetup}
あり\usepackage{amsmath}
:
LuaLaTeX と\usepackage{fontsetup}
:
次のコードを使用しています:
\documentclass{article}
\usepackage{fontsetup}
\begin{document}
$x$ and $\boldsymbol{x}$
\end{document}
amsmath
前後ともまったく読み込まない状態で試してみましたがfontsetup
、何も機能しませんでした。
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.
答え1
コマンドを使用する\symbfit
と、Unicode ブロックで定義されている太字斜体数式を取得できます。
\documentclass{article}
\usepackage{fontsetup}
\begin{document}
\(x\) and \(\symbfit{x}\)
\end{document}
NewCM-Bookは、デフォルトで設定されているフォントfontsetup
で、ギリシャ語とラテン語の大文字と小文字のセリフ太字、斜体、太字斜体文字がすべて含まれています。このドキュメントすべての Unicode 数学記号に対応しています。
version=bold
私の知る限り、New Computer Modern Mathは数学をサポートしていません。しかし、おそらく必要な多くの文字が提供されています。この答えどのフォントがboldmath
カバーされているかを確認します。