von markusv » Do 19. Okt 2017, 08:07
Achte immer darauf, ein lauffähiges
Minimalbeispiel zu posten:
deine Angaben zur Quelle stimmt nicht mit dem Namen der bib in der filecontents-Umgebung überein. Außerdem wird kein Inhalt produziert.
\documentclass[a4paper,fontsize=12pt,bibliography=totoc]{scrartcl}
\usepackage[ngerman]{babel}
\usepackage[style=numeric, autocite = superscript]{biblatex}
\addbibresource{Literatur.bib} %geändert
\DeclareFieldFormat{title}{#1}
\DeclareFieldFormat[online]{url}{\url{#1}}
\DeclareNameAlias{author}{last-first}
\renewcommand*{\multinamedelim}{\addcomma\space}
\renewcommand*{\finalnamedelim}{\addcomma\space}
\renewcommand*{\labelnamepunct}{\addcolon\addspace}
\begin{filecontents}{Literatur.bib}
@BOOK{dhillon,
AUTHOR = {Dhillon, B.S.},
TITLE = {Life Cycle Costing for Engineers},
PUBLISHER = {CRC Press},
YEAR = {2010},
ADDRESS = {New York},
}
@online{Kraftfahrt-Bundesamt,
author = {Kraftfahrt-Bundesamt},
title = {{Kraftfahrt-Bundesamt - Fahrerlaubnisbestand im Zentralen Fahrerlaubnisregister }},
url = {https://www.kba.de/DE/Statistik/Kraftfahrer/Fahrerlaubnisse/Fahrerlaubnisbestand/fahrerlaubnisbestand_node.html},
urldate = {2017-07-29}
}
\end{filecontents}
\begin{document}
\tableofcontents
\autocite{dhillon,Kraftfahrt-Bundesamt}
\printbibliography[title={Literaturverzeichnis}]
%\addcontentsline{toc}{section}{Literaturverzeichnis} %siehe KOMA-Option
\end{document}
Achte immer darauf, ein lauffähiges [m][/m] zu posten:
deine Angaben zur Quelle stimmt nicht mit dem Namen der bib in der filecontents-Umgebung überein. Außerdem wird kein Inhalt produziert.
[code]\documentclass[a4paper,fontsize=12pt,bibliography=totoc]{scrartcl}
\usepackage[ngerman]{babel}
\usepackage[style=numeric, autocite = superscript]{biblatex}
\addbibresource{Literatur.bib} %geändert
\DeclareFieldFormat{title}{#1}
\DeclareFieldFormat[online]{url}{\url{#1}}
\DeclareNameAlias{author}{last-first}
\renewcommand*{\multinamedelim}{\addcomma\space}
\renewcommand*{\finalnamedelim}{\addcomma\space}
\renewcommand*{\labelnamepunct}{\addcolon\addspace}
\begin{filecontents}{Literatur.bib}
@BOOK{dhillon,
AUTHOR = {Dhillon, B.S.},
TITLE = {Life Cycle Costing for Engineers},
PUBLISHER = {CRC Press},
YEAR = {2010},
ADDRESS = {New York},
}
@online{Kraftfahrt-Bundesamt,
author = {Kraftfahrt-Bundesamt},
title = {{Kraftfahrt-Bundesamt - Fahrerlaubnisbestand im Zentralen Fahrerlaubnisregister }},
url = {https://www.kba.de/DE/Statistik/Kraftfahrer/Fahrerlaubnisse/Fahrerlaubnisbestand/fahrerlaubnisbestand_node.html},
urldate = {2017-07-29}
}
\end{filecontents}
\begin{document}
\tableofcontents
\autocite{dhillon,Kraftfahrt-Bundesamt}
\printbibliography[title={Literaturverzeichnis}]
%\addcontentsline{toc}{section}{Literaturverzeichnis} %siehe KOMA-Option
\end{document}[/code]