BibTeX

From XennisWiki
Jump to: navigation, search

BibTeX is reference management software for formatting lists of references. The BibTeX tool is typically used together with the LaTeX document preparation system. [..] The name is a portmanteau of the abbreviation of "bibliography" and TeX. BibTeX makes it easy to cite sources in a consistent manner, by separating bibliographic information from the presentation of this information, similarly to the separation of content and presentation/style supported by LaTeX itself. (Wikipedia)

Example

IEEE manuscript template

For the following example the IEEE Manuscript Templates for Conference Proceedings was used, to explain BibTeX.

In the .tex-file you specify on the one hand the style (\bibliographystyle) and on the other hand the path to the .bib-file (\bibliography). In this example we use the .bib files IEEEtran.bst, IEEEabrv.bib' and our own lit.bib, which are all in the bib directory.

sample.tex

\documentclass[conference]{IEEEtran}

[...]

% citation packages
\usepackage{cite}

[...]

\begin{document}

  [...]

  % use cite
  It was used in \cite{wsn-timecali}.

  [...]

  % references section
  \bibliographystyle{./bib/IEEEtran}
  \bibliography{./bib/IEEEabrv,./bib/lit}

  [...]

\end{document}

All your used sources you copy in the lit.bib file. For the most scholarly publications you can fin the BibTeX entries on the web, like the following example from the website of the ETH Zuric.

bib/lit.bib

@incollection{wsn-timecali,
    author	= {Kay R\"{o}mer and Philipp Blum and Lennart Meier},
    editor	= {Ivan Stojmenovic},
    title	= {Time Synchronization and Calibration in Wireless Sensor Networks},
    booktitle	= {Handbook of Sensor Networks: Algorithms and Architectures},
    publisher	= {John Wiley \& Sons},
    year	= {2005},
    isbn	= {0-471-68472-4},
    pages	= {199--237}
}

Finally execute for instance in Texmaker IDE: LaTeX > BibTeX > LaTeX > LaTeX.

Entry types

A good overview you find on Wikipedia - BibTeX#Entry_types

Manuel

@manual{exampleManuel,
   author       = {Johannes Schröder and Bert Blau},
   title        = {Exemplary title},
   organization = {Example organization},
   edition      = {v1.1},
   month        = feb,
   year         = {2015}
}

Website

@online{google,
    author = {{Google Inc.}},
    title  = {Search engine Google},
    month  = jun,
    year   = {2013},
    url    = {http://www.google.com}
}

See also