• Home   /  
  • Archive by category "1"

Latex Bibliography Et All

There should be no need to edit a file manually to have the desired number of authors before 'et al.' in either the citations or the bibliography/reference list.

The number of authors listed in citations and the bibliography is managed by the bibliography style. For example, using the APA style (which requires up to the first six authors before 'et al.' for book references in the bibliography):

file:

file:

output (not formatted, just the text from the )

Found in (Man et al., 2025).

References

Man, A., Woman, A., Man, S., Man, T., Man, F., Woman, S., et al. (2025). This book. Men & Women.

You would need to identify an appropriate style, usually provided by the publisher if they accept contributions produced using (Any)TeX or from the pre-configured styles available, or you could produce your own if the requirement is sufficiently important. If you want suggestions for possible styles it would help if you said which style you are currently using and the changes you want to achieve.

To give an example of a different style using the same file but with the bibliography style changed:

This style produces (again, just the text from the ):

Found in [MWM+ 25].

References

[MWM+ 25] A. Man, A. Woman, Second Man, Third Man, Fourth Man, Second Woman, Third Woman, Fourth Woman, and Fifth Man. This book. Men & Women, 2025.

This does not truncate the number of authors in the bibliography at all (unlike the first example using the APA style).

LaTeX forum ⇒ BibTeX, biblatex and biber ⇒ BibTeX doesn't abbreviate to “et al.”Topic is solved

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.









julietbravo
Posts:5
Joined: Mon Mar 14, 2016 2:49 pm

BibTeX doesn't abbreviate to “et al.”

Postby julietbravo » Mon Mar 14, 2016 2:57 pm

This is an exact copy of my question at: http://tex.stackexchange.com/questions/297271/bibtex-harvard-agsm-doesnt-abbreviate-to-et-al-for-duplicate-authoryear, which didn't get any replies. Apologies for cross-posting, but I have to finish a PhD thesis

With BibTeX and the harvard/AGSM style, some references (from authors who have multiple papers per year) aren't abbreviated to "et al.", with the addition of a, b, et cetera. For example, with the code attached below, I get:



Only one paper is abbreviated to et al., the others not. Any idea why this is happening? The in-text references should be Basu et al. (2008a) and Basu et al. (2008b), which I believe AGSM should automatically do?

It actually works correctly if both papers (basu2008a, basu2008b) have the exact same authors (result: Basu et al. (2008a,b)), or if one of the papers only has one author (result: Basu et al. (2008), Basu (2008)) or two authors (result; Basu et al. (2008), Basu & Holtslag (2008)). But as soon as it needs to add the a or b, something fails and the full list of authors is writting in-text.



With Bibtex file:

  1. \documentclass[10pt,a4paper]{article}
  2. \cite{basu2008a, basu2008b, beare2006}
  3. \bibliography{references.bib}
  1. @string{jam="J. Appl. Meteor."}
  2. @string{ag="Acta Geop."}
  3. @string{blm="Bound.-Layer Meteor."}
  4. author={Basu, S. and Vinuesa, J.-F. and Swift, A.},
  5. title={Dynamic {LES} modeling of a diurnal cycle},
  6. author={Basu, S. and Holtslag, A. A. M. and Wiel, B. J. H. and Moene, A. F. and Steeneveld, G. J.},
  7. title={An inconvenient "truth" about using sensible heat flux as a surface boundary condition in models under stably stratified regimes},
  8. author={Beare,R. J. and Macvean,M. K. and Holtslag,A. A. M. and Cuxart,J. and Esau,I. and Golaz,J. -. and Jimenez,M. A. and Khairoutdinov,M. and Kosovic,B. and Lewellen,D. and Lund,T. S. and Lundquist,J. K. and McCabe,A. and Moene,A. F. and Noh,Y. and Raasch,S. and Sullivan,P.},
  9. title={An intercomparison of large-eddy simulations of the stable boundary layer},
Johannes_B
Site Moderator
Posts:3638
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Mon Mar 14, 2016 3:15 pm

Welcome, you poste a link and clearly stated that this is a crosspost, so this is no problem at all.


What you see is a very important feature. It makes the entries really unique.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
julietbravo
Posts:5
Joined: Mon Mar 14, 2016 2:49 pm

Postby julietbravo » Mon Mar 14, 2016 3:28 pm

Johannes_B wrote:What you see is a very important feature. It makes the entries really unique.


But I thought that using the Harvard style this should be abbreviated to bla (2008a), bla (2008b)?

Multiple references to the same author
If you cite different documents by the same author which were published in the same year, to distinguish between them add the letters a, b, c, etc. in lower case after the year. Repeat in the reference list.
Example: ... (Williamson, 2001a), (Williamson, 2001b) etc. ...

http://www.kit.nl/health/wp-content/uploads/sites/4/2014/09/Harvard-Ref.pdf
Johannes_B
Site Moderator
Posts:3638
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Mon Mar 14, 2016 4:10 pm

Harvard Referencing just means author date referencing.

You stated yourself in your question, that it works if the author is the same (no matter if one name or a matching list of names), so you need an extra letter to uniquely cite.

Consider the following: Basu, Gonzales, Jesus, Fernandez (2009) and Basu, Smith, Edinborough, Wright (2009)

Would you feel confident to replace this with Basu (2009a) and Basu (2009b)?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
julietbravo
Posts:5
Joined: Mon Mar 14, 2016 2:49 pm

Postby julietbravo » Mon Mar 14, 2016 5:19 pm

I don't see the difference? I mean, two different papers which both have the exact same list of authors are abbreviated to "Basu et al. (2008a), Basu et al. (2008b)", with the resulting references as (this is actually what Bibtex/AGSM creates):

Basu, S., Vinuesa, J.-F. & Swift, A. (2008a), ‘Dynamic LES modeling of a diurnal cycle’, J. Appl. Meteor. 47(4), 1156–1174.
Basu, S., Vinuesa, J.-F. & Swift, A. (2008b), ‘An inconvenient ”truth” about using sensible heat flux as a surface boundary condition in models under stably stratified regimes’, Acta Geop. 56(1), 88–99.


Then why not do the same thing for two publications which have different authors, like in my example? As long as the addition a/b is also present in the bibliography (like in the example above), the in-text references are uniquely labeled?
Johannes_B
Site Moderator
Posts:3638
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Tue Mar 15, 2016 1:32 am

This is science/engineering ... when you don't know an answer but know the guy who might now the answer, you are golden.

I will add mico's answer tomorrow.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Johannes_B
Site Moderator
Posts:3638
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Tue Mar 15, 2016 7:45 pm

Mico posted an answer on TeX.SX:
Mico wrote:You've come across an unusual -- and admittedly rather severely under-documented -- feature (not a bug...) of the `agsm` bibliography style. Suppose two bib items labelled, say, `AA` and `BB` each have one or more authors. Crucially, suppose the *total number* of authors differs -- e.g., let bibitem `AA` have 3 authors and bibitem `BB` have 5 authors -- and suppose further that `AA` and `BB` share the same first author (say, `XYZ`) *and* the same publication year (say, `2000`).

When this occurs -- as is the case in the example you've posted -- the `agsm` bibliography style does *not* set the citation call-outs as `XYZ et al (2000a)` and `XYZ et al. (2000b)`, respectively. Instead, it lists *all author names* for both publications.

I suppose this is a fail-safe way of avoiding any kind of confusion over whose publication might be cited as `XYZ et al. (2000a)`.

The only time when you do get the `FirstAuthor et al (year)` citation call-out pattern is if (a) the two publications have the same authors (and thus the same *number* of authors) as well as the same publication year *and* (b) there is no other three-or-more-author publication in the bibliography that features the same first author and publication year.

Again, this feature of the `agsm` style is both uncommon (to put it neutrally) and, unfortunately, quite obscure and under-documented. I wouldn't call it a bug, though. If you truly can't stand this feature, it's probably a good idea to start looking for an alternative bibliography style.

An MWE and screenshot:



  1. \RequirePackage{filecontents}
  2. \begin{filecontents}{testagsm.bib}
  3. author = "XYZ", title = "x", journal= "y", year = 2000}
  4. author = "XYZ and B", title = "x", journal= "y", year = 2000}
  5. author = "XYZ and B and C", title = "x1", journal = "y", year = 2000}
  6. author = "XYZ and B and C", title = "x2", journal = "y", year = 2000}
  7. author = "XYZ and BB and CC and DD", title = "x", journal= "y", year = 2000}
  8. author = "XYZ and BBB and CCC and DDD and EEE", title = "x", journal= "y", year = 2000}
  9. author = "A and B and C", title = "D1", journal = "E1",
  10. year = 3001, volume = 1, number = 2, pages = "3-4"}
  11. author = "A and B and C", title = "D2", journal = "E2",
  12. year = 3001, volume = 5, number = 6, pages = "7-8"}
  13. \usepackage{natbib,har2nat}
  14. \setlength\parindent{0pt}% just for this example
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Return to “BibTeX, biblatex and biber”

Jump to
  • LaTeX Community
  •    Announcements
  •    Community talk
  •    Comments & Wishes
  •    New Members
  • LaTeX
  •    Text Formatting
  •    Graphics, Figures & Tables
  •    Math & Science
  •    Fonts & Character Sets
  •    Page Layout
  •    Document Classes
  •    General
  • LaTeX's Friends
  •    BibTeX, biblatex and biber
  •    MakeIndex, Nomenclature, Glossaries and Acronyms
  •    Conversion Tools
  •    Viewers for PDF, PS, and DVI
  •    XeTeX
  •    Others
  • LaTeX Distributions
  •    Decision Guidance
  •    MiKTeX and proTeXt
  •    TeX Live and MacTeX
  •    Others
  • LaTeX Editors
  •    Decision Guidance
  •    AUCTeX
  •    Kile
  •    LEd
  •    LyX
  •    Scientific Word/Workplace
  •    Texmaker and TeXstudio
  •    TeXnicCenter
  •       Announcements
  •       General
  •       Templates, Wizards & Tools
  •       Feature Suggestions
  •       Development
  •    TeXShop
  •    TeXworks
  •    WinEdt
  •    WinShell
  •    Others
  • LaTeX Templates
  •    Articles, Essays, and Journal Templates
  •    Theses, Books, Title pages
  •    Letters
  •    Presentations and Posters
  •    Curricula Vitae / Résumés
  •    Assignments, Laboratory books and reports
  •    Calendars and Miscellaneous

Who is online

Users browsing this forum: No registered users and 0 guests

Powered by phpBB® Forum Software © phpBB Limited

One thought on “Latex Bibliography Et All

Leave a comment

L'indirizzo email non verrà pubblicato. I campi obbligatori sono contrassegnati *