[Tex/LaTex] Is it possible to have authoryear-style citations with the IEEEtran document class

ieeetrannatbib

For school I have to write a paper and use the IEEEtran bibliography style:

\bibliographystyle{IEEEtran}
% argument is your BibTeX string definitions and bibliography database(s)
\bibliography{IEEEabrv,bibliography.bib}

Now I want to include the natbib package so I can cite my papers in the following way:

Cook et. al. [1]

The entry for that cite in my bib file is as follows:

@ARTICLE{cook2009ambient,
  author = {Cook, D.J. and Augusto, J.C. and Jakkula, V.R.},
  title = {Ambient intelligence: Technologies, applications, and opportunities},
  journal = {Pervasive and Mobile Computing},
  year = {2009},
  volume = {5},
  pages = {277--298},
  number = {4}
}

Now if I include the natbib package it complains: "natbib bibliography not compatible with author-year citations" So I load it with option numbers but then my authors are not shown in the latex file.

So how can I cite in the explained way? Without changing anything of the bibliographystyle option. Thanks!

EDIT: I included the template we start with from school:

    \documentclass[10pt,journal,compsoc,twoside,a4paper]{IEEEtran}
    \usepackage{cite}
    \usepackage[pdftex]{graphicx}
    \usepackage[cmex10]{amsmath}
    \usepackage{algorithmic}
    \usepackage[tight,normalsize,sf,SF]{subfigure}
    \usepackage{url}


    \hyphenation{}

    \begin{document}
    \title{Butler Robot Localization Using Dash7 Technology}

    \author
    {

            \thanks
            {

            }
    }

    \IEEEcompsoctitleabstractindextext{%
    \begin{abstract}

    \end{abstract}

    \begin{IEEEkeywords}

    \end{IEEEkeywords}}

    % make the title area
    \maketitle
    \pagestyle{empty}
    \thispagestyle{empty}
    \IEEEdisplaynotcompsoctitleabstractindextext
    \section{Example}
    Example!

    % references section

\bibliographystyle{IEEEtran}
% argument is your BibTeX string definitions and bibliography database(s)
\bibliography{IEEEabrv,bibliography.bib}

\vfill

\end{document}

Best Answer

You can get the following output:

Cook et. al. [1]

First you include the natbib package as follows:

\usepackage[numbers]{natbib}

Then download the IEEEtranN bibliography style (a simple google) and then put it in the same location as your latex file. Now change the following lines as follows:

\bibliographystyle{IEEEtranN}
\bibliography{IEEEabrv,bibliography}

You can now use citet and other natbib varians, the numbering will stay in the order it first appeared (and not the order of your bib file) and the reference layout is the same as with the IEEEtran bibliography style.