I am trying to cite an article with two authors. The maximum amount of names to two:
\usepackage[backend=biber, style=authoryear, maxcitenames=2, sorting=nyt, maxbibnames =99, hyperref=true, uniquelist=false, datelabel=comp]{biblatex}
The reference is as:
@article{NUTS,
title = "The No-U-Turn Sampler: Adaptively Setting Path Lengths in Hamiltonian Monte Carlo",
author = "Hoffman, Matthew and Gelman, Andrew",
year = "2014",
volume = "15",
journal = "Journal of Machine Learning Research"
}
I cite the article in text as follows:
Bla bla bla \cite{NUTS} bla bla.
Which gives me:
Bla bla bla Hoffman and Andrew Gelman 2014 bla bla.
How do you avoid the second authors name being cited in full? Desired output:
Bla bla bla Hoffman and Gelman 2014 bla bla.
uniquenamedisambiguation feature. You probably have another work authored by another Gelman (it might indeed even be the same Gelman, just in a different form:Gelman, AndrewandGelman, Andrew J.are two different names tobiblatexeven if they refer to the same person). Tryuniquename=false, see also https://tex.stackexchange.com/q/134535/35864 – moewe Jul 29 '19 at 16:22hyperref=true,is no better than the default settinghyperref=auto,. The two option differ only in the behaviour when the packagehyperrefis not loaded:hyperref=true,will throw a warning,hyperref=autowill just silently accept that. In particular both settings produce links if and only if thehyperrefpackage is loaded. In current versions ofbiblatexthe optiondatelabelis deprecated, it has been replaced bylabeldate.sorting=nytis already the default if you loadstyle=authoryear,. – moewe Jul 29 '19 at 16:24uniquename=false,solved your problem I vote to close as a duplicate of the question I linked above. (It's an interesting question whether you should be consistent in the bibliography. On the one hand it is certainly nice to have a consistent bibliography where the same name always appears in the same form. On the other hand I can see why one would want to stick to the form in the source as closely as possible.) – moewe Jul 30 '19 at 15:23uniquename=falsequestion and a few other people agreed with that vote so that the question is now closed as a duplicate. – moewe Aug 02 '19 at 14:54