[Tex/LaTex] Problems with specifying bibliographic punctuation stylings in LaTeX

bibliographiesnatbib

I'm looking to specify my own custom bibliographic punctuation stylings in a report I'm writing on the LaTeX platform on Overleaf.

However, I'm receiving a few issues. I'll outline all the key lines in my main.tex file:

\usepackage{natbib}

\TOCadd{Bibliography}
\bibliographystyle{plainnat}
\bibpunct{(}{)}{;}{a}{,}{,}
\bibliography{bibliography}

I'm also using '\citep{...}' as outlined in the Natbib section here: LaTeX/Bibliography Management: Natbib. However, a quick screenshot of my inline references:

enter image description here

I'd like my references to be:

(Massey et al., 1995; Humphreys et al., 2014)

I'm also seeing 'and' and not '&':

enter image description here

But I'd like this to be:

Robitaille & Whitney 2010

If anyone is able to help me on these two issues I would be very appreciative. I just can't see where I have gone wrong.

Best Answer

Moving \bibpunct{(}{)}{;}{a}{,}{,} to before \begin{document} will clinch things for the brackets. Instead of \bibpunct, you can also use the newer command \setcitestyle to change to round brackets: \setcitestyle{round}

To change and to & though, you'll have to upload a modified copy of plainnat.bst. Or switch to a bibliography style that uses & e.g. agsm, then add \setcitestyle{semicolon} to get ; separating the citations.

In summary: it seem to me the following would give what you want:

\usepackage{natbib}
% agsm already use round brackets, so "round" isn't necessary
\setcitestyle{semicolon,aysep={}}
\AtBeginDocument{\renewcommand{\harvardand}{\&}}
\begin{document}
...
\bibliographystyle{agsm}
\bibliography{bibliography}
Related Question