
我的問題是關於實際的引用風格以及如何使用 來表示它\printbibliography
。
在我的文字中,我想引用為:
(作者 X 和作者 Y 年份)
但在我的參考書目中,我希望它顯示為:
姓氏作者 X,名字作者 X(僅首字母 X。),姓氏作者 Y,名字作者 Y(僅首字母 Y。)........
我嘗試了一些方法但沒有成功,例如:
\begin{filecontents}{\jobname.bib}
@article{wombat2016,
author = {Walther Wombat and Klaus Koala},
title = {The true meaning of 42},
journal = {Journal of modern skepticism},
date = {2016},
keywords = {trusted},
}
@book{lion2010,
author = {Laura Lion and Gabrielle Giraffe and Carl Capybara},
title = {The dangers of asking the wrong question},
publisher = {publishing house},
date = {2010},
keywords = {trusted},
}
\end{filecontents}
\documentclass{article}
\usepackage[backend=bibtex,style=authoryear,citetracker=true,mincitenames=2,giveninits=true,maxbibnames=99,dashed=false,isbn=false,url=false,urldate=comp,natbib=true]{biblatex}
\addbibresource{\jobname.bib}
\begin{document}
All we know is limited, apart from knowing the answer we all know. Or do we? Wombat and Koala have discovered some interesting things~\parencite{wombat2016}.
Some people are too nosy. What can happen to them is described by Laura Lion~\cite[9]{lion2010}.
\printbibliography
\end{document}
答案1
\DeclareNameAlias{sortname}{family-given}
將參考書目中的名稱順序改為「姓,名」。與giveninits=true
你一起得到“最後,F.”。
\DeclareDelimFormat{finalnamedelim}{\addspace\&\space}
\DeclareDelimFormat[bib,biblist]{finalnamedelim}{\addcomma\space}
在引文中給予“&”,在參考書目中給出“,”。
如果您希望姓氏使用小寫字母,請使用
\renewcommand*{\mkbibnamefamily}{\textsc}
微量元素
\documentclass{article}
\usepackage[style=authoryear, mincitenames=2, giveninits=true, maxbibnames=99, dashed=false, uniquename=init]{biblatex}
\addbibresource{biblatex-examples.bib}
\DeclareNameAlias{sortname}{family-given}
\DeclareDelimFormat{finalnamedelim}{\addspace\&\space}
\DeclareDelimFormat[bib,biblist]{finalnamedelim}{\addcomma\space}
\renewcommand*{\mkbibnamefamily}{\textsc}
\begin{document}
\cite[123]{sigfridsson}
\cite[9]{companion}
\printbibliography
\end{document}