# cannot obtain authoryear-style citation call-outs with the 'natbib' package

I am using natbib package and plainnat style. I need to create citation call-outs of the "Author et al. (2000)".

In preamble, I have \usepackage[authoryear]{natbib}.

In the text, I use \citet{ref}. This is supposed to generate "Author et al. (2000)".

The problem is that natbib refuses to show such citation; instead, it shows just (1). However, if I write \citeauthor{ref} \citeyearpar{ref} it's ok: "Author et al. (2000)".

What is the problem? It seems that natbib just ignores the command \citet

## 1 Answer

(too long for a comment, hence posted as an answer)

The plainnat bibliography style, when used in conjunction with the natbib citation management package, is definitely capable of producing authoryear-style citation call-outs. Something must be going on in your code that's changing the citation call-out style from authoryear to numeric. Some, not mutually exclusive, hypotheses:

• Do you and/or the document class you employ maybe load the natbib package more than once, with conflicting options? In particular, is the numbers option specified in any of the duplicate natbib loading operations?

• Are there any \setcitestyle instructions after the natbib package is loaded?

• Are there any \bibpunct instructions after the natbib package is loaded?

• Is there more than one \bibliographystyle instruction in the document?

A quick-and-dirty fix for re-instating authoryear-style citation call-outs would be to insert the instruction

\setcitestyle{authoryear}


immediately before \begin{document}.

• this is what i use in the preambule – Yauheni Aug 4 '18 at 17:26
• \newfloat{algorithm}{H}{} \sloppy \addtolength{\topmargin}{-2cm} \addtolength{\oddsidemargin}{-1.5cm} \addtolength{\evensidemargin}{-1.5cm} \setlength{\textwidth}{1.20\textwidth} \setlength{\textheight}{1.25\textheight} \renewcommand{\baselinestretch}{1.25} \fi \newtheorem{defin}{Definition} \newtheorem{lem}{Lemma} \newtheorem{prop}{Proposition} – Yauheni Aug 4 '18 at 17:27
• \newcommand{\qed}{ \hspace*{\fill} \rule{1ex}{1ex} \noindent} \input{tcilatex} \makeatletter \makeatother \geometry{left=2cm,right=2cm,top=2cm} – Yauheni Aug 4 '18 at 17:28
• In fact insted of Borthen et al. (2017) it produces Borthen et al. (2) – Yauheni Aug 4 '18 at 17:35