The pattern can contain any text you wish, in addition to field markers that indicate that a specific field of the entry should be inserted at that position of the key. A field marker generally consists of the field name enclosed in square braces, e.g. [volume]. If the field is undefined in an entry at the time of key generation, no text will be inserted by the field marker.
Several special field markers are offered, which extract only a specific part of a field. These are listed below. Feel free to suggest new special field markers.
Special field markers:
auth
]: The last name of the first authorauthors
]: The last name of all authorsauthIniN
]: The beginning of each author's last name, using
no more than N characters.authorIni
]: The first 5 characters of the first author's last name,
and the last name initials of the remaining authors.authN
]: The first N characters of the first author's last nameauthN_M
]: The first N characters of the Mth author's last nameauth.auth.ea
]: The last name of the first two authors, and ".ea" if there are more than two.authshort
]: The last name if one author is given; the first character of up to three authors' last names if more than one author is given. A plus character is added, if there are more than three authors.edtr
]: The last name of the first editoredtrIniN
]: The beginning of each editor's last name, using
no more than N characterseditors
]: The last name of all editorseditorIni
]: The first 5 characters of the first editor's last name,
and the last name initials of the remaining editors.edtrN
]: The first N characters of the first editor's last nameedtrN_M
]: The first N characters of the Mth editor's last nameedtr.edtr.ea
]: The last name of the first two editors, and ".ea" if there are more than two.edtrshort
]: The last name if one editor is given; the first character of up to three editors' last names if more than one editor is given. A plus character is added, if there are more than three editors.firstpage
]: The number of the first page of the publicationlastpage
]: The number of the last page of the publicationshorttitle
]: The first 3 words of the titleshortyear
]: The last 2 digits of the publication yearveryshorttitle
]: The first word of the title,
discounting 'the', 'a', 'an'.A field name (or one of the above pseudo-field names) may optionally be followed by one or more modifiers. Modifiers are applied in the order they are specified.
If you haven't defined a key pattern for a certain entry type, the Default key pattern will be used. You can change the default pattern - its setting is above the list of entry types in the Key pattern section of the Preferences dialog.
The default key pattern is [auth][year], and this could produce
keys like e.g. Yared1998
If the key is not unique in the
current database, it is made unique by adding one of the letters a-z
until a unique key is found. Thus, the labels might look like:
Yared1998
Yared1998a
Yared1998b