Can't get references sorted alphabetically with BibTeX

  • Thread starter Thread starter marcio
  • Start date Start date
  • Tags Tags
    Bibtex References
Click For Summary
SUMMARY

To sort references alphabetically in LaTeX using BibTeX, the user Márcio successfully implemented the natbib package with the sort option. The correct configuration includes \usepackage[sort]{natbib}, \bibpunct{(}{)}{;}{a}{,}{,}, \bibliographystyle{ametsoc}, and \bibliography{Referencias}. This setup resolved issues with author names appearing incorrectly in citations. The user was operating on MikTeX with Windows 8.

PREREQUISITES
  • Familiarity with LaTeX document preparation
  • Understanding of BibTeX reference management
  • Knowledge of the natbib package and its options
  • Basic experience with MikTeX on Windows
NEXT STEPS
  • Research the biblatex package for advanced bibliography management
  • Explore different BibTeX styles available in LaTeX distributions
  • Learn how to customize citation styles using natbib
  • Investigate troubleshooting common BibTeX issues in LaTeX
USEFUL FOR

Researchers, graduate students, and academics who are preparing theses or papers in LaTeX and require proper citation formatting.

marcio
Messages
32
Reaction score
0
Hi all,

Could you help me figure out what packages I should use to get all references sorted alphabetically?

These are the packages and settings I'm using... I've tested many without success:

\usepackage{natbib}
\bibpunct{(}{)}{;}{a}{,}{,}
%...
\bibliographystyle{plainnat}
\renewcommand{\bibname}{Referências}
\bibliography{Referencias}


Thank you in advance

Márcio
 
Physics news on Phys.org
Do have a look here:
http://amath.colorado.edu/documentation/LaTeX/reference/faq/bibstyles.pdf
 
DrDu said:
Do have a look here:
http://amath.colorado.edu/documentation/LaTeX/reference/faq/bibstyles.pdf

Do you know what package I must use in order to these styles work?

I tried 'biblatex' instead of 'natlib' with a few of those styles you showed me, none of them worked.

Very much appreciated

Márcio
 
You don't need any package at all. I would try it out
using only

\bibliographystyle{plainnat} %or whatever style you chose
\renewcommand{\bibname}{Referências}
\bibliography{Referencias}

However it may be that you don't have all of the bibstyles installed on your computer although most of them should come with any modern tex-distribution.
 
DrDu said:
You don't need any package at all. I would try it out
using only

\bibliographystyle{plainnat} %or whatever style you chose
\renewcommand{\bibname}{Referências}
\bibliography{Referencias}

However it may be that you don't have all of the bibstyles installed on your computer although most of them should come with any modern tex-distribution.

Hi DrDu,

I tried with 4 packages (abbrvnat, plainnat, unsrtnat and apasoft, but the later didn't work at al) which seemed to work for my PhD thesis. All of them showed the references like this:

[Zhu et al.(2005)Zhu, Zheng, Guo, and Zhu]


and not like this:

Zhu et al.(2005)


meaning they all put the names of all authors after they are cited.

Any help will be very much appreciated.
 
Maybe you can show us a small example file and some information about what distribution you are using on which platform?
 
I could reproduce this. The styles you tried require
\usepackage[sort]{natbib}
\bibpunct{(}{)}{;}{a}{,}{,}

\bibliographystyle{plainnat}
\renewcommand{\bibname}{Referências}
\bibliography{Referencias}
 
DrDu said:
I could reproduce this. The styles you tried require
\usepackage[sort]{natbib}
\bibpunct{(}{)}{;}{a}{,}{,}

\bibliographystyle{plainnat}
\renewcommand{\bibname}{Referências}
\bibliography{Referencias}

It worked like a charm after your suggestion of adding 'sort' and after I replaced 'plainnat' with 'ametsoc'.
I'm using MikTeX on Windows 8.

Thank you very much

Márcio
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
14K
  • · Replies 5 ·
Replies
5
Views
6K
  • · Replies 3 ·
Replies
3
Views
10K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
Replies
5
Views
15K