BibTeX, biblatex and biberHarvard citation style in a share latex template

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
Izzy Soleman
Posts: 1
Joined: Tue Nov 15, 2016 2:16 pm

Harvard citation style in a share latex template

Post by Izzy Soleman »

Hi Guys,

I am very new to latex. I am using share latex template to write my PhD thesis. The template has a default numerical citation style eg: Text sample [1]. My department requires me to use the Harvard citation style (Blogs, 2011) or (Bloggs, Smith & Harry, 2001) etc. The bibliography would then need to be in alphabetic order.

The README.md file says: `PhDThesisPSnPDF` currently supports two styles `authoryear` and `numbered (default). Citation style has to be set. You can also specify `custombib` style and customise the bibliography'.

Q1: Is 'authoryear' the same as the Harvard reference style or do I need to do the custombib?

Q2: How do I turn of the numerical style and switch on the 'authoryear' style or how do I adjust custombib to show me the Harvard style?
Which directory is this information stored in (I am confused about changing things in preamble and/or class).


Many thanks in advance.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Harvard citation style in a share latex template

Post by Johannes_B »

Welcome, yes, Harvard style is just another word for author-year citations. Your advisor might tell you that Harvard is something very special, with a dot here and colon here, and absolutely no semicolon there. Send him/her my regards, it is rubbish.

Add custombib to you global optios and go to the file preamble.tex in the Preamble folder. Go to line 120 (or something) and look at the advice given. Place percent signs to the upper part and remove the percent signs from the lower part. Adjust the options to your needs (authoryear).

Issue report to the maintainer leaving in a few minutes.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply