
該amsrefs
包的shortalphabetic
風格與 類似,alphabetic
但更簡潔(例如,排除年份)。有什麼辦法可以做到這一點嗎biblatex
?
目前,我有
\usepackage[style=alphabetic, backref=true, backend=biber, hyperref=true, giveninits=true]{biblatex}
對於 .bib 文件,我有
@article{ben-zvi_character_2009,
archivePrefix = {arXiv},
eprinttype = {arxiv},
eprint = {0904.1247},
primaryClass = {math},
date = {2009-04-07},
keywords = {Geometric Satake,Representation theory,Geometric reps,Trace},
author = {Ben-Zvi, David and Nadler, David}
}
@article{ben-zvi_integral_2010,
langid = {american},
title = {Integral Transforms and {{Drinfeld}} Centers in Derived Algebraic Geometry},
volume = {23},
issn = {0894-0347, 1088-6834},
doi = {10.1090/S0894-0347-10-00669-7},
number = {4},
journaltitle = {Journal of the American Mathematical Society},
shortjournal = {J. Amer. Math. Soc.},
date = {2010},
pages = {909-966},
keywords = {DAG,Trace},
author = {Ben-Zvi, David and Francis, John and Nadler, David}
}
參考書目會像這樣
但如果amsrefs
與shortalphabetic
選項一起使用
\usepackage[shortalphabetic]{amsrefs}
參考書目將成為
我喜歡第二種風格 ( ) 的主要一點amsrefs
是鍵(例如 [BZFN]、[BZN])不包含年份。如果能夠biblatex
生產 [BFN] 和 [BN] 而不是 [BFN10] 和 [BN09],那就太好了。
謝謝!
答案1
如果這只是關於字母標籤,您將需要看看\DeclareLabelalphaTemplate
。以下內容採用 的樣式biblatex
的預設定義alphabetic
,並從年份中刪除兩位數字。
也可以看看biblatex
§4.5.5文檔標籤,第 198-206 頁。
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[style=alphabetic, backref=true, backend=biber, giveninits=true]{biblatex}
\addbibresource{biblatex-examples.bib}
\DeclareLabelalphaTemplate{
\labelelement{
\field[final]{shorthand}
\field{label}
\field[strwidth=3,strside=left,ifnames=1]{labelname}
\field[strwidth=1,strside=left]{labelname}
}
}
\begin{document}
\cite{sigfridsson,companion}
\printbibliography
\end{document}