Next: Output from
Up: Introduction
Previous: The Bibliographic Database
The following commands should be used in your
document to
successfully create and refer to your bibliography:
-
specifies the style of
the source list. This must be placed after the
command. There are four standard bibliography styles:
- unsrt Entries are sorted according to the order they appear
in the document and numbered.
- plain Entries are sorted alphabetically and numbered.
- alpha Entries are sorted alphabetically and entry labels are
formed from the author's name, e.g. `Lam'
would be the entry label for the example above.
- abbrv Entries are sorted alphabetically but the first names,
month names and journal names are abbreviated.
- The
command is used to specify one or
more files containing the bibliographic database. For example, the
command

specifies that the source list is to be obtained from the files myrefs.bib and deptrefs.bib. This command is used where you want
to place the bibliography.
- The
command is used within
the document text to refer to one or more entries in the bibliography.
The note parameter is optional and if used gives additional information
in the body of the text.
For example to refer to the
manual above, you could use the command
.
The entry label [1, Appendix B] will then appear
in the text of the document.
You can also make use of the
command which
puts references specified by the keys in the
bibliography, but does not cite them in the document text.
This should
be used after the
command.
When you run latex on a document containing citations and bibliography
commands, the auxiliary file (.aux) will
contain cross-referencing information.
Note: this will
produce warnings stating that citations have been undefined. Running
bibtex on your
document will read
information
from the auxiliary file and create a file with the extension .bbl.
Any errors in the .bib file will be found at this stage and should
be corrected before continuing. When latex is next run, the
in your document reads the .bbl file and
generates the bibliography. Running latex will probably produce the
warning :
Label(s) may have changed. Rerun to get cross-references
right.
You should then rerun latex.
If you have any problems with the .bib file or your
document,
it may be worth deleting the .aux and .bbl files (i.e.
the files generated by latex and bibtex) and
starting again. Also if you add or remove a citation from your document
you must rerun latex followed by bibtex to generate
your bibliography.
If you are not satisfied in any way with the output of then you
can edit the .bbl file.
Next: Output from
Up: Introduction
Previous: The Bibliographic Database