# How to make \bibname to \LARGE?

I wanna make \bibname to \LARGE References. But when I use

\documentclass[a4paper, 11pt, oneside]{memoir}

\renewcommand{\bibname}{\LARGE References}

\begin{document}

\tableofcontents

\chapter{first chapter}
\section{first section}

\nocite{*}
\bibliographystyle{unsrt}
\bibliography{sample}

\end{document}

then bibliography changes successfully. However, bibliography in contents changes \LARGE size too. How can I fix it to normal size?

• Welcome to TeX.se. The \bibname macro is just that: the name of the reference list. It should not have any formatting inside it (as you have discovered.) What documentclass are you using? And what package are you using to produce the bibliography? – Alan Munn Jul 3 at 2:29
• I'm using memoir class – Park Jul 3 at 4:33
• Please look at the new answer added by esdd and consider changing your your accept vote. That answer shows the correct way to do things. – Alan Munn Jul 3 at 15:08

## 2 Answers

Do not use a fontsize command in the redefinition of \bibname. Maybe its used at another place in the document.

With memoir class you can redefine \bibsection to get the desired reference header:

\documentclass[a4paper, 11pt, oneside]{memoir}
\bibliographystyle{unsrt}
\renewcommand*{\bibname}{Reference}
\renewcommand{\bibsection}{%
\let\origchaptitlefont\chaptitlefont
\renewcommand*\chaptitlefont{\origchaptitlefont\LARGE}%
\chapter*{\bibname}
\bibmark
\ifnobibintoc\else
\phantomsection
\addcontentsline{toc}{chapter}{\bibname}
\fi
\prebibhook
}

\begin{document}
\tableofcontents
\chapter{first chapter}
\section{first section}
\nocite{*}
\bibliography{sample}
\end{document}

• +1 (more if I could) :). This should be the accepted answer to this question. – Alan Munn Jul 3 at 15:07

Hope the below codes helps you to meet your requirement:

\documentclass[a4paper, 11pt, oneside]{memoir}

\begin{document}
\tableofcontents

\chapter{first chapter}
\section{first section}

\nocite{*}
\bibliographystyle{unsrt}
\renewcommand{\bibname}{\LARGE References}
\nobibintoc% this trick helps not to include reference head in TOC by auto
\addcontentsline{toc}{chapter}{References}%%added the reference head in TOC
\bibliography{sample}

\end{document}
• Thank you for answer. – Park Jul 3 at 5:12
• The page number of the bibliography in TOC is wrong. – esdd Jul 3 at 14:30