将“ibid.”大写,由 \runcite biblatex-chicago 制作

将“ibid.”大写,由 \runcite biblatex-chicago 制作

使用 biblatex-chicago 中的 \runcite 生成时,“id.”大写不正确。

平均能量损失

\documentclass{article}

\usepackage[notes, backend=biber, useibid=true]{biblatex-chicago}
\addbibresource{test.bib}

\begin{document}
\runcite{bakke} is the first use of the citation.

Here is a fake quote, and what happens when I use runcite.
\runcite[306]{bakke}.
% Produces \textit{id.}\ at 306.

Here is a fake quote, and this is what I actually want.
\textit{Id.}\ at 306.


\end{document}
@jurisdiction{bakke,
  journaltitle = {United States Supreme Court Reports},
  title =        {{Regents of the University of California \emph{v.}\ Bakke}}, % I am aware that this is not the "correct" way to do the italics here, but it is the easiest and isn't the focus of this MWE.
  shorttitle =   {Bakke},
  shortjournal = {U.S\adddot},
  date =     1978,
  volume =   438,
  pages =    265
}

答案1

\newrobustcmd*{\Runcite}{\bibsentence\runcite}

解释

文档biblatex\bibsentence写道:“此命令标记一个句子的开始。紧接着此命令的本地化字符串将大写,并且标点符号跟踪器将被重置,即,此命令将隐藏标点符号跟踪器中的所有前面的标点符号并强制大写。”

biblatex定义\Cite

\newrobustcmd*{\Cite}{\bibsentence\cite}

大写版本的\runcite可以有类似的定义。

相关内容