I read through several questions raised before, but couldn't find a direct solution. I'm using overleaf online latex editor to compile my .tex file. I handle a separate .bib file for references. I need my document to be referenced in Harvard (aka "authoryear") style, with et. al. in italics.
Here's the partial code of my main document:
\documentclass{article}
\usepackage{natbib}
\begin{document}
I want to cite this \citep{auth} here.
\bibliographystyle{agsm} % 'agsm' is part of 'harvard' package
\bibliography{ref}
\end{document}
In the ref.bib` file I has the following:
@article{auth,
title = {xxx},
year = {2000},
author = {aaa, bbb, ccc and ddd}
}
What I want here is (aaa et al. 2000) instead of (aaa et al. 2000). Please help. Thanks in advance.
{}when loadingnatbib:\usepackage{natbib}– luki Feb 22 '21 at 12:09author = {aaa, bbb, ccc and ddd}cannot possibly lead to a good outcome. It should beauthor = {aaa and bbb and ccc and ddd}. – Mico Feb 22 '21 at 13:09agsm.bstin the Overleaf distribution, you may download it from https://www.ctan.org/tex-archive/macros/latex/contrib/harvard/agsm.bst. – Mico Feb 22 '21 at 13:14agsm.bstin overleaf plus I got no clue on it. I'll try to use the link you suggested. – Dovini Jayasinghe Feb 22 '21 at 13:32