+5 votes
108 views
LaTeX: Create a bibliography - this is how it works

in Office by (552k points)
reopened | 108 views

1 Answer

+3 votes
Best answer

Create a literature file for the LaTeX bibliography
Insert bibliography in LaTeX

Would you like to create a bibliography with LaTeX? We'll show you how this can be done successfully in combination with BibLaTeX and Biber..

image image

For many papers it is necessary to create a bibliography for the sources used. We recommend the modern BibLaTeX package in conjunction with the Biber biblographic processor. Packages in connection with BibTeX are no longer up-to-date and are not recommended. How to set up a file for a bibliography and how to import it into your LaTeX document is explained below.

Create a literature file for the LaTeX bibliography

The basis for a bibliography is a database or literature file with information on the sources used with the extension .bib . There are numerous programs to manage this. We recommend the platform-independent JabRef. In principle, the .bib file can also be changed with any text editor. Each of the entries consists of a " key " that is referred to later in the text. The important information for a bibliography is subdivided below this. These include author (author), title (title of the book or article), year (year of publication) or publisher (Publisher of the book). For a complete list of all possibilities, we refer to the official documentation of the input types from BibLaTeX , which is provided by the University of Fulda. From this information you can now create an entry using a key and input data : @book{aristotle:physics, author = {Aristotle}, title = {Physics}, year = {1929}, publisher = {G. P. Putnam}, } The individual entries must be held in curly brackets and separated by commas . The tedious manual entry is often relieved of the need for pre- prepared BibTeX entries or the JabRef program . Then save the file as " literatur.bib ", for example .

Insert bibliography in LaTeX

You can now include your .bib file \addbibresource{literatur.bib} in your LaTex document using the command . If you now want to refer to the book, that works with the command \cite{key} . The "key" in this case is " aristotle: physics ". You also have to inform LaTeX that you want to use BibLaTeX with the backend Biber. That works: \usepackage[backend=biber, style=alphabetic, ]{biblatex} Alphabetic refers to the citation style . This can of course also be adjusted. The different styles can be found in the BibLaTeX documentation already linked above . Using the command \printbibliography , LaTeX now automatically creates the bibliography for you with all the cited sources. A minimal example looks like this: \documentclass{scrartcl} \usepackage[ngerman]{babel} \usepackage[backend=biber, style=alphabetic, ]{biblatex} \addbibresource{literatur.bib} \begin{document} So nutzen Sie Literaturverweise \cite{aristotle:physics}. Das funktioniert natürlich auf für Online-Beiträge \cite{sonderzeichen2019}. \printbibliography \end{document}

image

by (3.5m points)

Related questions

+4 votes
1 answer
asked Dec 31, 2021 in Office by backtothefuture (552k points) | 94 views
+4 votes
1 answer
asked Dec 21, 2021 in Office by backtothefuture (552k points) | 118 views
+4 votes
1 answer
asked Nov 14, 2021 in Office by backtothefuture (552k points) | 105 views
+4 votes
1 answer
asked Dec 24, 2021 in Office by backtothefuture (552k points) | 92 views
+3 votes
1 answer
asked Dec 21, 2021 in Office by backtothefuture (552k points) | 83 views
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

10,659 questions
10,791 answers
510 comments
3 users