English translation for chapter 14.
@ -159,6 +159,9 @@ Hinweise zu `longtable`
|
||||
|
||||
@slide(layout=content-only)
|
||||
|
||||
@todo
|
||||
Gegen sidewaystable aus rotating austauschen
|
||||
|
||||
@title
|
||||
Besonders breite Tabellen
|
||||
|
||||
|
||||
@ -161,6 +161,9 @@ Notes on `longtable`
|
||||
@title
|
||||
Particularly wide tables
|
||||
|
||||
@todo
|
||||
Gegen sidewaystable aus rotating austauschen
|
||||
|
||||
@content
|
||||
If you need a table to be wider than a page, you can use a page in landscape orientation:
|
||||
|
||||
|
||||
@ -0,0 +1,124 @@
|
||||
@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>}`
|
||||
* ++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>Unbekannt</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
|
||||
13
|
||||
|
||||
@title
|
||||
|
||||
Creating and inserting references
|
||||
|
||||
@content
|
||||
* Reinclude 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.
|
||||
|
||||
|
||||
BIN
svg/chapter-14/bamberg_catalogue_bibtex.png
Normal file
|
After Width: | Height: | Size: 105 KiB |
1079
svg/chapter-14/bibtex-alpha-example-crop.svg
Normal file
|
After Width: | Height: | Size: 152 KiB |
1079
svg/chapter-14/bibtex-alpha-example-orig.svg
Normal file
|
After Width: | Height: | Size: 152 KiB |
22
svg/chapter-14/bibtex-alpha-example.bbl
Normal file
@ -0,0 +1,22 @@
|
||||
\begin{thebibliography}{Haw88}
|
||||
|
||||
\bibitem[Fra57]{Frank1957}
|
||||
Anne Frank.
|
||||
\newblock {\em Das Tagebuch der Anne Frank}.
|
||||
\newblock Fischer-B{\"u}cherei. Fischer ; Fischer, Frankfurt/M. ; Frankfurt/M.,
|
||||
1957.
|
||||
\newblock EST: Het Achterhuis (dt.).
|
||||
|
||||
\bibitem[Haw88]{Hawking1988}
|
||||
Stephen~W. Hawking.
|
||||
\newblock {\em Eine kurze Geschichte der Zeit. Die Suche nach der Urkraft des
|
||||
Universums}.
|
||||
\newblock Rowohlt, Reinbek bei Hamburg, 23.-42. tsd. edition, 1988.
|
||||
\newblock 238 S. : Ill., graph. Darst.
|
||||
|
||||
\bibitem[Orw57]{Orwell1957}
|
||||
George Orwell.
|
||||
\newblock {\em 1984}.
|
||||
\newblock Diana-Verl., Konstanz, 1957.
|
||||
|
||||
\end{thebibliography}
|
||||
46
svg/chapter-14/bibtex-alpha-example.blg
Normal file
@ -0,0 +1,46 @@
|
||||
This is BibTeX, Version 0.99d (TeX Live 2019/Debian)
|
||||
Capacity: max_strings=100000, hash_size=100000, hash_prime=85009
|
||||
The top-level auxiliary file: bibtex-alpha-example.aux
|
||||
The style file: alpha.bst
|
||||
Database file #1: collection.bib
|
||||
You've used 3 entries,
|
||||
2543 wiz_defined-function locations,
|
||||
582 strings with 4859 characters,
|
||||
and the built_in function-call counts, 882 in all, are:
|
||||
= -- 82
|
||||
> -- 24
|
||||
< -- 3
|
||||
+ -- 6
|
||||
- -- 6
|
||||
* -- 47
|
||||
:= -- 160
|
||||
add.period$ -- 12
|
||||
call.type$ -- 3
|
||||
change.case$ -- 13
|
||||
chr.to.int$ -- 3
|
||||
cite$ -- 3
|
||||
duplicate$ -- 48
|
||||
empty$ -- 76
|
||||
format.name$ -- 12
|
||||
if$ -- 180
|
||||
int.to.chr$ -- 1
|
||||
int.to.str$ -- 0
|
||||
missing$ -- 6
|
||||
newline$ -- 20
|
||||
num.names$ -- 9
|
||||
pop$ -- 19
|
||||
preamble$ -- 1
|
||||
purify$ -- 18
|
||||
quote$ -- 0
|
||||
skip$ -- 30
|
||||
stack$ -- 0
|
||||
substring$ -- 21
|
||||
swap$ -- 3
|
||||
text.length$ -- 3
|
||||
text.prefix$ -- 3
|
||||
top$ -- 0
|
||||
type$ -- 12
|
||||
warning$ -- 0
|
||||
while$ -- 6
|
||||
width$ -- 5
|
||||
write$ -- 47
|
||||
13
svg/chapter-14/bibtex-alpha-example.tex
Normal file
@ -0,0 +1,13 @@
|
||||
\documentclass[a4paper, pdftex, 12pt]{scrartcl}
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage[english]{babel}
|
||||
\usepackage{natbib}
|
||||
\begin{document}
|
||||
\thispagestyle{empty}
|
||||
|
||||
This text thrives on prominently-placed citations (e.\thinspace g. \cite{Frank1957}) of much more prominent literary works \cite[c.\thinspace f.][p. 7]{Orwell1957}, of which \cite{Hawking1988} is only one.
|
||||
\bibliographystyle{alpha}
|
||||
\bibliography{collection}
|
||||
|
||||
\end{document}
|
||||
1045
svg/chapter-14/bibtex-apa-example-crop.svg
Normal file
|
After Width: | Height: | Size: 150 KiB |
1045
svg/chapter-14/bibtex-apa-example-orig.svg
Normal file
|
After Width: | Height: | Size: 151 KiB |
21
svg/chapter-14/bibtex-apa-example.bbl
Normal file
@ -0,0 +1,21 @@
|
||||
\begin{thebibliography}{}
|
||||
|
||||
\bibitem[\protect\astroncite{Frank}{1957}]{Frank1957}
|
||||
Frank, A. (1957).
|
||||
\newblock {\em Das Tagebuch der Anne Frank}.
|
||||
\newblock Fischer-B{\"u}cherei. Fischer ; Fischer, Frankfurt/M. ; Frankfurt/M.
|
||||
\newblock EST: Het Achterhuis (dt.).
|
||||
|
||||
\bibitem[\protect\astroncite{Hawking}{1988}]{Hawking1988}
|
||||
Hawking, S.~W. (1988).
|
||||
\newblock {\em Eine kurze Geschichte der Zeit. Die Suche nach der Urkraft des
|
||||
Universums}.
|
||||
\newblock Rowohlt, Reinbek bei Hamburg, 23.-42. tsd. edition.
|
||||
\newblock 238 S. : Ill., graph. Darst.
|
||||
|
||||
\bibitem[\protect\astroncite{Orwell}{1957}]{Orwell1957}
|
||||
Orwell, G. (1957).
|
||||
\newblock {\em 1984}.
|
||||
\newblock Diana-Verl., Konstanz.
|
||||
|
||||
\end{thebibliography}
|
||||
46
svg/chapter-14/bibtex-apa-example.blg
Normal file
@ -0,0 +1,46 @@
|
||||
This is BibTeX, Version 0.99d (TeX Live 2019/Debian)
|
||||
Capacity: max_strings=100000, hash_size=100000, hash_prime=85009
|
||||
The top-level auxiliary file: bibtex-apa-example.aux
|
||||
The style file: apa.bst
|
||||
Database file #1: collection.bib
|
||||
You've used 3 entries,
|
||||
1940 wiz_defined-function locations,
|
||||
497 strings with 4106 characters,
|
||||
and the built_in function-call counts, 901 in all, are:
|
||||
= -- 88
|
||||
> -- 21
|
||||
< -- 3
|
||||
+ -- 6
|
||||
- -- 6
|
||||
* -- 63
|
||||
:= -- 171
|
||||
add.period$ -- 12
|
||||
call.type$ -- 3
|
||||
change.case$ -- 16
|
||||
chr.to.int$ -- 3
|
||||
cite$ -- 3
|
||||
duplicate$ -- 42
|
||||
empty$ -- 70
|
||||
format.name$ -- 9
|
||||
if$ -- 176
|
||||
int.to.chr$ -- 1
|
||||
int.to.str$ -- 0
|
||||
missing$ -- 6
|
||||
newline$ -- 20
|
||||
num.names$ -- 9
|
||||
pop$ -- 16
|
||||
preamble$ -- 1
|
||||
purify$ -- 18
|
||||
quote$ -- 0
|
||||
skip$ -- 31
|
||||
stack$ -- 0
|
||||
substring$ -- 36
|
||||
swap$ -- 6
|
||||
text.length$ -- 0
|
||||
text.prefix$ -- 0
|
||||
top$ -- 0
|
||||
type$ -- 12
|
||||
warning$ -- 0
|
||||
while$ -- 6
|
||||
width$ -- 0
|
||||
write$ -- 47
|
||||
13
svg/chapter-14/bibtex-apa-example.tex
Normal file
@ -0,0 +1,13 @@
|
||||
\documentclass[a4paper, pdftex, 12pt]{scrartcl}
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage[english]{babel}
|
||||
\usepackage{natbib}
|
||||
\begin{document}
|
||||
\thispagestyle{empty}
|
||||
|
||||
This text thrives on prominently-placed citations (e.\thinspace g. \cite{Frank1957}) of much more prominent literary works \cite[c.\thinspace f.][p. 7]{Orwell1957}, of which \cite{Hawking1988} is only one.
|
||||
\bibliographystyle{apa}
|
||||
\bibliography{collection}
|
||||
|
||||
\end{document}
|
||||
1194
svg/chapter-14/bibtex-natdin-example-crop.svg
Normal file
|
After Width: | Height: | Size: 170 KiB |
1194
svg/chapter-14/bibtex-natdin-example-orig.svg
Normal file
|
After Width: | Height: | Size: 171 KiB |
36
svg/chapter-14/bibtex-natdin-example.bbl
Normal file
@ -0,0 +1,36 @@
|
||||
\begin{thebibliography}{3}
|
||||
|
||||
% this bibliography is generated by nd24.bst [3.0c2] from 2005-12-21
|
||||
|
||||
\providecommand{\natexlab}[1]{#1}
|
||||
\providecommand{\url}[1]{\texttt{#1}}
|
||||
\makeatletter
|
||||
\newcommand{\dinatlabel}[1]%
|
||||
{\ifNAT@numbers\else\NAT@biblabelnum{#1}\fi}
|
||||
\makeatother
|
||||
\expandafter\ifx\csname urlstyle\endcsname\relax
|
||||
\providecommand{\doi}[1]{doi: #1}\else
|
||||
\providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi
|
||||
|
||||
\bibitem[Frank(1957)]{Frank1957}
|
||||
\dinatlabel{Frank 1957} \textsc{Frank}, Anne:
|
||||
\newblock \emph{Das Tagebuch der Anne Frank}.
|
||||
\newblock Frankfurt/M. ; Frankfurt/M. : Fischer ; Fischer, 1957
|
||||
(Fischer-B{\"u}cherei). --
|
||||
\newblock EST: Het Achterhuis (dt.)
|
||||
|
||||
\bibitem[Hawking(1988)]{Hawking1988}
|
||||
\dinatlabel{Hawking 1988} \textsc{Hawking}, Stephen~W.:
|
||||
\newblock \emph{Eine kurze Geschichte der Zeit. Die Suche nach der Urkraft des
|
||||
Universums}.
|
||||
\newblock 23.-42. Tsd.
|
||||
\newblock Reinbek bei Hamburg : Rowohlt, 1988. --
|
||||
\newblock ISBN 3498028847. --
|
||||
\newblock 238 S. : Ill., graph. Darst.
|
||||
|
||||
\bibitem[Orwell(1957)]{Orwell1957}
|
||||
\dinatlabel{Orwell 1957} \textsc{Orwell}, George:
|
||||
\newblock \emph{1984}.
|
||||
\newblock Konstanz : Diana-Verl., 1957
|
||||
|
||||
\end{thebibliography}
|
||||
51
svg/chapter-14/bibtex-natdin-example.blg
Normal file
@ -0,0 +1,51 @@
|
||||
This is BibTeX, Version 0.99d (TeX Live 2019/Debian)
|
||||
Capacity: max_strings=100000, hash_size=100000, hash_prime=85009
|
||||
The top-level auxiliary file: bibtex-natdin-example.aux
|
||||
The style file: natdin.bst
|
||||
Reallocated singl_function (elt_size=4) to 100 items from 50.
|
||||
Reallocated singl_function (elt_size=4) to 100 items from 50.
|
||||
Reallocated wiz_functions (elt_size=4) to 6000 items from 3000.
|
||||
Reallocated singl_function (elt_size=4) to 100 items from 50.
|
||||
Reallocated singl_function (elt_size=4) to 100 items from 50.
|
||||
Database file #1: collection.bib
|
||||
You've used 3 entries,
|
||||
4728 wiz_defined-function locations,
|
||||
907 strings with 6736 characters,
|
||||
and the built_in function-call counts, 1562 in all, are:
|
||||
= -- 149
|
||||
> -- 30
|
||||
< -- 30
|
||||
+ -- 37
|
||||
- -- 10
|
||||
* -- 104
|
||||
:= -- 282
|
||||
add.period$ -- 4
|
||||
call.type$ -- 3
|
||||
change.case$ -- 12
|
||||
chr.to.int$ -- 3
|
||||
cite$ -- 3
|
||||
duplicate$ -- 55
|
||||
empty$ -- 134
|
||||
format.name$ -- 18
|
||||
if$ -- 311
|
||||
int.to.chr$ -- 1
|
||||
int.to.str$ -- 1
|
||||
missing$ -- 12
|
||||
newline$ -- 34
|
||||
num.names$ -- 12
|
||||
pop$ -- 19
|
||||
preamble$ -- 1
|
||||
purify$ -- 18
|
||||
quote$ -- 0
|
||||
skip$ -- 78
|
||||
stack$ -- 0
|
||||
substring$ -- 96
|
||||
swap$ -- 7
|
||||
text.length$ -- 4
|
||||
text.prefix$ -- 0
|
||||
top$ -- 0
|
||||
type$ -- 24
|
||||
warning$ -- 0
|
||||
while$ -- 13
|
||||
width$ -- 0
|
||||
write$ -- 57
|
||||
13
svg/chapter-14/bibtex-natdin-example.tex
Normal file
@ -0,0 +1,13 @@
|
||||
\documentclass[a4paper, pdftex, 12pt]{scrartcl}
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage[english]{babel}
|
||||
\usepackage{natbib}
|
||||
\begin{document}
|
||||
\thispagestyle{empty}
|
||||
|
||||
This text thrives on prominently-placed citations (e.\thinspace g. \cite{Frank1957}) of much more prominent literary works \cite[c.\thinspace f.][p. 7]{Orwell1957}, of which \cite{Hawking1988} is only one.
|
||||
\bibliographystyle{natdin}
|
||||
\bibliography{collection}
|
||||
|
||||
\end{document}
|
||||
BIN
svg/chapter-14/wikipedia_bibtex_1_en.png
Normal file
|
After Width: | Height: | Size: 515 KiB |
BIN
svg/chapter-14/wikipedia_bibtex_2_en.png
Normal file
|
After Width: | Height: | Size: 181 KiB |