8 Bibliographies

Creating a bibliography  

Creating a bibliography  

The LaTeX basics

\documentclass{article}  
\usepackage{natbib}  
\bibliographystyle{plainnat}  
\begin{document}  
Some text \cite{key}.  
\bibliography{example}  
\end{document}

BibTeX workflow  

SVG-Viewer needed.

The BibTeX file  

A basic article

Example 1


@book {lamport94 ,
   author    = {Leslie Lamport},
   title     =
     {{\LaTeX{}} : a document preparation system},
   edition   = {2nd},
   publisher = {Addison--Wesley},
   year      = 1994 ,
}
    

The BibTeX file  

Multiple authors

Example 2


@inproceedings{smith05,
  author    = {Smith, Jr, John and  Jane Lucy Doe
   and  Other, Andrew N. and  de Vere, Jo},
  title     = {An example article},
  booktitle = {Proceedings of the Imaginary Society},
  month     = JAN,
  year      = 2005
}
    

Citations in LaTeX  

Citations using natbib  

Textual citations

\citet[note]{key}
  
\citet{lamport1994}   Lamport (1994)
\citet[p.~34]{lamport1994}  Lamport (1994, p. 34)
  

Parenthetical citations

\citep[prenote][postnote]{key}
  
\citep{lamport94}   (Lamport, 1994)
\citep[p.~34]{lamport94}  (Lamport, 1994, p. 34)
\citep[see][]{lamport94}  (see Lamport, 1994)