[Tex/LaTex] Parentheses in thebibliography environment

bibliographiesbrackets

I want to change the default square brackets in the entries of the thebibliography environment to parentheses.

Sample:

% sample.tex

\documentclass{article}

\begin{document}
\pagestyle{empty}
\begin{thebibliography}{99}
\bibitem[Sample]{Sample} Sample.
\end{thebibliography}

\end{document}

The output is:

enter image description here

but I want:

(Sample) Sample

Is it possible to change it in "thebibliography" environment?

Best Answer

For the standard classes you have to change the internal command \@biblabel as follows:

\documentclass{article}

\makeatletter
\def\@biblabel#1{(#1)}
\makeatother

\begin{document}
\pagestyle{empty}
\begin{thebibliography}{99}
\bibitem[Sample]{Sample} Sample.
\end{thebibliography}

\end{document}
Related Question