The \citep
command does not display the author and year, instead it displays a number.
This is the head file.
\usepackage{times}
\usepackage{a4wide}
\usepackage{fancyheadings}
\usepackage{natbib} % various citation commands
\usepackage{siunitx}
\usepackage{epsfig}
\usepackage{pifont}
\usepackage{fancybox}
\usepackage{amssymb}
This is the end, references are stored in DM.bib
\bibliographystyle{apalike}
\bibliography{DM}
Can anyone tell me what is wrong with it? I want to cite author and year, but not just a number.