如何删除书名末尾的句号,并在文章标题末尾添加逗号?这就是我正在处理的事情:
\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}