[Tex/LaTex] ‘Apalike’ bibliography style not responding correctly

bibliographiesnatbib

I had written a M.Sc thesis using Latex. After my oral defence, I tried to effects some of the correction but to my surprise the reference listing in the bibliography changed. I did not alter the bibliographystyle I had initially used. My preamble and bibliography style are given below:

\documentclass[12pt,a4paper]{report}
\usepackage{t1enc}
\usepackage{subfigure}
\usepackage[numbers,sort&compress,authoryear]{natbib}
\usepackage{t1enc}
\usepackage{fancyhdr}
\pagestyle{plain}
\usepackage{longtable}
\usepackage{geometry}
\usepackage{amsmath,amssymb,amsthm}
\usepackage{indentfirst}
\usepackage[english]{babel}
\usepackage{enumerate}


\addcontentsline{toc}{subsection}{References}
\bibliographystyle{apalike}
%\bibliographystyle{astron}
%\bibliographystyle{harvard}
%\bibliographystyle{plain} %% plain.bst
%\bibliographystyle{unsrt}
%\bibliographystyle{apsrev}
%\bibliographystyle{bbs}
%\bibliographystyle{siam}
%\bibliographystyle{chicago}
\bibliography{references}

I want a listing that will look like this:

Ying, Q., M., Mysliwiec, and M. J. Kleeman, (2004) Source
apportionment of visibility impairment using a three-dimensional
source-oriented air quality model. Environmental Science &Technology,
38: 1089-1101.


Ying, Q. and Kleeman, M.J. (2006) Source contributions to the regional
distribution of secondary particulate matter in California.
Atmospheric Environment, 40: 736-752.


Yuanxun, Z., Yuanmao, Z., Yingsong, W., Delu, L., Aiguo, L., Yan, L.,
Guilin, Z., Yifei, Z. and Zuci, S. (2006) PIXE Characterization of
PM10 and PM2.5 Particulate Matter Collected during the Winter Season
in Shanghai City. J. Radioanal. Nucl. Chem., 267: 497–499.

But the lines after the first will be indented.

I am stucked now, please assist. Do I need to install a package for apalike or what is really happening.

Best Answer

To get rid of the hanging indentation of second and subsequent lines of bibliographic entries entirely while using the natbib package, the instruction you need to issue in your document's preamble, after loading the natbib package, is:

\setlength\bibindent{0pt}  % default value: 1em

Conversely, if you do want some hanging indentation, say by the amount of 2em, you'd type:

\setlength\bibindent{2em}