是否可以选择从我的参考书目中引用标题apacite
?
我找到了问题如何获取引文的标题?这正是我想问的问题,但它不适用于apacite
。我收到多条有关我的引文的错误消息,这些消息符合apacite
但与 不兼容biblatex
(我认为)。
Package biblatex error: '\bibliographystyle' invalid
在上述问题中提出了两个选项,均具有biblatex
:
\citetitle{}
\citefield{}
因为我喜欢 的格式,所以apacite
我不想改用biblatex
。有没有其他方法可以引用 标题apacite
?
我的代码:
\documentclass[a4paper, 10pt]{book}
\usepackage{apacite}
\usepackage{biblatex}
\begin{document}
"Some text"
\bibliography{library}
\bibliographystyle{apacite}
\end{document}
答案1
使用apacite
(以及其他没有自己\citetitle
等效解决方案的基于 BibTeX 的解决方案),您可以使用 egreg 的usebib
包裹及其\usebibentry{<key>}{<field>}
命令
\documentclass[a4paper, 10pt]{book}
\usepackage{apacite}
\usepackage{usebib}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{sigfridsson,
author = {Sigfridsson, Emma and Ryde, Ulf},
title = {Comparison of methods for deriving atomic charges from the
electrostatic potential and moments},
journal = {Journal of Computational Chemistry},
year = 1998,
volume = 19,
number = 4,
pages = {377-395},
doi = {10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P},
}
\end{filecontents}
\bibinput{\jobname}
\begin{document}
Lorem \cite{sigfridsson}
\usebibentry{sigfridsson}{title}
\bibliographystyle{apacite}
\bibliography{\jobname}
\end{document}
但也有 APA 格式biblatex
,biblatex-apa
,所以你可以说
\documentclass[a4paper, 10pt]{book}
\usepackage[style=apa]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{sigfridsson,
author = {Sigfridsson, Emma and Ryde, Ulf},
title = {Comparison of methods for deriving atomic charges from the
electrostatic potential and moments},
journal = {Journal of Computational Chemistry},
year = 1998,
volume = 19,
number = 4,
pages = {377-395},
doi = {10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
Lorem \autocite{sigfridsson}
\citetitle{sigfridsson}
\printbibliography[heading=subbibliography]
\end{document}