[Tex/LaTex] Citing author name or year without natbib or biblatex

citing

My university's thesis class breaks when using natbib/biblatex. It breaks all \chapter*{name} commands so that they make a chapter called * with text name in their body. Using \bibliography{myRefs} with natbib gives me a screwed up chapter name (*). Using \printbibliography with biblatex does the same.

Is there an easy way to get the author name or year out of a citation without using either of those packages?

I'd happily roll my own \citeauthoryear and \citep commands if it's possible. I don't know TeX well enough to change the class file to avoid that behaviour.

Best Answer

You can copy the code the class uses for the references in a new bibheading style for biblatex:

\documentclass[Chicago]{uuthesis2e}

\usepackage{biblatex}
\addbibresource{biblatex-examples.bib}

\defbibheading{uuthesis2e}{%
  \newpage
  \thispagestyle{empty}%
  \addcontentsline{toc}{chapter}{REFERENCES}%
% Switch singlespace to after the heading gets printed.
  \mainheading{REFERENCES}%
  \par\removelastskip\singlespace\par\removelastskip% GBG Oct 1993
  \fixmainheadingSKIP
}


\begin{document}

\chapter{usual chapter}

In \citeyear{companion} some nice guys wrote
\citetitle{companion}~\cite{companion}.
Something else \cite{aristotle:physics}.

\printbibliography[heading=uuthesis2e]

\end{document}

enter image description here

enter image description here

Similarly for natbib:

\usepackage{natbib}
\providecommand\newblock{}
\renewcommand{\bibsection}{%
  \newpage
  \thispagestyle{empty}%
  \addcontentsline{toc}{chapter}{REFERENCES}%
% Switch singlespace to after the heading gets printed.
  \mainheading{REFERENCES}%
  \par\removelastskip\singlespace\par\removelastskip% GBG Oct 1993
  \fixmainheadingSKIP
}
Related Question