# Add URL field to footcites using style=authortitle-icomp

I would like to add the field URL for footcited @online{} items. The biblatex manual was not helpful for me. I use biber and biblatex with the following options:

\usepackage[
backend=biber,
style=authortitle-icomp,
sortlocale=de DE,
natbib=true,
url=true,
doi=false,
eprint=true
]{biblatex}


I know that the URL is printed if I select e.g.

style=verbose-ibid


, but I definitely want to stick to

style=authortitle-icomp


I would accept a solution if it would mean that the URL field is printed for each source, because I only have URLs in my cited websources.

Here is a minimal working example

\documentclass[a4paper,12pt,twoside]{report}

\listfiles
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@ARTICLE{some_article,
author = {Nachname1, Vorname1},
title = {Titel1},
journaltitle = {Zeitschrift},
date = {2006},
volume = {6},
pages = {19--75}
}
@online{some_website,
author = {Nachname2, Vorname2},
title = {Titel2},
year = 2014,
url = {example.com/index.html},
urldate = {2012-26-11}
}
\end{filecontents}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{csquotes}

\usepackage[
backend=biber,
style=authortitle-icomp,
%style=verbose-ibid,
sortlocale=de DE,
natbib=true,
url=true,
doi=false,
eprint=true
]{biblatex}

\bibliography{\jobname}

\begin{document}

some text here \footcite{some_article}, some text there \footcite{some_website}

\printbibliography
\end{document}


Using style=verbose-ibid prints the URL but puts also a lot of information that I don't want. Note that I also want to stick to the document class report (using, e.g., document class article prints the URL in that scenario).

However, from this Link (sorry it is in german) I tried to build a solution:

\renewbibmacro*{cite}{
\iffieldundef{shorthand}{
\ifnameundef{labelname}{}{
\printnames{labelname}
\setunit{\nametitledelim}
}
\usebibmacro{cite:title}
\iffieldundef{url}{}{
\setunit{\nameyeardelim}
\printfield{url}
}
}
{\usebibmacro{cite:shorthand}}
}


It prints the URL but messes up the automatic abbreviations "i.b." (in german "Ebd.") for repeated citiations, i.e., all citations are then explicitly printed.

• The verbose styles are intended for cases where you do not have a separate bibliography. If you want full citations in the footnotes, then you need a style of that kind. – cfr Jan 1 '15 at 22:41

After studying the style fileauthortitle-icomp.cbxin more detail, I came up with a solution by redefining the bibmacrocite:title.
\renewbibmacro*{cite:title}{%

The redefined bibmacro checks (for any source) if the field url is defined, if so it appends a comma followed by the value of field url. I placed the code at the preamble of my latex document.