Skip to content

Instantly share code, notes, and snippets.

@edwardtoday
Created March 12, 2013 15:14
Show Gist options
  • Save edwardtoday/5143749 to your computer and use it in GitHub Desktop.
Save edwardtoday/5143749 to your computer and use it in GitHub Desktop.
\renewcommand*{\bibname}{References}
\makeatletter
\renewenvironment{thebibliography}[1]{
\clearpage
\ifdefined\phantomsection
\phantomsection
\else
\fi
\addcontentsline{toc}{chapter}{\bibname}
\vspace*{-12pt}
\begin{doublespace}
{\subsectionsize\bfseries \bibname}
\end{doublespace}
\vspace*{6pt}
\onehalfspacing
\@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}%
\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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment