There is quite a wealth of guidance on using Harvard style here. Try this answer and this one. If you have specific problems, try asking a more specific question.
On multiple citations, the entry type you want is inbook
, probably. How citations and bibliography are formatted will depend on the style.
In this example I used \parencite{key}
to put some parenthesis around the in text citation.
mythesis.tex
\documentclass[bibtotocnumbered]{article}
\usepackage[utf8]{inputenc}
\usepackage[style=authoryear,backend=biber]{biblatex}
\addbibresource{library.bib}
\begin{document}
\tableofcontents
\newpage
Some text to cite here \parencite[23]{Lin1973}.
Another text to cite here \parencite[123]{Goedel1930}.
\printbibliography[heading=bibintoc]
\end{document}
library.bib
% This file was created with JabRef 2.9.2.
% Encoding: UTF8
@BOOK{Goedel1930,
title = {Die Vollständigkeit der Axiome des logischen Funktionenkalküls},
publisher = {Monatshefte für Mathematik und Physik},
year = {1930},
author = {Kurt Gödel},
address = {Wien}
}
@ARTICLE{Lin1973,
author = {Shen Lin and Brian W. Kernighan},
title = {An Effective Heuristic Algorithm for the Travelling-Salesman Problem},
journal = {Operations Research},
year = {1973},
volume = {21},
pages = {498--516}
}
My Workflow:
pdflatex mythesis
biber mythesis
pdflatex mythesis
pdflatex mythesis
To edit your .bib file I would recommend you a reference manager like JabRef.
Make sure your files are encoded in UTF8.
Best Answer
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 considerbiblatex
.