\mathbf 僅允許在數學模式下使用。 ] 在傳記部分

\mathbf 僅允許在數學模式下使用。 ] 在傳記部分

我遇到了以下錯誤,指出“\mathbf 僅允許在數學模式下使用。]”。但是,我在本節中沒有找到任何使用 \mathbf 的地方。

\begin{singlespace}
    % increase penalty such that we don't break entries over pages
    % source: https://tex.stackexchange.com/a/43275
    \patchcmd{\bibsetup}{\interlinepenalty=5000}{\interlinepenalty=10000}{}{}
    
    % reduce spacing between each bibentry
    \setlength\bibitemsep{0.9\baselineskip}
    
    % don't justify-align entries: this prevents stretching out each line
    \raggedright
    \printbibliography[
    heading = none
    ]
\end{singlespace}

我正在使用 Biber,我的設定是

\usepackage[
  backend     = biber,
  doi         = true,
  hyperref    = true,
  maxbibnames = 99,
  sortlocale  = en_US,
  style       = numeric,
  bibencoding = utf8,
]{biblatex}

有人對此有什麼想法嗎?謝謝!

相關內容