我尝试查看有关此内容的文档,但却一无所获。
MWE(灵感来自这):
\documentclass{memoir}
\begin{filecontents}{MWE.bib}
@book{key,
author = {Super, Max},
title = {The Title of the Book},
publisher = {Foo Books},
year = {2016},
note = {my note},
}
\end{filecontents}
\usepackage[backend=biber]{biblatex-chicago}
\addbibresource{MWE.bib}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
这给了我:
我正在寻找的是:
\ldots{}
帮助?
答案1
在这种情况下添加换行符的最简单方法之一是将换行符添加到“notes”的开头。
以下定义仅适用于书籍:
\DeclareFieldFormat[book]{note}{\newline%
\ifcapital{\MakeCapital{#1}}{#1}}%
以下定义将适用于所有注释:
\DeclareFieldFormat{note}{\newline%
\ifcapital{\MakeCapital{#1}}{#1}}%
您可以将此定义添加到您的 MWE,如下所示:
\documentclass{memoir}
\begin{filecontents}{MWE.bib}
@book{key,
author = {Super, Max},
title = {The Title of the Book},
publisher = {Foo Books},
year = {2016},
note = {my note},
}
\end{filecontents}
\usepackage[backend=biber]{biblatex-chicago}
\DeclareFieldFormat[book]{note}{\newline%
\ifcapital{\MakeCapital{#1}}{#1}}%
\addbibresource{MWE.bib}
\begin{document}
\nocite{*}
\printbibliography
\end{document}