# Author Year Bibliography Style Latex

For submission to some conferences and journals, you can’t use BibTeX, as they may want one single (La)TeX file containing everything: the text of the article, and the bibliography, for easy typesetting and inclusion in the proceedings. Standard LaTeX use produces a numbered bibliography. Here is a mini file which includes two citations:

documentclass{article} begin{document} This is a test of the bibliography system of LaTeX. It cites two works. Ant &amp;amp; Bee~cite{adam15} investigate how insects can annoy humans, while another work~cite{rhin20} investigates how big animals can annoy humans. begin{thebibliography}{9} bibitem{adam15}Ant, A. &amp;amp; Bee, B. (2015). The busy ant and bee guide to being a nuisance, emph{Human-Insect Interaction}, 100(1), 1--1000 bibitem{rhin20}Rhino, R. &amp;amp; Elephant, E. (2020). emph{Theory and Practice of Ruining Big Game Expeditions}, Safari Press end{thebibliography} end{document}

which typesets to produce

Note that each bibitem contains two fields: a “key” (in braces), and the publication details. This method of citation and referencing is fine for many scientific documents, and many journals and conferences. However, some conferences prefer their citations to be in “author year” style, similar to that prescribed by the APA.

This can be easily obtained by using the style, which provides a new implementation of the standard LaTeX command. Here is the above article again:

documentclass[a4paper]{article} usepackage{natbib} begin{document} This is a test of the texttt{natbib} author-year system. It cites two works. citet{adam15} investigate how insects can annoy humans, while another work~citep{rhin20} investigates how big animals can annoy humans. begin{thebibliography}{} bibitem[Ant &amp; Bee(2015)]{adam15}Ant, A. &amp; Bee, B. (2015). The busy ant and bee guide to being a nuisance, emph{Human-Insect Interaction}, 100(1), 1--1000 bibitem[Rhino &amp; Elephant(2020)]{rhin20}Rhino, R. &amp; Elephant, E. (2020). emph{Theory and Practice of Ruining Big Game Expeditions}, Safari Press end{thebibliography} end{document}

Note that here the bibitem entries have three fields:

and there are two versions of . Actually there are many more; see the documentation for details. Or have a look at this page for a summary. The command produces “Authors (Year)” in the text, whereas produces “(Author, Year)”. This is why the first field in a bibitem must be of the form so that the parser can separate the authors and the year, and typeset the citation accordingly.

And the result is:

This is all very simple and straightforward, but for some reason I found it very hard to find all this information in one place.

### Related

For a more detailed description of the package, LATEX the source file .

### Overview

The package is a reimplementation of the LATEX command, to work with both author-year and numerical citations. It is compatible with the standard bibliographic style files, such as , as well as with those for , , , , .

Load with . See list of options at the end.

### Replacement bibliography styles

I provide three new files to replace the standard LATEX numerical ones:

### Basic commands

The package has two basic citation commands, and for textual and parenthetical citations, respectively. There also exist the starred versions and that print the full author list, and not just the abbreviated one. All of these may take one or two optional arguments to add some text before and after the citation.
 --> Jones et al. (1990) --> Jones et al. (1990, chap. 2) --> (Jones et al., 1990) --> (Jones et al., 1990, chap. 2) --> (see Jones et al., 1990) --> (see Jones et al., 1990, chap. 2) --> Jones, Baker, and Williams (1990) --> (Jones, Baker, and Williams, 1990)

### Multiple citations

Multiple citations may be made by including more than one citation key in the command argument.
 --> Jones et al. (1990); James et al. (1991) --> (Jones et al., 1990; James et al. 1991) --> (Jones et al., 1990, 1991) --> (Jones et al., 1990a,b)

### Numerical mode

These examples are for author-year citation mode. In numerical mode, the results are different.
 --> Jones et al. [21] --> Jones et al. [21, chap. 2] --> [21] --> [21, chap. 2] --> [see 21] --> [see 21, chap. 2] --> [21, 32]

### Suppressed parentheses

As an alternative form of citation, is the same as but without parentheses. Similarly, is without parentheses. Multiple references, notes, and the starred variants also exist.
 --> Jones et al. 1990 --> Jones, Baker, and Williams 1990 --> Jones et al., 1990 --> Jones, Baker, and Williams, 1990 --> Jones et al., 1990; James et al., 1991 --> Jones et al., 1990, pg. 32 --> (priv. comm.)
The command allows arbitrary text to be placed in the current citation parentheses. This may be used in combination with .

### Partial citations

In author-year schemes, it is sometimes desirable to be able to refer to the authors without the year, or vice versa. This is provided with the extra commands
 --> Jones et al. --> Jones, Baker, and Williams --> 1990 --> (1990)

### Forcing upper cased names

If the first author's name contains a von part, such as della Robbia'', then produces della Robbia (1998)'', even at the beginning of a sentence. One can force the first letter to be in upper case with the command instead. Other upper case commands also exist.
 when --> della Robbia (1998) then --> Della Robbia (1998) --> (Della Robbia, 1998) --> Della Robbia 1998 --> Della Robbia, 1998 --> Della Robbia
These commands also exist in starred versions for full author names.

### Citation aliasing

Sometimes one wants to refer to a reference with a special designation, rather than by the authors, i.e. as Paper I, Paper II. Such aliases can be defined and used, textual and/or parenthetical with:
 -> Paper I -> (Paper I)
These citation commands function much like and : they may take multiple keys in the argument, may contain notes, and are marked as hyperlinks.

### Selecting citation style and punctuation

Use the command with one optional and 6 mandatory arguments:
1. the opening bracket symbol, default = (
2. the closing bracket symbol, default = )
3. the punctuation between multiple citations, default = ;
4. the letter n' for numerical style, or s' for numerical superscript style, any other letter for author-year, default = author-year;
5. the punctuation that comes between the author names and the year
6. the punctuation that comes between years or numbers when common author lists are suppressed (default = ,);

The optional argument is the character preceding a post-note, default is a comma plus space. In redefining this character, one must include a space if one is wanted.

Example 1, changes the output of

into [Jones et al. 1990; 1991, James et al. 1992].

Example 2, changes the output of

into (Jones et al. 1990; and references therein).

### Other formatting options

• Redefine to the desired sectioning command for introducing the list of references. This is normally or .
• Define to be any text that is to be printed after the heading but before the actual list of references.
• Define to be a font declaration, e.g. to apply to the list of references.
• Define to be a font declaration or command like or .
• Redefine as a command with an argument to format the numbers in the list of references. The default definition is .
• The indentation after the first line of each reference is given by ; change this with the command.
• The vertical spacing between references is set by ; change this with the command.

### Automatic indexing of citations

If one wishes to have the citations entered in the indexing file, it is only necessary to issue at any point in the document. All following commands, of all variations, then insert the corresponding entry to that file. With , these entries will no longer be made.

### Use with package

The package is compatible with the package which makes it possible to have several bibliographies in one document.

The package makes use of the command, and each file has its own bibliography.

The order in which the and packages are loaded is unimportant.

The package provides an option that puts the bibliography in a instead of , something that makes sense if there is a bibliography in each chapter. This option will not work when is also loaded; instead, add the option to natbib.

Every d file must contain its own command where the bibliography is to appear. The database files listed as arguments to this command can be different in each file, of course. However, what is not so obvious, is that each file must also contain a command, preferably with the same style argument.

### Sorting and compressing citations

Do not use the package with natbib; rather use one of the options or .

These also work with author-year citations, making multiple citations appear in their order in the reference list.

### Long author list on first citation

Use option to have first citation automatically give the full list of authors.

Suppress this for certain citations with , given before the first citation.

### Local configuration

Any local recoding or definitions can be put in which is read in after the main package file.

### Options that can be added to

• : (default) for round parentheses;
• : for square brackets;
• : for curly braces;
• : for angle brackets;
• : (default) to separate multiple citations with colons;
• : to use commas as separaters;
• : (default) for author-year citations;
• : for numerical citations;
• : for superscripted numerical citations, as in Nature;
• : orders multiple citations into the sequence in which they appear in the list of references;
• : as but in addition multiple numerical citations are compressed if possible (as 3-6, 15);
• : makes the first citation of any reference the equivalent of the starred variant (full author list) and subsequent citations normal (abbreviated list);
• : redefines to issue instead of ; valid only for classes with a command; to be used with the package;
• : keeps all the authors' names in a citation on one line; causes overfull hboxes but helps with some problems.