我正在使用 APA 风格的 Biblatex,我想更改“会议记录”参考文献的显示方式,从
作者(年份)。标题。诉讼程序(第 AB 页)
到
作者(年份)。标题。诉讼程序, 第 AB 页
因为我要投稿的期刊要求这种风格。有什么想法吗?
编辑:
这是 MWE。
test.tex
\documentclass{article}
\usepackage[style=apa,backend=biber]{biblatex}
\DeclareLanguageMapping{english}{english-apa}
\bibliography{test}
\begin{document}
\cite{twitter}
\printbibliography
\end{document}
test.bib
@inproceedings{twitter,
author = {Kwak, Haewoon and Lee, Changhyun and Park, Hosung and Moon, Sue},
title = {What is {Twitter}, a Social Network or a News Media?},
booktitle = {{International World Wide Web Conference}},
year = {2010},
pages = {591--600},
}
我假设会议录条目仅包含author
、、、和字段,就像在 MWE 中一样title
。booktitle
year
pages
答案1
假设你仍然希望将可能出现在同一对括号中的所有其他信息放在括号中,那么就使用
\documentclass[british]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber,style=apa]{biblatex}
\DeclareLanguageMapping{british}{british-apa}
\addbibresource{biblatex-examples.bib}
\renewbibmacro*{addinfo}{%
\ifthenelse{\iffieldundef{edition}\AND%
\iffieldundef{chapter}\AND%
\iffieldundef{volumes}\AND%
\iffieldundef{number}\AND%
\(\iffieldundef{volume}\OR\boolean{bbx:volseen}\)}
{}
{\printtext{\bibopenparen}%
\printfield{edition}%
\setunit*{\addcomma\addspace}%
\printfield{chapter}%
\setunit*{\addcomma\addspace}%
\notbool{bbx:volseen}%
{\iffieldundef{volume}{}{\global\booltrue{bbx:volseen}}%
\printfield{volume}%
\iffieldundef{part}{}{\printfield{part}}}{}%
\setunit*{\addcomma\addspace}%
\printfield{number}%
\setunit*{\addcomma\addspace}%
\printfield{volumes}%
\setunit{}%
\printtext{\bibcloseparen}%
\newunit}
\setunit{\addcomma\addspace}%
\printfield{pages}}
\begin{document}
\cite{sigfridsson,moraux,salam}
\printbibliography
\end{document}
这只是将页面打印移到括号外面。