[latexusersgroup] Change font size of "References"

9,175 views
Skip to first unread message

Up

unread,
May 24, 2010, 2:49:05 PM5/24/10
to LaTeX Users Group
After I compile

\footnotesize\bibliographystyle{nature}
\bibliography{UpRef}%

There is a heading text "References" with 14pt size. However the
submission guidelines says this has to be 10pt...

--
You received this message because you are subscribed to the Google Groups "LaTeX Users Group" group.
To post to this group, send email to latexus...@googlegroups.com.
To unsubscribe from this group, send email to latexusersgro...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/latexusersgroup?hl=en.

Peter Flynn

unread,
May 24, 2010, 5:00:20 PM5/24/10
to latexus...@googlegroups.com
On Mon, May 24, 2010 at 7:49 PM, Up <guo...@gmail.com> wrote:
After I compile

\footnotesize\bibliographystyle{nature}
\bibliography{UpRef}%

There is a heading text "References" with 14pt size. However the
submission guidelines says this has to be 10pt...

There is probably a package to do this but I'm away from base and I don't know offhand which one it is. If there is, use it instead of the method below.

In article.cls, the value of \refname is reproduced as a section heading in the definition of thebibliography, so that's where it needs changing.

To do that, you need to copy the definition of the thebibliography environment into your Preamble (or personal style file) and make it say \renewenvironment instead, then change the \section to \subsubsection, which will give you \normalsize type (the same size as your text) with suitable spacing.

\makeatletter
\renewenvironment{thebibliography}[1]

     {\subsubsection*{\refname}%
      \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
      \list{\@biblabel{\@arabic\c@enumiv}}%
           {\settowidth\labelwidth{\@biblabel{#1}}%
            \leftmargin\labelwidth
            \advance\leftmargin\labelsep
            \@openbib@code
            \usecounter{enumiv}%
            \let\p@enumiv\@empty
            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
      \sloppy
      \clubpenalty4000
      \@clubpenalty \clubpenalty
      \widowpenalty4000%
      \sfcode`\.\@m}
     {\def\@noitemerr
       {\@latex@warning{Empty `thebibliography' environment}}%
      \endlist}
\makeatother

It will still be in bold, though. If you need it in the normal series font, you can put that in a redefinition of \refname;

\renewcommand{\refname}{\fontseries{m}\selectfont References}

You shouldn't try changing font size that way, though, because unless you redefine the thebibliography environment, you'll still get a \section's worth of vertical white-space, which is probably wrong if they want the References in the default body size.

///Peter

Up

unread,
Jun 16, 2010, 7:34:58 PM6/16/10
to LaTeX Users Group
Thanks a lot! It works!

great day!

On May 24, 2:00 pm, Peter Flynn <anglebrac...@gmail.com> wrote:
> On Mon, May 24, 2010 at 7:49 PM, Up <guoy...@gmail.com> wrote:
> > After I compile
>
> > \footnotesize\bibliographystyle{nature}
> > \bibliography{UpRef}%
>
> > There is a heading text "References" with 14pt size. However the
> > submission guidelines says this has to be 10pt...
>
> *There is probably a package to do this but I'm away from base and I don't
> know offhand which one it is. If there is, use it instead of the method
> below.*
>
> In article.cls, the value of \refname is reproduced as a section heading in
> the definition of thebibliography, so that's where it needs changing.
>
> To do that, you need to copy the definition of the
> thebibliographyenvironment into your Preamble (or personal style file)
> You shouldn't try changing font *size* that way, though, because unless you
Reply all
Reply to author
Forward
0 new messages