biblatex 参考文献中标题末尾的标点符号

biblatex 参考文献中标题末尾的标点符号

如何删除书名末尾的句号,并在文章标题末尾添加逗号?这就是我正在处理的事情:

\documentclass{article}
\usepackage[style=authoryear]{biblatex}
\addbibresource{\jobname.bib}
\begin{filecontents}{\jobname.bib}
@book{mhra2013,
    Address = {London},
    Author = {{Modern Humanities Research Association}},
    Publisher = {Modern Humanities Research Association},
    Title = {{MHRA} style guide: A handbook for authors and editors},
    Year = {2013},
}

@article{wage2012,
    Author = {Eric-Jan Wagenmakers and Ruud Wetzels and Denny Borsboom and Han L. J. van der Maas, and Rogier A. Kievit},
    Journal = {Perspectives on psychological science},
    Number = {6},
    Pages = {632-638},
    Title = {An agenda for purely confirmatory research},
    Volume = {7},
    Year = {2012},
}
\end{filecontents}
\begin{document}
\cite{mhra2013} \cite{wage2012}
\printbibliography
\end{document}

这是它当前产生的效果;我想要更改的部分已突出显示。在此处输入图片描述

答案1

\documentclass{article}
\usepackage[style=authoryear]{biblatex}
\addbibresource{\jobname.bib}
\begin{filecontents}{\jobname.bib}
    @book{mhra2013,
        Address = {London},
        Author = {{Modern Humanities Research Association}},
        Publisher = {Modern Humanities Research Association},
        Title = {{MHRA} style guide: A handbook for authors and editors},
        Year = {2013},
    }

    @article{wage2012,
        Author = {Eric-Jan Wagenmakers and Ruud Wetzels and Denny Borsboom and Han L. J. van der Maas, and Rogier A. Kievit},
        Journal = {Perspectives on psychological science},
        Number = {6},
        Pages = {632-638},
        Title = {An agenda for purely confirmatory research},
        Volume = {7},
        Year = {2012},
    }
\end{filecontents}

\DeclareFieldFormat[article]{title}{#1\addcomma}
\DeclareFieldFormat[book]{title}{#1\nopunct}

\begin{document}
    \cite{mhra2013} \cite{wage2012}
    \printbibliography
\end{document}

在此处输入图片描述

相关内容