Menu

HowTo_Bibliography

How to create a bibliography

For a bibliography the package biblatex together with the program biber is recommended. More details can be found in the manual for biblatex.

An absolutely minimalistic example of usage can be obtained by adding

\usepackage{biblatex}
\addbibresource{jobname.bib}
% The following lines are only of interest for the example,
% normally you save the bibliography database as a separate
% file!
\begin{filecontents*}{\jobname.bib}
@book{ art:test:O,
  author = {Markus Kohm and Jens-Uwe Morawski},
  title = {{\KOMAScript} - A collection of classes and packages},
  publisher = {Lehmanns Media},
  edition = {0},
  year = {2002},
}
@book{ art:test:7,
  author = {Markus Kohm},
  title = {{\KOMAScript} - A collection of classes and packages},
  publisher = {Lehmanns Media},
  edition = {7},
  year = {2020}
}
\{filecontents}

to the document preamble in the basic templates already shown before \begin{document} and

For an extended tutorial on the KOMA-Script classes, see \cite{art:test:7}.
By the way, in original version \cite{art:test:0} several authors were 
involved.

\printbibliography

at the document end before \end{document}. Then make a LaTeX run, followed by a biber run, followed by two more LaTeX runs.

Unfortunately, some LaTeX editors are still preconfigured to use the old bibtex instead of biber. How to change this can be found in the respective editor instructions or "Biblatex with Biber: Configuring my editor to avoid undefined citations. The use of bibtex especially together with biblatex cannot be recommended nowadays.

Besides the already quite large number of styles that biblatex itself supports (see section "3.3 Standard Styles" of the biblatex manual), there is by the way a large number of additional packages around biblatex. If you want your own modifications that go beyond the settings of the packages, however, they are usually easier to achieve on the basis of the standard styles or the biblatex-ext.


Related

Wiki (English): HowTo_Template

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.