20

Can someone point me to some good instructions and resources on how to setup Harvard referencing style (a.k.a. Author-year) with bibtex in a LaTeX document? The final formatting of the bibliography should look as in this page: http://libweb.anglia.ac.uk/referencing/harvard.htm

I'm not totally new to LaTeX itself, but didn't use BibTex a lot, other than the default, predefined setup.

4 Answers 4

10

The Harvard style covers a wide range of choices of exactly how to do things. Using the natbib package has already been mentioned, while you could also consider biblatex.

1
  • 15
    \usepackage[sorting=nyt,style=apa]{biblatex} will give you more or less Harvard citations through \textcite If you're super lazy (like me) add \let\cite\textcite to your preamble to use \cite instead of \textcite
    – Seamus
    Oct 3, 2010 at 20:17
8

try doing the following:

Put the following in before the \begin{document}:

\usepackage{natbib}
\bibliographystyle{abbrvnat}
\setcitestyle{authoryear,open={(},close={)}}

And then...

Use: \citep{key} to cite into parenthesis, like --> (Sandwith et al., 2006)

OR

Use: \citet{key} to cite in text, like --> Sandwith et al. (2006)

1
  • 1
    If I try this and do \citep{key}, I get "(Sandwith et al. 2006)". I.e. the comma is missing.
    – JHBonarius
    Feb 11, 2018 at 15:53
6

The package you want is here: CTAN/harvard

Instructions for installing packages are here: CTAN, packages, and online help

It depends on your tex distribution. If you are using MiKTex, or another distribution with a package manager you just need to call the bib style as per usual and the package manager will handle installation.

3
  • It's generally better to use natbib instead of harvard.
    – Lev Bishop
    Oct 3, 2010 at 15:39
  • 6
    And better to use biblatex than natbib? :) (Okay, it can depend.) Oct 4, 2010 at 1:35
  • 3
    You can have your cake and eat it too: \usepackage{har2nat} - harvard.sty macros on top of natbib. May 6, 2011 at 13:26
5

An option as been mentioned: \usepackage{harvard}

You can then use it like this:

\citeasnoun[p.42]{knuth} writes that TeX is great... 
In \citepossesive[p.43]{knuth} book we can also see something else. 

Which would become:

Knuth (1901, p.42) writes that TeX is great... 
In Knuth's (1901, p.43)  book we can also see something else. 
3
  • Note that there are several packages that offer the functionality of the harvard.sty macros. May 6, 2011 at 13:27
  • is the p. in p.42 necessary?
    – pluton
    May 22, 2012 at 14:55
  • @pluton: Yes, the p. is supposedly required. Source: libweb.anglia.ac.uk/referencing/harvard.htm Under "Page Numbers" it says you should abbreviate with p. X or pp. X-Y (for range of pages). Technically, there is no enforcement of you writing "p.", so do what you think is right.
    – Unapiedra
    May 22, 2012 at 16:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .