Skip to content

Citation

Johannes Schackniß edited this page Jun 1, 2021 · 5 revisions

Create a bibliography

To quote in LaTeX you have to create a bibliography file. In the template it can be found in the folder 'Directorys' and here you can add literature. An entry needs to have the following format:

@book{key,
 author = {author},
 year = {year},
 title = {title},
 .
 .
 .
}

To make this process easier, you can use other tools like 'Citavi' to create this file for you, and keep your bibliography up to date.

Add note/comment in bibliography

@book{key,
 author = {author},
 year = {year},
 title = {title},
 note = {note after title}
 addendum = {note at the ent of the entry}
 .
 .
 .
}
Field effect
note note/comment is printed behind the title in the bibliography entry
addendum note/comment is printed at the very end of the bibliography entry

WIP - How to use Citavi with LaTeX

Cite media

Input:

In this part of the text I cite a test entry.\cite{test}

% bibliography entry:
% @book{test,                                   %this is the key used in \cite{key}
%  author = {Author},
%  title = {Tile},
%  year = {2020}
% }

Output:

In the text you will get a reference to bibliography entry.

image

In the bibliography you will get an entry for your media.

image

Change the citation style

In the 'Cite entrys' section, the citation style 'numeric-comp' was used, but you can change this to whatever you like. To find a list of possible citation styles go here.

To change the citation style in the template open the file 'Vorlage.tex' and search for the line \usepackage[style=...]{biblatex} in the 'Standard Packages' section. To change the citation style use a possible entry and add it after the '='.

Example: \usepackage[style=numeric-comp]{biblatex}.

Reference page(s)

In the text you will get a reference to the bibliography entry and to the referenced page.

Single page

Input:

\cite[1]{doku}

Output:

WIP

Two pages

Input:

\cite[1\psq]{doku}

Output:

WIP

Three pages

Input:

\cite[1\psqq]{doku}

Output:

WIP

Four and more pages

Input:

\cite[1-4]{doku}

Output:

WIP

Clone this wiki locally