3.1 KiB
3.1 KiB
@slide(layout=chapter-slide)
@number 12
@title Reference management
@slide(layout=content-only)
@title What do we need?
@content
- a bibliography file (hereafter
.bibfile) for storing references - BibTeX as an interface between the references and LaTeX
@slide(layout=wide-content)
@title
What is this mysterious .bib file?
@content
- collection of references in BibTeX format
- example:
@article{turing1990, % the type of the document and an identifier for the \cite command
title={The chemical basis of morphogenesis}, % information
author={Turing, Alan Mathison}, % about
journal={Bulletin of mathematical biology}, % the
volume={52}, % literature
pages={153--197}, % work
year={1990}, % follows
publisher={Springer} % …
}
@slide(layout=content-only)
@title How is it used?
@content
BibTeX adds some citation commands to LaTeX. In addition, we need the natbib package.
- ++ Citing an author:
\citeauthor{<source>} - ++ Citing a source:
\cite{<source>} - ++ Citing a page:
\cite[p. 15]{<source>} - ++ Citing with additional text:
\cite[<prefix>][<suffix>]{<source>} - ++ Referencing the
.bibfile:\bibliography{<.bib file>} - ++ Choosing a citation style:
\bibliographystyle{<citation style>}
Two things are infinite: the universe and the assortment of citation styles.Unknown
@slide(layout=preview-only)
@preview
{.large .thin-padding}
@slide(layout=preview-only)
@preview
{.large .thin-padding}
@slide(layout=preview-only)
@slide(layout=preview-only)
@slide(layout=preview-only)
@slide(layout=preview-only)
@slide(layout=wide-task)
@task-number 12
@title
Creating and inserting references
@content
- Create a new BibTeX file called
literature.bibin theexercises/literaturefolder. - Use Google Scholar or dblp.org to retrieve BibTeX references for the following
\LaTeXhandbooks:- Dilip Datta (2017):
\LaTeXin 24 Hours. A Practical Guide for Scientific Writing. - Frank Mittelbach / Michel Goossens (2010): Der $\LaTeX$-Begleiter.
- Dilip Datta (2017):
- Add the BibTeX entries to the BibTeX file.
- Assign unique and meaningful BibTeX keys.
- Include the BibTeX file in a suitable location, where later on the references should be listed.
- Cite the two handbooks in the file
exercises/literature/literature.tex. - Make use of the
plainbibliography style.



