# Natbib - setcitestyle

I am using natbib and need the following reference output:

Therefore, I am using the setcitestyle command.

\setcitestyle{notesep={: }}


gives me the following output:

When using

\setcitestyle{aysep{}}


I get

But combining both, is not possible

\setcitestyle{notesep={: },aysep{}}


gives me

Can you tell me why? What have I made wrong?

You have a typo in your code: You need to use aysep={} instead of aysep{}:

\begin{filecontents*}{\jobname.bib}
title={Title},
journal={Journal},
year={2010},
}
\end{filecontents*}

\documentclass{article}
\usepackage{natbib}
\setcitestyle{notesep={: }}
\setcitestyle{aysep={}}

\begin{document}

\bibliographystyle{plainnat}
\bibliography{\jobname}
\end{document}