我采用的格式/想法来自在此处输入链接描述
我的格式是:
参考自这里:在此处输入链接描述
@incollection{deborah123,
author = "Deborah Lewis and Marie O'Boyle-Duggan and Susan Poultney",
title = "Communication skills education and training in pre-registeration BSc Nursing",
editor = "David W. Kissane and Barry D. Bultz and Phyllis N. Butow and Carma L. Bylund and Simon Noble and Susie Wilkinson",
booktitle = "Oxford Textbook of Communication in Oncology and Palliative Care",
publisher = "Oxford University Press",
address = "Oxford",
year = 2017,
pages = "149-154",
Edition = "2nd edn"
}
输出:
但是,我希望输出的是书籍作者在前,然后只有书名,如下所示:
Lewis, D., O'Boyle-Duggan, M. and Poultney, S. (2017) Communication skills education and training in pre-registration BSc Nursing. In: D. W. Kissane, B. D. Bultz, P. N. Butow, C. L. Bylund, S. Noble and S. Wilkinson, eds. Oxford Textbook of Communication in Oncology and Palliative Care. 2nd edn. Oxford: Oxford University Press, pp. 149-154.
我的完整 MWE:
\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}
@incollection{deborah123,
author = "Deborah Lewis and Marie O'Boyle-Duggan and Susan Poultney",
title = "Communication skills education and training in pre-registeration BSc Nursing",
editor = "David W. Kissane and Barry D. Bultz and Phyllis N. Butow and Carma L. Bylund and Simon Noble and Susie Wilkinson",
booktitle = "Oxford Textbook of Communication in Oncology and Palliative Care",
publisher = "Oxford University Press",
address = "Oxford",
year = 2017,
pages = "149-154",
Edition = "2nd edn"
}
\end{filecontents}
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber,
% style=authoryear,
style=authoryear-comp,
% citestyle=authoryear,
dashed=false,
maxcitenames=2,
maxbibnames=99,
giveninits,
uniquename=init]{biblatex}
\addbibresource{\jobname.bib} % \jobname to use the bib file created with filecontents
\DeclareNameAlias{sortname}{family-given}
\DeclareDelimFormat{nameyeardelim}{\addcomma\space}
\usepackage[unicode,colorlinks,citecolor=blue]{hyperref}
% \renewcommand*{\nameyeardelim}{\addcomma\space}
\renewcommand{\compcitedelim}{\space\&\space}
\begin{document}
A book is done \parencite{deborah123}.
\printbibliography
\end{document}
答案1
我建议您使用ext-authoryear-comp
样式,它有一个选项可以执行此操作。ext-authoryear-comp
是 的替代品,authoryear-comp
但具有额外的功能。该选项称为innamebeforetitle
。biblatex-ext
有关详细信息,请参阅手册。
另外,edition = {2nd edn}
您不需要放入 bib 文件,而只需使用edition = {2}
并更改字符串edition
,如下所示:
\DefineBibliographyStrings{british}{%
edition = {edn},
}
平均能量损失
\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}
@incollection{deborah123,
author = "Deborah Lewis and Marie O'Boyle-Duggan and Susan Poultney",
title = "Communication skills education and training in pre-registeration BSc Nursing",
editor = "David W. Kissane and Barry D. Bultz and Phyllis N. Butow and Carma L. Bylund and Simon Noble and Susie Wilkinson",
booktitle = "Oxford Textbook of Communication in Oncology and Palliative Care",
publisher = "Oxford University Press",
address = "Oxford",
year = 2017,
pages = "149-154",
edition = "2"
}
\end{filecontents}
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber,
style=ext-authoryear-comp,
innamebeforetitle,
dashed=false,
maxcitenames=2,
maxbibnames=99,
giveninits,
uniquename=init]{biblatex}
\addbibresource{\jobname.bib}
\DeclareNameAlias{sortname}{family-given}
\DeclareDelimFormat{nameyeardelim}{\addcomma\space}
\usepackage[unicode,colorlinks,citecolor=blue]{hyperref}
\renewcommand{\compcitedelim}{\space\&\space}
\DefineBibliographyStrings{british}{%
edition = {edn},
}
\begin{document}
A book is done \autocite{deborah123}.
\printbibliography
\end{document}