kks32 / phd-thesis-template

A LaTeX / XeLaTeX / LuaLaTeX PhD thesis template for Cambridge University Engineering Department (CUED)
http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle/
MIT License
834 stars 399 forks source link

Custombib option #142

Closed George11235 closed 7 years ago

George11235 commented 7 years ago

Hi there I am new to LaTeX (so this template has been a huge help, thanks!) so this might be me making a silly mistake but I want to use the custombib option because I'd like my citations still as numbers but as superscripts. I put 'custombib' in the document class and then add super to the preamble document

\RequirePackage[super]{natbib}

But it doesn't seem to work. I've found an error that says Class PhDThesisPSnPDF Warning: Bibliography selection conflict: A bibliography style has already been specified. Please check the document class options in case you have defined two bibliographic styles. on input line 238.

This then directs me to the cls document % Process options and load class \ProcessOptions\relax% \LoadClass{book}%

Not sure how to fix this... any help would be appreciated! :)

johannesbottcher commented 7 years ago

Do not change anything and add the following line at the very top (that is *before \documentclass)

\PassOptionsToPackage{super}{natbib}
George11235 commented 7 years ago

Seems to be working! Many thanks!! :)