LaTeX forum ⇒ BibTeX, biblatex and biberConditional number of authors in biblatex citation Topic is solved

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
tseccull
Posts: 2
Joined: Mon Dec 31, 2018 8:24 pm

Conditional number of authors in biblatex citation

Postby tseccull » Mon Dec 31, 2018 8:51 pm

Hi!

I'm currently writing my PhD thesis and I'm using biblatex for the first time. I'm having trouble formatting my citations conditionally based on the number of authors an article has.

For example if I have three articles (all made up of course :P):
Weyland, B. (2018) Journal of Extreme Surgery, 23, 65
Weyland, B., White, P. and Venture, T.S. (2017) Monthly Notices of the Superscience Society, 24, 7
Orpheus, B. and Twilight, J. (2014) Vampirism and Necromancy, 503, 321

I want the respective citations to look like the following:
(Weyland 2018)
(Weyland et al. 2017)
(Orpheus and Twilight 2014)

Right now, however, I can only get:
(Weyland 2018)
(Weyland et al. 2017)
(Orpheus et al. 2014)

How can I get biblatex to put all authors in the citation, but only in the cases where there are only two authors on the article? Any help you can offer is appreciated, thanks!

User avatar
Johannes_B
Site Moderator
Posts: 3933
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Mon Dec 31, 2018 10:36 pm

mincitenames=2
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

tseccull
Posts: 2
Joined: Mon Dec 31, 2018 8:24 pm

Postby tseccull » Tue Jan 01, 2019 12:04 am

Johannes_B wrote:mincitenames=2


Hi Johannes, sorry this isn't what I'm looking for. If an article has 1 author I want it to look like (Author_A Year), if it has 2 authors I want it to look like (Author_A and Author_B Year), and if it has 3+ authors I want it to look like (Author_A et al. Year). In the case of 3+ authors what you recommend gives (Author_A, Author_B et al. Year), where what I want is (Author_A et al. Year) with only the first author named; at the same time I want both authors to be named on papers with only two authors.

If you know how please could you advise on how I could get my citations to look like this? Sorry if my previous question was not clear enough.

User avatar
Johannes_B
Site Moderator
Posts: 3933
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Tue Jan 01, 2019 12:44 am

I guess i meant to say maxcitenames=2.
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”

Who is online

Users browsing this forum: No registered users and 4 guests