How can I change the “References” to “Reference” in the thebibliography environment?

My problem is that I have only one reference. So I would like the head of this part to appear "Reference" instead of commonly "References". More generally, could we change the title "References" to an arbitrary name?

Thank you very much for your help!

-

It depends on the documentclass.

``````\renewcommand\bibname{Reference}
``````

works for some.

As chl points out. Others use `\refname` instead of `\bibname`.

-
Thank you very much! :-) –  Anand May 5 '11 at 8:30
(+1) Ah, we posted quite at the same time, but you the first :-) I just suggested in addition to replace `\refname` by `\bibname` for a `book`. Feel free to add it to your answer if you like. –  chl May 5 '11 at 8:31
@Ch1, thank you very much for your complements of the answer. :-) –  Anand May 5 '11 at 8:35

It seems `\refname` works fine for me while `\bibname` not.

For TOC, in case you need it, use `\contentsname`

``````\documentclass[10pt,a4paper]{article}
\renewcommand{\contentsname}{whatever}
\renewcommand{\refname}{whatever}
``````
-
Welcome to TeX.SE! To make your answer more usable for others, it would very much help if you indicated which document class you use. (Some document classes use the macro `\bibname`, while others use `\refname`.) –  Mico Jun 29 '14 at 10:45

In my case, I needed to add the following lines:

``````\usepackage[english,portuguese]{babel}
Welcome. When you type some code you can select it and press `ctrl+k` to format as code. –  Sigur May 9 at 16:22