Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm trying to numerate the references list but having them ordered in order of appearance. I can't find how to do that anywhere.

The code is, more or less, like this

\usepackage[round, sort, numbers, authoryear]{natbib}
(...)
\bibliographystyle{unsrtnat}
\bibliography{referencias}
\end{document}

The document resulting of that code is close to what I wanted, but the references lists still not numbered. Here are some screenshots.

enter image description here

enter image description here

The thing is, I can set the references to use numbers or Harvard referencing style, but not both.

Is there any way to do this using natbib?

Hope you can understand what am I trying to do here and give me a piece of advice.

Thx a lot!

MWE

.tex

\documentclass{article}

\usepackage[round, sort, numbers, authoryear]{natbib}

\begin{document}
\section{First section}

First I'm going to cite \citep{DBLP:journals/chb/Junco12}. I also want you to read \citet{Kirschner20101237} and \citep*{Ross2009578}. Don't forget to tell me what do you think about them.

\bibliographystyle{unsrtnat}
\bibliography{mwe-ref}
\end{document}

.bib

@article{DBLP:journals/chb/Junco12,
  author    = {Reynol Junco},
  title     = {Too much face and not enough books: The relationship between
               multiple indices of Facebook use and academic performance},
  journal   = {Computers in Human Behavior},
  volume    = {28},
  number    = {1},
  year      = {2012},
  pages     = {187-198},
  ee        = {http://dx.doi.org/10.1016/j.chb.2011.08.026},
  bibsource = {DBLP, http://dblp.uni-trier.de}
}

@article{Ross2009578,
title = "Personality and motivations associated with Facebook use",
journal = "Computers in Human Behavior",
volume = "25",
number = "2",
pages = "578 - 586",
year = "2009",
url = "http://www.sciencedirect.com/science/article/pii/S0747563208002355",
author = "Craig Ross and Emily S. Orr and Mia Sisic and Jaime M. Arseneault and Mary G. Simmering and R. Robert Orr"}

@article{Kirschner20101237,
title = "Facebook and academic performance",
journal = "Computers in Human Behavior",
volume = "26",
number = "6",
pages = "1237 - 1245",
year = "2010",
issn = "0747-5632",
url = "http://www.sciencedirect.com/science/article/pii/S0747563210000646",
author = "Paul A. Kirschner and Aryn C. Karpinski"}
share|improve this question
    
it works awesome! thx a lot, both of you :) –  vKmC Jul 19 '12 at 23:47
    
Could you comment more on this? I have the same problem and cannot find a solution. So far, my solution has been: 1. Set natbib options to "numbers" and generate the BBL 2. Open the .bbl file and save as a .tex file (with some other name, e.g. fileBib.tex) 3. Use \input{fileBib} at the end of the source file instead of calling the .bib database 4. Re-compiling changing the natbib options to "authoryear". There MUST be an easier way... –  user39277 Oct 31 '13 at 23:30
    
Solution according a related question: use unsrtnat. –  Trylks Mar 17 at 15:45
add comment

1 Answer 1

I would drop authoryear from \usepackage[round, sort, numbers, authoryear]{natbib}

share|improve this answer
    
Thanks for ur reply, but it didn't make the difference. It just replaced the citations in the text with numbers, and numbered the references list. I want to keep the citations as Harvard style (Jones et al., etc) –  vKmC Jul 19 '12 at 13:04
    
works! deleting all temporary files and adding \usepackage{hyperref} - thanks again! –  vKmC Jul 19 '12 at 23:48
    
Great! I am happy to hear –  Alexander Serebrenik Jul 20 '12 at 3:44
4  
I honestly don't see how this can work to produce the output requested. –  Alan Munn Oct 29 '13 at 19:38
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.