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.

Juri
  • 301

4 Answers4

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.

Joseph Wright
  • 259,911
  • 34
  • 706
  • 1,036
  • 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 03 '10 at 20:17
9

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)

Pontios
  • 249
  • 3
  • 6
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.

Dave
  • 341
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. 
Unapiedra
  • 1,448
  • Note that there are several packages that offer the functionality of the harvard.sty macros. – Charles Stewart May 06 '11 at 13:27
  • is the p. in p.42 necessary? – pluton May 22 '12 at 14:55
  • @pluton: Yes, the p. is supposedly required. Source: http://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 '12 at 16:36