I'm trying to get rid of the comma that's in between the url and the url date. I'm using
\DeclareFieldFormat{urldate}{%
[letzter Zugriff: %
\thefield{urlday}.
\thefield{urlmonth}.
\thefield{urlyear}\isdot]}
to get the urldate to show up as I want it to. The output with the link in front of it looks like this:
What I want is to get rid of the comma before the open square bracket.
My MWE looks like this:
%!TEX program = lualatex
\documentclass[a4paper, 11pt]{article}
\usepackage[a4paper,left=3cm,right=2.7cm,top=2.5cm,bottom=2.5cm]{geometry}
\usepackage{polyglossia}
\usepackage{fontspec}
\usepackage{setspace} %Zeilenabstand auf 1.5
\setstretch{1.4}
\setdefaultlanguage[spelling=new]{german}
\setmainfont{Arial}
\setlength{\emergencystretch}{2pt}
\usepackage[style=authoryear-ibid,backend=biber, natbib=true, dashed=false, doi=false, isbn=false, eprint=false]{biblatex} % , block=ragged
\addbibresource{verzeichnis.bib}
\DeclareDelimFormat[bib,biblist]{nametitledelim}{\addcolon\space} % Doppelpunkt nach Jahr in Literaturverzeichnis,
\renewcommand*{\newunitpunct}{\addcomma\space}
\DeclareFieldFormat{urldate}{%
[letzter Zugriff: %
\thefield{urlday}.%\addspace % addcomma works !!!
\thefield{urlmonth}.%\addspace%
\thefield{urlyear}\isdot]}
%%%Für klickbare ToC
\usepackage{hyperref}
\hypersetup{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=black,
breaklinks=true
}
\begin{document}
....
\nocite{*}
\begingroup
\raggedright
\sloppy
\printbibliography
\endgroup
\end{document}
Bibliography:
@misc{Born.04.05.2020,
author = {Frobeen, Anne},
year = {04.05.2020},
title = {Lernen im Schlaf: - ein Interview mit Schlafforscher Jan Born},
address = {in: https://www.tk.de/techniker/magazin/life-balance/besser-schlafen/schlaf-lernen-gedaechtnis-interview-jan-born-2059292},
urldate = {2021-02-20}
}
urldate
is not the way to do this.urldate
field format shown in the question: It is usually much better to use bibstrings than to hard-code text and the definition shown in the question completely disables all ofbiblatex
's carefully crafted date handling and replaces it with a very basic approximation of manual date printing. If you got morebiblatex
advice from the same source you got that code from, you may want to reconsider that as well.