如何使用 apacite 书目样式在期刊和卷号后以斜体显示逗号?

如何使用 apacite 书目样式在期刊和卷号后以斜体显示逗号?

在 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来设置journalvolumenumber的样式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}

斜体期刊和斜体卷号后面的逗号也用斜体表示。

如果您使用biblatexbiblatex-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}

相关内容