[Help] [LaTeX top]

Latex bibliographies

Resources for manipulating bibliography files

Style files

Read the latex manual. Besides the standard bibstyle files, csli also has a few others including (this is not inclusive)
natbib
multiple formats and multiple citation commands. JE Shepherd has some useful pointers.
aaai-named
style that formats citations in (author, year) format.
acm
style that formats like the standard abbrv.bst but names are Last, initials and are in small caps.
apalike
style that formats citations in (author, year) format with no labels in the bibliography. Should be used with the apalike style option.
cslibib
style that formats citations in (author year) or, using the \shortcite command, (year); there are no labels in the bibliography. Should be used with the cslibib style option.
ieeetr
style that formats entries in the style of the IEEE transactions.
siam
style that formats entries in the style of the SIAM journals. Should be used with the siam document style.
For more information on the format of any of them, see the file /usr/local/lib/texmf/bibtex/bst/name.bst.

So for instance, to use the cslibib bibliography style the document should contain the following commands:

\documentclass{...}

\usepackage{cslibib}
  % this cslibib is a style file not a
  % bibliography style file.  It is used to
  % make the bibliography appear right.

\begin{document}

...

\cite{smith93}  % to cite an entry.  What is allowed in a cite command
                % depends on the bibliographystyle file used
%or
\cite{*} % some bibliographystyle files allow this to cite all entries
         % in a bib file

...

\bibliographystyle{cslibib}
\bibliography{mybib} 

...

\end{document}

custom-bib

If you really want to customize your bibliography style file, you can use custom-bib to design your own. To run on turing, type

tex makebst

and answer the questions. The last question asks if you want to run a batch job. If you answer yes, it will create a bst file for you. If you answer no, you will have a *.dbj file. To create the bst file from that just run TeX on it. l
[CSLI] [Help] [Stanford] [Search CSLI help pages] [Search CSLI pages] [Search Stanford]
Emma Pease
Last modified: Mon Apr 14 09:32:35 PDT 2008 by emma@csli.stanford.edu