apa6 クラス ドキュメントで参照タイトルを太字にする (natbib を使用)

apa6 クラス ドキュメントで参照タイトルを太字にする (natbib を使用)

参考文献のタイトルを太字にしたいです。私のMWEは以下の通りです。(およびそれに続く行)をコメントアウトすると、\usepackage{natbib}問題は発生しません。 natbibこれが原因であると仮定すると、以下を追加することを考えました。

\renewcommand{\bibsection}{\textbf{References}}

これを修正するはずですが、変更は行われません。

\documentclass[jou]{apa6} 

\usepackage{natbib} % to change citation/references/bibliography style 
\renewcommand{\bibsection}{\textbf{References}}


\begin{document}

See \cite{smith} and \cite{simpson}

\bibliographystyle{apalike}
\begin{thebibliography}{}

\bibitem[Smith, 2002]{smith}
Smith, F. (2002).
\newblock {\em Title}.
\newblock Publisher Name.

\bibitem[Simpson, 2002]{simpson}
Simspon, P. (2002).
\newblock {\em Title}.
\newblock Publisher Name.

\end{thebibliography}


\end{document}  

これは次のように出力されます:

ここに画像の説明を入力してください

編集/解決策:コメントにリンクされている記事から解決策を見つけましたが、クラスを使用していないため、正確な複製ではなくbook、解決策が少し異なります (リンクされた記事では while を使用しています\bibnameが、使用する必要があります\refname)。とにかく、これが私の問題の解決策です:

\documentclass[jou]{apa6} 

\usepackage{natbib} % to change citation/references/bibliography style 
\AtBeginDocument{\renewcommand{\bibsection}{\section\refname}}


\begin{document}

See \cite{smith} and \cite{simpson}

\bibliographystyle{apalike}
\begin{thebibliography}{}

\bibitem[Smith, 2002]{smith}
Smith, F. (2002).
\newblock {\em Title}.
\newblock Publisher Name.

\bibitem[Simpson, 2002]{simpson}
Simspon, P. (2002).
\newblock {\em Title}.
\newblock Publisher Name.

\end{thebibliography}


\end{document}  

関連情報