
行為:使用 biblatex 的字母的風格上,我引用的是 2010 年的「Mr. Stark」和「Stack Exchange Inc.」。
問題: 讀者不知道我引用了誰。
期望的行為:我想要不同的參考符號,例如 [Sta10a] 和 [Sta10b]。 (這實際上在同一作者的情況下有效,但在作者不同的情況下則無效。)
任何提示都將受到高度讚賞。謝謝你!
例子:
\documentclass{article}
\usepackage[style=alphabetic]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{same_but_different.bib}
@misc{A, author = {{Stack Exchange Inc.}}, year = {2010}}
@misc{B, author = {Starck, Erik}, year = {2010}}
}
\end{filecontents}
\bibliography{same_but_different}
\begin{document}
\emph{Stark} claims something \cite{A} to which \emph{Stack Exchange} cannot agree \cite{B}.
Unfortunately, they get the same citition symbol.
\printbibliography
\end{document}
結果:
答案1
使用biber
代替bibtex
你可以輕鬆做到這一點:
\usepackage[
backend=biber,
style=alphabetic,
uniquename=true
]{biblatex}
其他可能的值uniquename
在biblatex 文檔。
此選項僅適用於 biber,不適用於 bibtex。切換很簡單,你現在調用的地方bibtex.exe
,將其替換為biber.exe
。那麼你的編譯過程將會是pdflatex
, biber
, pdflatex
。更詳細的說明在這裡:如何使用比伯和切換到 biblatex 需要做什麼。
答案2
根據biblatex
文檔,您可以使用 ashorthand
覆蓋預設標籤,並在此處幫助 biblatex 。
@misc{A, shorthand = {Sta10a}, author = {{Stack Exchange Inc.}}, year = {2010}}
@misc{B, shorthand = {Sta10b}, author = {Starck, Erik}, year = {2010}}