# Bibtitlestyle font change [closed]

I am trying to modify the amsart.cls in order to get the same font as for Part.

Inside the class definition there are a few lines that define the bibiliography title style

\newcommand{\@bibtitlestyle}{%
\@xp\section\@xp*\@xp{\refname}%
}


However, if I change section with part there is no change. I am wondering if there is a solution to make the bibliography take the font style for the Part heading?

An alternative would be to give up any parts in the paper and start with sections only, but I would rather have the first solution if possible.

-
Welcome to TeX.sx! A tip: You can use backticks  to mark your inline code as I did in my edit. Usually, we don't put a greeting or a "thank you" in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Upvoting is the preferred way here to say "thank you" to users who helped you. – Kurt Nov 2 '12 at 21:39
Changing \section to \part works for me if I enclose the command redefinition within \makeatletter/\makeatother. See tex.stackexchange.com/questions/8351/… – lockstep Nov 2 '12 at 21:41
Don't change anything in the file amsart.cls (modifying original files is a bad idea). Instead, in your actual document add the following before \begin{document}: \makeatletter\renewcommand{\@bibtitlestyle}{\@xp\part\@xp*\@xp{\refname}}\makea‌​tother – lockstep Nov 2 '12 at 21:50
So, does it work now? – lockstep Nov 2 '12 at 21:58