[PDF] [PDF] Natbib

The natbib package is a reimplementation of the LATEX \cite command, to work provided It is possible to define the citation style (type of brackets and punc-



Previous PDF Next PDF





[PDF] Reference sheet for natbib usage

The natbib package is a reimplementation of the LATEX \cite command, prints the citation number, without parentheses, even in author–year mode, and



[PDF] Natbib

The natbib package is a reimplementation of the LATEX \cite command, to work provided It is possible to define the citation style (type of brackets and punc-



[PDF] Biblatex Cheat Sheet - TUGs CTAN archive

atives to the backend Biber, see the Biblatex manual For a list of contributed styles a Author-year and author-title styles only c Capitalised command(s) also  



[PDF] Local guide to BibLATEX - UiO

19 sept 2020 · include a pair of parentheses; see Table 3 3 on page 13 \usepackage[backend= biber,style=authoryear]{biblatex} The TEX (Knuth 1984) 



[PDF] BIBLATEX - UiO

1 fév 2017 · may put it in the file folder ~/texmf/bibtex/bib where BIBLATEX always will find it 1 3 Emacs be entered directly following the first curly brace A comma concludes Mandatory: author, title, type, institution, year/date Report/ 



[PDF] Natural Sciences Citations and References (Author–Year and

contrast, the natbib package supports not only the various author–year It is possible to define the citation style (type of brackets and punctuation between



[PDF] A BibTeX Guide via Examples

6 avr 2004 · Citation style: Cite references in text by number in parentheses, The natbib package is strongly recommended for modifying citation styles



[PDF] BibLaTeX et Biber

28 jui 2017 · Package (BibLATEX) + logiciel (Biber) récents (2009) author Auteur·trice(s) de l'œuvre Entre parenthèses pour le style authoryear



[PDF] An author–year style for Biblatex - University of Washington

18 jan 2021 · (default out, initially out) Puts the thesis type inside or outside the parenthetical publication block, while plain re- moves the parentheses entirely

[PDF] biblatex backend

[PDF] biblatex bibliography style

[PDF] biblatex citation styles

[PDF] biblatex custom style

[PDF] biblatex harvard style

[PDF] biblatex multiple citations

[PDF] biblatex options

[PDF] biblatex overleaf

[PDF] biblatex remove in

[PDF] biblatex sort and compress

[PDF] biblatex sorting by date

[PDF] biblatex sorting nocite

[PDF] biblatex sorting none

[PDF] biblatex sorting reverse

[PDF] biblatex sorting schemes

Natural Sciences Citations and

References

(Author{Year and Numerical Schemes)

Patrick W. Daly

This paper describes packagenatbib

version 8.1 from 2007/10/30.

Abstract

Thenatbibpackage is a reimplementation of the LATEX\cite command, to work with both author{year and numerical citations. It is compatible with the standard bibliographic style les, such as plain.bst, as well as with those forharvard,apalike,chicago, astron,authordate, and of coursenatbib. In contrast to the packages listed above, thenatbibpackage sup- ports not only the various author{year bibliography styles, but also those for standard numerical citations. In fact, it can also produce nu- merical citations even with an author{year bibliographic style, some- thing that permits easy switching between the two citation modes.

To this end, replacements for the standard L

ATEX.bstles are also

provided. It is possible to dene the citationstyle(type of brackets and punc- tuation between citations) and even to associate it with the name of the bibliographic style so that it is automatically activated. Citation styles can be dened for local.bstles by means of a conguration lenatbib.cfg. It is compatible with the packages:babel,index,citeref, showkeys,chapterbib,hyperref,komaand with the classesamsbook andamsart. It can also emulate the sorting and compressing func- tions of thecitepackage (with which it is otherwise incompatible). Note that theciterefpackage (for adding citation page numbers in the bibliography) must be loaded afternatbib. (Thehyperref package with the optionpagebackrefalso provides this feature, but with hyperlinks.)

Thenatbibpackage therefore acts as a single,

exible interface for most of the available bibliographic styles. 1

2P. W. Daly

Contents

1 Introduction 3

2 Using this Package 4

2.1 New Bibliography Styles . . . . . . . . . . . . . . . . . . . . 4

2.2 The Syntax of thethebibliography. . . . . . . . . . . . . 5

2.3 Basic Citation Commands . . . . . . . . . . . . . . . . . . . 5

2.4 Extended Citation Commands . . . . . . . . . . . . . . . . 7

2.5 Forcing Upper Cased Name . . . . . . . . . . . . . . . . . . 8

2.6 Citation Aliasing . . . . . . . . . . . . . . . . . . . . . . . . 9

2.7 Authorless and Yearless References . . . . . . . . . . . . . . 9

2.8 Extra Features in theplainnatFamily . . . . . . . . . . . 10

2.9 Selecting Citation Punctuation . . . . . . . . . . . . . . . . 11

2.10 Predening a citation style . . . . . . . . . . . . . . . . . . 12

2.11 Priority of Style Commands . . . . . . . . . . . . . . . . . . 13

2.12 Other Formatting Options . . . . . . . . . . . . . . . . . . . 14

2.13 Automatic Indexing of Citations . . . . . . . . . . . . . . . 15

2.14 HyperT

EX Compatibility . . . . . . . . . . . . . . . . . . . . 15

2.15 Multiple Bibliographies in One Document . . . . . . . . . . 16

2.15.1 Special Considerations fornatbibandchapterbib. 16

2.16 Sorting and Compressing Numerical Citations . . . . . . . . 17

2.17 Long Author List on First Citation . . . . . . . . . . . . . . 17

3 Numerical Citations with Author{Year Styles 18

3.1 Selecting Numerical Mode . . . . . . . . . . . . . . . . . . . 18

4 Local Conguration 19

5 Package Options 19

6 Reference Sheet 20

7 Options withdocstrip20

8 Other Author{Year Solutions 21

8.1 Thenatsci.bstStyle . . . . . . . . . . . . . . . . . . . . . 21

8.2 Theapalike.bstStyle . . . . . . . . . . . . . . . . . . . . 21

8.3 ThenewapaStyle . . . . . . . . . . . . . . . . . . . . . . . . 22

8.4 The Harvard Family . . . . . . . . . . . . . . . . . . . . . . 22

8.5 The Astronomy Style . . . . . . . . . . . . . . . . . . . . . . 23

8.6 TheauthordateStyle . . . . . . . . . . . . . . . . . . . . . 23

NATURAL SCIENCES CITATIONS AND REFERENCES3

1 Introduction

Thenatbibpackage is an extension to LATEX to allow author{year citations along with numerical citations. Standard L

ATEX permits only numerical,

whereas all extensions for author{year prior to the release ofnatbibin

1993 were limited to just that. Since they normally added new commands

(asnatbibdoes too), documents written with them could only be used with numerical citations after extensive editing. Thenatbibpackage has changed that; switching from author{year to numerical citations is a matter of an option, with no alterations to the source text. It has now become part of the standard L

ATEX installations,

and is supported (demanded) by many journals. It is the citation package of choice by most of the L

ATEX community, mainly because of its

exibility and congurability. Like all packages, it is loaded in the document preamble, with possible options, with, e.g. \usepackage[sectionbib,square]{natbib} The optionsectionbibspecies that, when used with the package chapterbib, the bibliography will appear as a section at the end of each chapter (Section 2.15). Thesquareoption says that references are to be enclosed in square bracket rather than round parentheses. See Section 5 for a complete list of options.

The document text itself begins with, e.g.

\begin{document} \bibliographystyle{plainnat} which speciesplainnatto be the bibliography style used by theBibTEX program that generates the actual bibliography from a database. The style plainnatis thenatbibversion of the standardplain(numerical only) style. See Section 2.1 for other styles, or search the installation for.bst les. The\bibliographystylecommand can be given anywhere in the doc- ument, but it makes sense to add it at the start where it can be easily identied (and modied).

To make a citation in the text, use

\citep{jon90}for aparentheticalcitation (Jones et al., 1990), \citet{jon90}for atextualone, as Jones et al. (1990). Both\citepand\citetare dened bynatbiband are thus not standard.

The standard L

ATEX command\citeshould be avoided, because it behaves like\citetfor author{year citations, but like\citepfor numerical ones. There are many other commands for other special eects (Section 2.4).

4P. W. Daly

In the above examples,jon90is the identifying key for the reference, as found in theBibTEX database, or in thethebibliographyenvironment,

Section 2.2:

\begin{thebibliography}{1} \bibitem[Jones et al.(1990)]{jon90} \end{thebibliography} This environment prints the actual bibliography, and the\bibitemcom- mands link the entries to the citations via the key, herejon90. The key may be perfectly arbitrary as long as it is unique. The text in square brackets contains the pieces of citation information, the authorsJones et al.and the year1990. Note that these are two pieces of text that may be packaged together in several dierent ways, depending on the citation command. In fact, if numerical citations are selected, they are (almost) ignored and only the sequence number is used as citation. Thethebibliographyenvironment can be made by hand, but it is better and safer to letBibTEX do it. For this, one needs the \bibliographystylecommand already mentioned, and near the end of the document: \bibliography{mybib} \end{document} Heremybibis the root name of theBibTEX database le (mybib.bib) containing the data for the references needed in the document. The rest of this document presents all the gorey details about everything possible withnatbib.

2 Using this Package

In this paper, I distinguish between the citationmode(author{year or numerical) and citationstyle(the type of punctuation used for citations). The citation style is something that is independent of the bibliography style and is not programmed in the.bstles.

2.1 New Bibliography Styles

I provide three new.bstles to replace the standard LATEX numerical ones: plainnat.bst abbrvnat.bst unsrtnat.bst These produce reference lists in the same style as the corresponding stan- dard.bstle, but work withnatbib. The advantage is that they can be used in both numerical and author{year mode.

NATURAL SCIENCES CITATIONS AND REFERENCES5

These.bstles are not meant to be exhaustive by any means. Other style les conforming to thenatbibformat exist, or may be generated with mycustom-bib(also known asmakebst) program.

2.2 The Syntax of thethebibliography

The information on the cited author names and year are given as part of the\bibitemcommands within thethebibliographyenvironment. The natbibpackage expects that information to be in a certain format, which is maintained by the above bibliography styles. (It will also be able to inter- pret formats used by some earlier packages, such asharvardandchicago.) If one wishes to bypassBibTEX, one must make up thethebibliography oneself, such that it conforms tonatbib.

This syntax looks as follows:

\bibitem[Jones et al.(1990)]{jon90}... or alternatively \bibitem[Jones et al.(1990)Jones, Baker, and Williams]{jon90}... The text in square brackets contains the pieces of citation texts, the short author list,Jones et al., the year1990, and the optional long author listJones, Baker and Williams. If the long list is missing, the short list will be used instead. The parentheses around the year arenotpart of the text, but merely delimit the year from the author lists. Round parentheses must always be used, even if square brackets are wanted for the citations. And there must be no space before or after the year parentheses, else it will become part of the author list. Note:if any single\bibitementry does not conform to a syntax that natbibunderstands, it switches stubbornly to numerical mode, since it otherwise has no idea what the author and year texts could be.

2.3 Basic Citation Commands

Thenatbibpackage can be used with bibliography styles that were in- tended for other, older packages, likeharvard. However, the commands described in this and the next sections are dened bynatbiband must be used even with those other bibliography styles. Thenatbibpackage has two basic citation commands,\citetand\citet \citep\citepfortextualandparentheticalcitations, respectively. There also exist the starred versions\citet*and\citep*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.

6P. W. Daly

\citet{jon90})Jones et al. (1990) \citet[chap.~2]{jon90})Jones et al. (1990, chap. 2) \citep{jon90})(Jones et al., 1990) \citep[chap.~2]{jon90})(Jones et al., 1990, chap. 2) \citep[see][]{jon90})(see Jones et al., 1990) \citep[see][chap.~2]{jon90})(see Jones et al., 1990, chap. 2) \citet*{jon90})Jones, Baker, and Williams (1990) \citep*{jon90})(Jones, Baker, and Williams, 1990) The starred versions can only list the full authors if the.bstle supports this feature; otherwise, the abbreviated list is printed.

In standard L

ATEX, the\citecommand can only take a single optional text for a note after the citation; here, a single optional text is a post- note, while two are the pre- and post-notes. To have only a pre-note, it is necessary to provide an empty post-note text, as shown above. More complex mixtures of text and citations can be generated with the all-purpose\citetextcommand in Section 2.4. Multiple citations may be made by including more than one citation key in the\citecommand argument.If adjacent citations have the same author designation but dierent years, then the author names are not reprinted. \citet{jon90,jam91})Jones et al. (1990); James et al. (1991) \citep{jon90,jam91})(Jones et al., 1990; James et al. 1991) \citep{jon90,jon91})(Jones et al., 1990, 1991) \citep{jon90a,jon90b})(Jones et al., 1990a,b) These examples are for author{year citation mode. In numerical mode, the results are dierent. \citet{jon90})Jones et al. [21] \citet[chap.~2]{jon90})Jones et al. [21, chap. 2] \citep{jon90})[21] \citep[chap.~2]{jon90})[21, chap. 2] \citep[see][]{jon90})[see 21] \citep[see][chap.~2]{jon90})[see 21, chap. 2] \citep{jon90a,jon90b})[21, 32] The authors can only be listed if the.bstle supports author{year cita- tions. The standard.bstles, such asplain.bstare numerical only and transfer no author{year information to L

ATEX. In this case,\citetprints

\(author?)[21]." In the original versions ofnatbib, the traditional\citecommand was\cite used for both textual and parenthetical citations. The presence of an empty optional text in square brackets signalled parenthetical. This syntax has been retained for compatibility, but is no longer encouraged.

NATURAL SCIENCES CITATIONS AND REFERENCES7

This means that\cite(without notes) is the same as\citetin author{ year mode, whereas in numerical mode, it is the same as\citep. The starred version, as well as the one or two optional notes, may also be used. It is possible to have multiple citations sorted into the same sequence as they appear in the list of references, regardless of their order as arguments to the\citecommands. The optionsortis required for this feature. See

Section 2.16.

Some publishers require that the rst citation of any given reference be given with the full author list, but that all subsequent ones with the abbreviated list. Include the optionlongnamesfirstto enable this for natbib. See Section 2.17.

2.4 Extended Citation Commands

As an alternative form of citation,\citealtis the same as\citetbut\citealtquotesdbs_dbs17.pdfusesText_23