在 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,因此解決方案略有不同(鏈接的文章使用\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}  

相關內容