\documentclass[twoside, a4paper, 11pt]{article}
\usepackage{natbib}
\begin{document}
\bibliographystyle{apa-good}
\bibliography{bibliography}
\end{document}
如何使参考文献列表的节标题加粗、加下划线、全部大写、11 pt 并在其前面加上 C6。例如,当前,节标题为:参考但我希望它是:
编辑:
\documentclass[twoside, a4paper, 9pt]{article}
\usepackage{natbib}
\renewcommand{\refname}{C6.~REFERENCES}
\makeatletter
\renewcommand\bibsection{%
\section*{\underline{\refname}\@mkboth{\MakeUppercase{\refname}}{\MakeUppercase{\refname}}}%
}%
\makeatother
\begin{document}
\underline{\textbf{C1. PROJECT TITLE}}
blkah blah
\underline{\textbf{C2. AIMS AND BACKGROUND}}
blah blah blah
\bibliographystyle{apa-good}
\bibliography{bibliography}
\end{document}
输出为:
当我将字体大小更改为 9pt 时,参考文献的大小不会改变。我知道我应该将其用于\section
章节标题,但我手动创建章节标题是有原因的。那么,如何才能使参考文献标题的大小与我手动创建的标题大小相同呢?
答案1
如果您确定正在使用article
文档类,则只需在序言中添加以下几行即可:
\renewcommand{\refname}{C6.~REFERENCES}
\makeatletter
\renewcommand\bibsection{%
\section*{{\normalsize\underline{\refname}}\@mkboth{\MakeUppercase{\refname}}{\MakeUppercase{\refname}}}%
}%
\makeatother
平均能量损失
\documentclass[twoside, a4paper, 11pt]{article}
\begin{filecontents*}{bibliography.bib}
@article{reference,
author = {F Author and S Author},
journal = {Journal},
title = {Article Title},
year = {2013},
month = {10},
}
\end{filecontents*}
\usepackage{natbib}
\renewcommand{\refname}{C6.~REFERENCES}
\makeatletter
\renewcommand\bibsection{%
\section*{{\normalsize\underline{\refname}}\@mkboth{\MakeUppercase{\refname}}{\MakeUppercase{\refname}}}%
}%
\makeatother
\begin{document}
\nocite{*}
\bibliographystyle{apa-good}
\bibliography{bibliography}
\end{document}
输出:
如果您还想删除间距,请添加\vspace*{-.8\baselineskip}
上述定义,以便拥有
\renewcommand{\refname}{C6.~REFERENCES}
\makeatletter
\renewcommand\bibsection{%
\section*{{\normalsize\underline{\refname}}\@mkboth{\MakeUppercase{\refname}}{\MakeUppercase{\refname}}}\vspace*{-.8\baselineskip}%
}%
\makeatother
输出: