4

My document is based on the report class. I am using custom bibtex style file generated through makebst for my thesis and the citation style I need is authoryear. The references are to be sorted alphabetically. The problem is I'm not getting numerical list of the references. I need numerical listing of references as shown in the figure below

university_format

For the moment, I get the list of references without numerical listing, as shown in the figure below. without_numerical_listing

5
  • Would a biblatex solution be acceptable for you?
    – Corentin
    Commented Oct 1, 2012 at 15:56
  • @Corentin Please suggest for BiBTeX. Since If i want to follow BiBLaTeX, i should start it from beginning.
    – vivek
    Commented Oct 1, 2012 at 17:01
  • @Corentin Thanks, We have prepared BiBLaTeX style files as per our needs.It works fine.
    – vivek
    Commented Oct 2, 2012 at 16:33
  • I'm glad to hear that it helped. There may be a pure BibTeX solution, but if you are happy with the BibLaTeX one, I think it is the most simple.
    – Corentin
    Commented Oct 2, 2012 at 21:34
  • If the answer was helpful, may I kindly suggest that you mark it as accepted (see How do you accept an answer?), so that the question doesn't appear as unanswered anymore?
    – Corentin
    Commented Oct 5, 2012 at 8:53

1 Answer 1

4

If you are ready to use biblatex, the following example has a numbered, alphabetically sorted list of references, with author-year citation style:

\documentclass{article}

\usepackage[citestyle=authoryear,bibstyle=numeric,firstinits=true,backend=bibtex]{biblatex}

\renewbibmacro{in:}{%
  \ifentrytype{article}{}{%
  \printtext{\bibstring{in}\intitlepunct}}}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@article{A2012,
author = {Author, A},
title = {An interesting paper},
journal = {Journal},
year = {2012},
volume = {2},
pages = {70--76},
}
@article{B2012,
author = {Buthor, B},
title = {An also interesting paper},
journal = {Journal},
year = {2012},
volume = {2},
pages = {77--79},
}
\end{filecontents}

\addbibresource{\jobname.bib}


\begin{document}

\autocite{B2012}

\autocite{A2012}

\printbibliography

\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .