![如何使用 apacite 书目样式在期刊和卷号后以斜体显示逗号?](https://linux22.com/image/391266/%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%20apacite%20%E4%B9%A6%E7%9B%AE%E6%A0%B7%E5%BC%8F%E5%9C%A8%E6%9C%9F%E5%88%8A%E5%92%8C%E5%8D%B7%E5%8F%B7%E5%90%8E%E4%BB%A5%E6%96%9C%E4%BD%93%E6%98%BE%E7%A4%BA%E9%80%97%E5%8F%B7%EF%BC%9F.png)
在 APA6 格式中,参考文献列表中期刊名称和卷号(如果没有期号)后面的逗号应为斜体。但是,基本 apacite 软件包并不处理这个问题...我该如何更改?
我的text
文件如下所示:
\documentclass[a4paper,man,apacite]{apa6}
\input{preamble}
\input{firstpage}
\begin{document}
\maketitle
\bibliography{references}
\end{document}
我的bib
文件如下所示:
@article{homan1987cerebral,
title={Cerebral location of international 10--20 system electrode placement},
author={Homan, Richard W and Herman, John and Purdy, Phillip},
doi={10.1016/0013-4694(87)90206-9},
journal={Electroencephalography and Clinical Neurophysiology},
volume={66},
number={4},
pages={376--382},
year={1987},
publisher={Elsevier}
}
@article{tak2013statistical,
title={Statistical analysis of fNIRS data: a comprehensive review},
author={Tak, Sungho and Ye, Jong Chul},
doi={10.1016/j.neuroimage.2013.06.016},
journal={Neuroimage},
volume={85},
pages={72--91},
year={2013},
publisher={Elsevier}
}
如果有人能帮助我,那就太好了,因为这让我发疯了!
答案1
apacite
使用宏\APACjournalVolNumPages
来设置journal
、volume
和number
的样式pages
。
以下重新定义应该有效
\documentclass[a4paper,man,apacite]{apa6}
\makeatletter
\renewcommand{\APACjournalVolNumPages}[4]{%
\Bem{#1%
\ifx\@empty#2#3#4\@empty
\else
,
\fi
}% journal
\ifx\@empty#2\@empty
\else
\Bem{#2%
\ifx\@empty#3\@empty
,
\else
\fi
}% volume
\fi
\ifx\@empty#3\@empty
\else
\unskip({#3}), % issue number
\fi
\ifx\@empty#4\@empty
\else
{#4}% pages
\fi
}
\makeatother
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{homan1987cerebral,
title = {Cerebral Location of International 10--20 System Electrode Placement},
author = {Homan, Richard W. and Herman, John and Purdy, Phillip},
doi = {10.1016/0013-4694(87)90206-9},
journal = {Electroencephalography and Clinical Neurophysiology},
volume = {66},
number = {4},
pages = {376--382},
year = {1987},
}
@article{tak2013statistical,
title = {Statistical Analysis of {fNIRS} Data: A Comprehensive Review},
author = {Tak, Sungho and Ye, Jong Chul},
doi = {10.1016/j.neuroimage.2013.06.016},
journal = {Neuroimage},
volume = {85},
pages = {72--91},
year = {2013},
}
\end{filecontents}
\shorttitle{Lorem}
\begin{document}
\nocite{*}
\bibliography{\jobname}
\end{document}
如果您使用biblatex
(biblatex-apa
),则需要设置该punctfont
选项。
\documentclass[a4paper,man,biblatex]{apa6}
\ExecuteBibliographyOptions{punctfont}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{homan1987cerebral,
title = {Cerebral Location of International 10--20 System Electrode Placement},
author = {Homan, Richard W. and Herman, John and Purdy, Phillip},
doi = {10.1016/0013-4694(87)90206-9},
journal = {Electroencephalography and Clinical Neurophysiology},
volume = {66},
number = {4},
pages = {376--382},
year = {1987},
}
@article{tak2013statistical,
title = {Statistical Analysis of {fNIRS} Data: A Comprehensive Review},
author = {Tak, Sungho and Ye, Jong Chul},
doi = {10.1016/j.neuroimage.2013.06.016},
journal = {Neuroimage},
volume = {85},
pages = {72--91},
year = {2013},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\shorttitle{Lorem}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
或者更明确地说,如果biblatex
没有通过文档类加载
\usepackage[backend=biber, style=apa, punctfont]{biblatex}