# Removing brackets from the reference [duplicate]

I'm using the amsart class, and the command \begin{thebibliography} for references.

This puts all the enumerations of references in square brackets, and I want to get rid of this.

That is, I want the references to look like

1. ~~
2. ~~


rather than

[1]. ~~
[2]. ~~


How can this be achieved??

-

## marked as duplicate by lockstep, Seamus, percusse, Marco Daniel, diabonasAug 25 '12 at 9:44

Use \def\@biblabel#1{\@ifnotempty{#1}{#1}}. Of course you need makeatletter – Marco Daniel Jul 27 '12 at 15:19
Hmm don't get what that means.. but thanks it just worked for me! – Siyul Jul 27 '12 at 15:23
@MarcoDaniel You should turn this into a proper answer so that Siyul can accept it. – Alan Munn Jul 27 '12 at 15:50
Looks very much like tex.stackexchange.com/questions/14183/… – Joseph Wright Jul 27 '12 at 16:27

The square brackets are added in macro \@cite in class amsart. The following example redefines the macro to omit the brackets.

\documentclass{amsart}

\makeatletter
\CheckCommand*{\@cite}[2]{%
{%
\@citestyle[\citeform{#1}\if@tempswa, #2\fi]%
}%
}
\renewcommand*{\@cite}[2]{%
{%
\@citestyle\citeform{#1}\if@tempswa, #2\fi
}%
}
\makeatother

\begin{document}
References \cite{abc} and \cite{def}.

\begin{thebibliography}{9}
\bibitem{abc} ABC.

\bibitem{def} DEF.

\end{thebibliography}
\end{document}

-