
参考文献からタイトルを引用するオプションはありますかapacite
?
質問を見つけました引用のタイトルを取得するにはどうすればいいですか?これはまさに私が考えていた質問ですが、 では機能しませんでした。に従っているが と互換性がない(と推測します)apacite
という引用に関する複数のエラー メッセージを受け取ります。apacite
biblatex
Package biblatex error: '\bibliographystyle' invalid
上記の質問では、2 つのオプションが提案されましたが、どちらも次のとおりです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
(および同等のものを持たない他のBibTeXベースのソリューション)では\citetitle
、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}