28.03.2013 Views

Guide to LaTeX (4th Edition) (Tools and Techniques

Guide to LaTeX (4th Edition) (Tools and Techniques

Guide to LaTeX (4th Edition) (Tools and Techniques

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

9.3. Bibliographies 223<br />

sectionbib<br />

puts the bibliography in a section instead a chapter; for use with<br />

the chapterbib package (Section 9.3.5);<br />

sort orders multiple citations in<strong>to</strong> the sequence in which they appear<br />

in the list of references;<br />

sort&compress<br />

as sort but in addition multiple numerical citations are compressed<br />

if possible (as 3–6, 15);<br />

longnamesfirst<br />

makes the first citation of any reference the equivalent of the<br />

starred variant (full author list) <strong>and</strong> subsequent citations normal<br />

(abbreviated list).<br />

Note: natbib defaults <strong>to</strong> author–year citations, but if any single \bibitem<br />

comm<strong>and</strong> does not conform <strong>to</strong> any of the recognized author–year syntaxes,<br />

it will switch au<strong>to</strong>matically <strong>to</strong> numerical citations.<br />

Further cus<strong>to</strong>mizations<br />

There are several formatting comm<strong>and</strong>s in natbib that may be (re)defined<br />

by the author <strong>to</strong> achieve special effects in the bibliography, such as font<br />

or spacing between entries. In st<strong>and</strong>ard L AT E X, these are all fixed.<br />

\bibsection<br />

can be redefined <strong>to</strong> the desired sectioning comm<strong>and</strong> for introducing<br />

the list of references. This is normally \section* or<br />

\chapter*.<br />

\bibpreamble<br />

is printed after the bibliography heading but before the actual<br />

list of references; is normally undefined, but can be defined <strong>to</strong><br />

insert any desired leading text.<br />

\bibfont<br />

can be a font declaration, e.g. \small <strong>to</strong> apply <strong>to</strong> the whole list<br />

of references; is normally undefined.<br />

\citenumfont<br />

can be a font declaration or comm<strong>and</strong> like \itshape or \textit<br />

for formatting numerical citations; normally undefined.<br />

\bibnumfmt<br />

is a comm<strong>and</strong> with an argument <strong>to</strong> format the numbers in the<br />

list of references; the default definition is [#1].

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!