BibTeX, biblatex and biberAuthor-Year Citation with Number in References

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
pallav
Posts: 170
Joined: Wed Nov 12, 2008 5:53 pm

Author-Year Citation with Number in References

Post by pallav »

I'm using this for getting author-year citation.

Code: Select all

\usepackage[authoryear, semicolon, sort&compress]{natbib}

\bibliographystyle{unsrtnat} 
\bibliography{Bibliography}
It is working fine for me. The references are without numbering. Is it possible to get numbering of the references in a author-year citation case?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

josephwright
Site Moderator
Posts: 814
Joined: Tue Jul 01, 2008 2:19 pm

Re: Author-Year Citation with Number in References

Post by josephwright »

Could you illustrate how you want this to look? Author-year means that citations are of the form 'Other (2013)' and so on, so numbers do not usually make sense.
Joseph Wright
sukhjitsehra
Posts: 1
Joined: Sun Mar 08, 2015 8:38 pm

Re: Author-Year Citation with Number in References

Post by sukhjitsehra »

I am also facing the same problem to a design a style with natbib where citation are in author year style i.e (Andrew, 2009) and references numbered
[1] Host, M. and Wohlin, C. (1998), “An experimental study of individual subjective effort estimations and combinations of the estimates,” in Proceedings of the (20th) International Conference on Software Engineering, IEEE, Kyoto, 332– 339.

[2] Miranda, E. (2000), “An Evaluation of the Paired Comparisons Method for Software Sizing,” in Proceedings of the 22Nd international Conference on Software Engineering, ACM, New York, NY, USA, ICSE ’00, 597–604.

The issue is both format are contrdictary but still it is required.

If anybody has worked on it. Do suggest
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Author-Year Citation with Number in References

Post by Johannes_B »

Hi and welcome,

even though it is a bit contradictory, it is easy possible with the relatively new package biblatex.

Hint: Click on Open in Writelatex (which is now known as Overleaf) to see the result directly. We use the sample database coming with the package and the bibliography processor biber, which replaces the quite old bibtex.

Code: Select all

\documentclass{article}
\usepackage[bibstyle=numeric,citestyle=authoryear,backend=biber]{biblatex}
\addbibresource{biblatex-examples.bib}
\begin{document}
\cite{westfahl:space,aristotle:physics} and \cite{companion}
\printbibliography
\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply