I want to add a block at the beginning of my bib entries of the form

[Lastnameauthor(s) Year]

When the shortauthor field is defined it should use this field +Year instead. The following example is fairly minimal:

[\abx@bbxid $Id: test.bbx,v 0.9d 2010/09/03 20:11:58 lehman beta $] 

  %---add something here---

 author={Firstname Lastname and First Last},

\documentclass[12pt,ngerman,    ]{scrartcl}
\usepackage [bibstyle=test]{biblatex}

I'm guessing the solution lies here

      %---add something here---

but I can't find out how. It should look like this which is an existing style (natdin) in BibTeX, but not in biblatex.

1 Answer 1


Way back, I answered a very similar question at the German-speaking forum mrunix.de. The trick is to add \usebibmacro{cite} to the bibmacro begentry (which does nothing by default). Then choose the citestyle authoryear and the bibliography style authortitle, sort the bibliography by author-year-title, remove dashes for recurrent authors ... and you're set. ;-)




  \quad% or \addspace



  author = {Author, A. and Buthor, B.},
  year = {2001},
  title = {Alpha},



Some text \autocite{A01}.



enter image description here

EDIT: Improved redefinition of begentry to allow for cases where maxnames differs between in-text-citations and the bibliography. (\defcounter is an etoolbox macro that allows [in contrast to \setcounter] for local redefinitions of counter values.)

EDIT 2: Removed need to manually set custom counter.

EDIT 3: Changed format of author names to first-last.

EDIT 4: Replaced \usebibmacro{cite} with lower-level commands in order to make example also work with comp styles (which compress recurring author names in citations).

(In case anyone is wondering about these piecemeal enhancements: This question has become sort of a "Parallel Campaign" to another question at mrunix.de.)

  • @ lockstep: Thanks a lot! As it turns out, my thoughts were way tooo complicated...
    – meep.meep
    Commented Feb 23, 2011 at 17:24
  • 2
    Just to mention - I hope to implement user-definable labelapha in biber soon and so these labels will be customisable.
    – PLK
    Commented Jun 25, 2011 at 8:20
  • 2
    The \usebibmacro{cite:labelyear+extrayear}% should be replaced by \printfield{labelyear}% \printfield{extrayear}% for the entry not to be linked, since links doesnt make sence in the bibliography
    – Skip
    Commented Jan 20, 2012 at 22:20
  • When trying this minimal example I get ! Package keyval Error: maxcitenames undefined. Is this a problem with the version of biblatex?
    – pirad
    Commented Mar 24, 2012 at 8:44
  • 1
    @pluton Add \renewbibmacro*{author}{}.
    – lockstep
    Commented Jan 25, 2013 at 8:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .