126 lines
3.6 KiB
Markdown
126 lines
3.6 KiB
Markdown
@slide(layout=chapter-slide)
|
||
|
||
@title
|
||
Reference management
|
||
|
||
|
||
@slide(layout=content-only)
|
||
|
||
@title
|
||
What do we need?
|
||
|
||
@content
|
||
* a **bibliography file** (hereafter `.bib` file) 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:
|
||
|
||
``` {.hljs .lang-tex}
|
||
@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 a source: `\cite{<source>}`
|
||
* ++ Citing a page: `\cite[p. 15]{<source>}`
|
||
* ++ Citing with additional text:<br/>`\cite[<prefix>][<suffix>]{<source>}`
|
||
* ++ Referencing the `.bib` file: `\bibliography{<.bib file>}`
|
||
* ++ Choosing a citation style: <br/>`\bibliographystyle{<citation style>}`
|
||
|
||
> Two things are infinite: the universe and the assortment of citation styles.<cite>Unknown</cite>
|
||
|
||
|
||
@slide(layout=preview-only)
|
||
|
||
@preview
|
||
{.large .thin-padding}
|
||
|
||
|
||
@slide(layout=preview-only)
|
||
|
||
@preview
|
||
{.large .thin-padding}
|
||
|
||
|
||
@slide(layout=preview-only)
|
||
|
||
@preview
|
||
{.large .thin-padding}
|
||
|
||
|
||
@slide(layout=preview-only)
|
||
|
||
@preview
|
||
{.large}
|
||
|
||
|
||
@slide(layout=preview-only)
|
||
|
||
@preview
|
||
{.large}
|
||
|
||
|
||
@slide(layout=preview-only)
|
||
|
||
@preview
|
||
{.large}
|
||
|
||
|
||
@slide(layout=preview-only)
|
||
|
||
@preview
|
||
{.large}
|
||
|
||
|
||
@slide(layout=preview-only)
|
||
|
||
@preview
|
||
{.large}
|
||
|
||
|
||
@slide(layout=wide-task)
|
||
|
||
@task-number
|
||
15
|
||
|
||
@title
|
||
|
||
Creating and inserting references
|
||
|
||
@content
|
||
* Re-include all sections.
|
||
* Choose a literature database to search for BibTeX references for the following LaTeX handbooks:
|
||
* Leslie Lamport (1994): LaTeX. A Document Preparation System.
|
||
* Dilip Datta (2017): LaTeX in 24 Hours. A Practical Guide for Scientific Writing.
|
||
* Frank Mittelbach / Michel Goossens (2012): Der LaTeX-Begleiter.
|
||
* ++ Add the BibTex entries to the BibTeX file named `l2kurz.bib`.
|
||
<!-- <li class="fragment">Wählt einen Bibliographierstil aus und füge den entsprechenden Befehl per <code>\bibliographystyle{}</code> in deine LaTeX-Datei für das Skript ein.</li> -->
|
||
<!-- <li class="fragment">Füge das Literaturverzeichnis über <code>\bibliography{}</code> in deine LaTeX-Datei ein.</li> -->
|
||
* ++ Cite the three handbook at appropriate places in the document so that they appear in the list of references.
|
||
* ++ Now try and find the passage that creates the list of references. Choose another bibliography style and compare the changes in the PDF.
|
||
|
||
|