大寫“同上”。由 \runcite biblatex-chicago 製作

大寫“同上”。由 \runcite biblatex-chicago 製作

“ID。”使用 biblatex-chicago 的 \runcite 產生時,大小寫不正確。

微量元素

\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可以類似地定義。

相關內容