Edit: I tried making a MWE, I hope it is correct this way. If not, please let me know!
.tex document:
\documentclass[a4paper,12pt]{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{url}
\usepackage{csquotes}
\usepackage[
backend=biber,
style=authoryear,
bibstyle=authortitle,
sortlocale=de_DE,
natbib=true,
url=true,
doi=true,
eprint=false
]{biblatex}
\DefineBibliographyStrings{german}{%
urlseen = {Stand:},
}
\renewbibmacro*{cite}{%
\iffieldundef{shorthand}
{\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}}
{\usebibmacro{cite:label}%
\setunit{\addspace}}
{\printnames{labelname}%
\setunit{\addspace}%
\ifnamesequal{labelname}{editor}
{\printtext[parens]{\usebibmacro{editorstrg}}}
{}%
\setunit{\nameyeardelim}}%
\ifentrytype{online}
{\setunit{\addcomma\space}%
\usebibmacro{urldate}
\ifnameundef{labelname}
{\setunit{\addcomma\space}%
\usebibmacro{url}
}
{}} }
{\usebibmacro{cite:shorthand}}}
\addbibresource{MWE.bib}
\begin{document}
This is cited from a book \footcite[Vgl.][32\psq]{fritzsch}
This is cited from a website \footcite[Vlg.][]{paulip}
\printbibliography
\end{document}
.bib document:
@Online{paulip,
title = {Pauli-Prinzip},
url = {http://www.chemie.de/lexikon/Pauli-Prinzip.html},
urldate = {2018-08-12},
}
@Book{fritzsch,
author = {Harald Fritzsch},
title = {Elementarteilchen - Bausteine der Materie},
year = {2004},
publisher = {Verlag C.H. Beck},
location = {München},
}
I'm using biblatex and have some issues with citing the way I am required to.
There are three things I need to change, but I am totally lost on how I can do it.
- The "renewbibmacro" snippet of code (which I found online when I wanted to display the url and the date when the url was seen in footcites too when the author is unknown) also changed that the year suddenly isn't shown on book entries anymore, which was not intended. A book footcite should look like this:
I would like the "Stand: urldate" to be displayed after the url and if possible in square brackets [], not round ones ()
What do I need to do so that the last and first name are not separated by a comma in the bibliography and there is a comma instead of a period after the name? Meaning instead of
"Fritzsch, Harald. Elementarteilchen - Bausteine der Materie. München: Verlag C.H. Beck, 2004."
it is
"Fritzsch Harald, Elementarteilchen - Bausteine der Materie. München: Verlag C.H. Beck, 2004."