I'm trying to get italics for the author name within the citation using natbib
with agsm
style.
My MWE:
\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}
@BOOK{Smith2011,
author = {Joe Smith},
title = {The Lord of the Wings},
year = {2011},
publisher = {Amazon},
}
\end{filecontents}
\documentclass{article}
\usepackage[authoryear]{natbib} % natbib used for reference style
\begin{document}
So the following should show the name \citeauthor{Smith2011} in italic \citep{Smith2011}, but it doesn't work?
\bibliographystyle{agsm} % AGSM style matches closely to Brunel style
\bibliography{\jobname}
\end{document}
I have to use Harvard style for my report, though when I tried to replace agsm
with harvard
, it didn't find the style? I thought it comes with natbib
?
Best Answer
Use egreg's answer to How to cite authors in small cap with \citet? and replace
\scshape
with\itshape
:EDIT:
natbib
provides the stylesplainnat
,abbrvnat
, andunsrtnat
. Theharvard
package provides additional styles that may be used withnatbib
, but no "harvard" style .