![Biblatex 定制不起作用](https://linux22.com/image/360287/Biblatex%20%E5%AE%9A%E5%88%B6%E4%B8%8D%E8%B5%B7%E4%BD%9C%E7%94%A8.png)
我正在完成学习作业,但不幸的是我太傻了,无法理解图书馆......目前,作者年份上下文声明为:
--> See executable
我已经弄清楚了如何更改一些基本内容,例如引用中的逗号以及如何更改 URL 以显示无等宽字体和无前缀。不幸的是,现在连字符已损坏并且没有插入换行符。这是我用于自定义(文件modsBiblatex.tex
)的代码:
% Optionen für Biblatex
\ExecuteBibliographyOptions{%
giveninits=false,
isbn=true,
url=true,
doi=false,
eprint=false,
maxbibnames=7, % Alle Autoren (kein et al.)
maxcitenames=1, % Kürzel nur aus 1. Autor
backref=false, % Rückverweise auf Zitatseiten
bibencoding=utf8, % wenn .bib in utf8, sonst ascii
bibwarn=true, % Warnung bei fehlerhafter bib-Datei
}%
%Autoren (Nachname, Vorname)
\DeclareNameAlias{default}{last-first}
\renewcommand*{\nameyeardelim}{\addcomma\addspace} % insert a comma between author and year in-text citations
%Titel nicht kursiv anzeigen
\DeclareFieldFormat{title}{\mkbibquote{#1\isdot}}
% Sourcecode nicht in codecoloumn anzeigen
\DeclareFieldFormat{url}{\url{#1}}
\DeclareFieldFormat{urldate}{#1}
\renewcommand*{\newunitpunct}{\addcomma\space}
% Definiert @Online Eintrag
\DeclareBibliographyDriver{www}{%
\newunit\newblock
\printnames{author}%
\setunit*{\addcomma\space}%
\newunit\newblock
\printfield{title}%
\newunit\newblock
% \setunit*{\space}%
\printfield{url}%
\newunit\newblock
\setunit*{\addcomma\space accessed \space}%
\printfield{urldate}%
\finentry}
这部分\DeclareBibliographyDriver
对我来说不起作用。我已经放弃寻找有关如何自定义它的信息。有人知道一个解释此功能的页面,以便像我这样的新手可以理解它吗?尽管如此,我最重要的问题是:我如何更改字段url
以再次包含自动换行符?
Bib 示例(文件economics.bib
):
@online{EuropeanCentralBank.2017,
abstract = {The three official interest rates the ECB sets every six weeks as part of its monetary policy to steer the provision of liquidity to the banking sector.},
author = {{European Central Bank}},
year = {2017},
title = {Key ECB interest rates},
url = {https://www.ecb.europa.eu/stats/policy_and_exchange_rates/key_ecb_interest_rates-/html/index.en.html},
address = {Frankfurt am Main},
urldate = {12.08.2017}
}
@online{EuropeanCentralBank.2017b,
author = {{European Central Bank}},
editor = {{European Central Bank}},
year = {2017},
title = {Why are stable prices important?},
url = {https://www.ecb.europa.eu/explainers/tell-me-more/html/stableprices.en.html},
urldate = {14.08.2017}
}
@online{EuropeanCentralBank.2017c,
abstract = {Information on the scope of the ECB's monetary policy.},
author = {{European Central Bank}},
year = {2017},
title = {Scope of monetary policy},
url = {https://www.ecb.europa.eu/mopo/intro/role/html/index.en.html},
address = {Frankfurt am Main},
urldate = {14.08.2017}
}
@online{EuropeanCentralBank.2017d,
abstract = {Maintaining price stability: Learn more about the objective of the ECB's monetary policy.},
author = {{European Central Bank}},
year = {2017},
title = {Objective of monetary policy},
url = {https://www.ecb.europa.eu/mopo/intro/objective/html/index.en.html},
address = {Frankfurt am Main},
urldate = {14.08.2017}
}
@online{EuropeanCentralBank.2017e,
author = {{European Central Bank}},
year = {2017},
title = {Monetary policy decisions},
url = {https://www.ecb.europa.eu/press/pr/date/2017/html/ecb.mp170720.en.html},
address = {Frankfurt am Main},
urldate = {12.08.2017}
}
@online{EuropeanCentralBank.2017f,
abstract = {Monetary aggregates and counterparts are derived from the euro area banks' (MFIs') consolidated balance sheet. Monetary aggregates comprise short-term liabilities vis-{\`a}-vis the money holding sector, i.e. non-bank euro area residents excluding central government.},
author = {{European Central Bank}},
year = {2017},
title = {Monetary aggregates},
url = {https://www.ecb.europa.eu/stats/money_credit_banking/monetary_aggregates/html/index.en.html},
address = {Frankfurt am Main},
urldate = {12.08.2017}
}
这是可执行文件(我尽可能地删除了):
\documentclass[12pt,oneside,titlepage,listof=totoc,bibliography=totoc]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[ngerman,USenglish]{babel}
\usepackage[autostyle,english=british]{csquotes}
\usepackage[T1]{fontenc}
\usepackage{fancyhdr}
\usepackage{fancybox}
\usepackage[a4paper, left=4cm, right=2cm, top=2.8cm, bottom=2.3cm]{geometry}
\usepackage{graphicx}
\usepackage{refstyle}
\usepackage{colortbl}
\usepackage{array}
\usepackage{float} %Positionierung von Abb. und Tabellen mit [H] erzwingen
\usepackage{footnote}
\usepackage{caption}
\usepackage{enumitem}
\usepackage{amssymb}
\usepackage{mathptmx}
\usepackage{amsmath}
\usepackage[table]{xcolor}
\usepackage{marvosym} % Verwendung von Symbolen, z.B. perfektes Eurozeichen
\usepackage[colorlinks=true,linkcolor=black]{hyperref}
\definecolor{darkblack}{rgb}{0,0,0}
\hypersetup{colorlinks=true, breaklinks=true, linkcolor=darkblack, menucolor=darkblack, urlcolor=darkblack}
\usepackage{times}
\usepackage{eurosym} % Einbinden von offiziellen Eurosymbolen
%\usepackage{nth} % Bibliothek um das th (eg. 4th of ...) an Datumangaben hochzustellen.
\fontfamily{ptm}\selectfont
% Biblatex
\usepackage[
backend=biber,
style=authoryear,
citestyle=authoryear,
url=false,
isbn=false,
%notetype=footonly,
hyperref=false,
sortlocale=de]{biblatex}
%weitere Anpassungen für BibLaTex
\input{skripte/modsBiblatex}
%Bib-Datei einbinden
\addbibresource{literatur/economics.bib}
%-----------------------------------
% Start the document here:
%-----------------------------------
\begin{document}
This is a text referencing the bib entrys \parencite{EuropeanCentralBank.2017,EuropeanCentralBank.2017b,EuropeanCentralBank.2017c,EuropeanCentralBank.2017d,EuropeanCentralBank.2017e,EuropeanCentralBank.2017f}
\pagenumbering{Roman} % Seitennumerierung auf römisch umstellen
\renewcommand{\refname}{Literature} % "Literatur" in
%"Literaturverzeichnis" umbenennen
\newcolumntype{C}{>{\centering\arraybackslash}X} % Neuer Tabellen-Spalten-Typ:
%Zentriert und umbrechbar
%-----------------------------------
% Literaturverzeichnis
%-----------------------------------
\newpage
%\addcontentsline{toc}{section}{Literatur}
\printbibliography
\end{document}
我的问题:
- 您知道任何用于自定义参考书目和驱动程序的简单文档吗?
- 您知道如何在 URL 中获取连字符而不显示在等宽字体中吗?(我需要罗马字体)
- 原因是什么,字段urldate
和前缀“accessed”没有显示?
答案1
最后你这里有三个问题:
您是否知道任何用于定制参考书目和驱动程序的简单文档?
这里的问题在于你所说的“简单”是什么意思。我认为这是个人观点。“最佳”文档是软件包附带的文档。你可以从终端
biblatex
阅读它。texdoc biblatex
您知道如何在 URL 中获取连字符而不显示在等宽字体中吗?(我需要罗马字体)
要以罗马字母打印 url,请使用命令。要恢复连字符,请使用包中的
\urlstyle{rm}
命令:\url
url
\DeclareFieldFormat{url}{\url{#1}}
什么原因,字段urldate和前缀“accessed”没有显示?
您在参赛作品中使用的日期格式错误,例如
urldate = {12.08.2017}
。正确的格式是 yyyy-mm-dd,因此请使用urldate = {2017-08-12}
我将您给出的代码片段组合成可编译的代码,并<======
在代码中标记所有重要的更改。
以下 MWE
\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}
@online{EuropeanCentralBank.2017,
abstract = {The three official interest rates the ECB sets every six weeks as part of its monetary policy to steer the provision of liquidity to the banking sector.},
author = {{European Central Bank}},
year = {2017},
title = {Key ECB interest rates},
url = {https://www.ecb.europa.eu/stats/policy_and_exchange_rates/key_ecb_interest_rates-/html/index.en.html},
address = {Frankfurt am Main},
urldate = {2017-08-12}
}
@online{EuropeanCentralBank.2017b,
author = {{European Central Bank}},
editor = {{European Central Bank}},
year = {2017},
title = {Why are stable prices important?},
url = {https://www.ecb.europa.eu/explainers/tell-me-more/html/stableprices.en.html},
urldate = {2017-08-12}
}
@online{EuropeanCentralBank.2017c,
abstract = {Information on the scope of the ECB's monetary policy.},
author = {{European Central Bank}},
year = {2017},
title = {Scope of monetary policy},
url = {https://www.ecb.europa.eu/mopo/intro/role/html/index.en.html},
address = {Frankfurt am Main},
urldate = {2017-08-12}
}
@online{EuropeanCentralBank.2017d,
abstract = {Maintaining price stability: Learn more about the objective of the ECB's monetary policy.},
author = {{European Central Bank}},
year = {2017},
title = {Objective of monetary policy},
url = {https://www.ecb.europa.eu/mopo/intro/objective/html/index.en.html},
address = {Frankfurt am Main},
urldate = {2017-08-12}
}
@online{EuropeanCentralBank.2017e,
author = {{European Central Bank}},
year = {2017},
title = {Monetary policy decisions},
url = {https://www.ecb.europa.eu/press/pr/date/2017/html/ecb.mp170720.en.html},
address = {Frankfurt am Main},
urldate = {2017-08-12}
}
@online{EuropeanCentralBank.2017f,
abstract = {Monetary aggregates and counterparts are derived from the euro area banks' (MFIs') consolidated balance sheet. Monetary aggregates comprise short-term liabilities vis-{\`a}-vis the money holding sector, i.e. non-bank euro area residents excluding central government.},
author = {{European Central Bank}},
year = {2017},
title = {Monetary aggregates},
url = {https://www.ecb.europa.eu/stats/money_credit_banking/monetary_aggregates/html/index.en.html},
address = {Frankfurt am Main},
urldate = {2017-08-12}
}
\end{filecontents}
\documentclass[12pt,oneside,titlepage,listof=totoc,bibliography=totoc]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[ngerman,USenglish]{babel}
\usepackage[autostyle,english=british]{csquotes}
\usepackage[T1]{fontenc}
\usepackage[%
a4paper, left=4cm, right=2cm, top=2.8cm, bottom=2.3cm,
showframe % <=========================================================
]{geometry}
% Biblatex
\usepackage[%
backend=biber,
style=authoryear,
% citestyle=authoryear, % <=============================================
url=false,
isbn=false,
% notetype=footonly,
hyperref=false,
sortlocale=de
]{biblatex}
\usepackage[table]{xcolor}
\usepackage[colorlinks=true,linkcolor=black]{hyperref}
\definecolor{darkblack}{rgb}{0,0,0}
\hypersetup{colorlinks=true, breaklinks=true, linkcolor=darkblack,
menucolor=darkblack, urlcolor=darkblack}
% Optionen für Biblatex
\ExecuteBibliographyOptions{%
giveninits=false,
isbn=true,
url=true,
doi=false,
eprint=false,
maxbibnames=7, % Alle Autoren (kein et al.)
maxcitenames=1, % Kürzel nur aus 1. Autor
backref=false, % Rückverweise auf Zitatseiten
bibencoding=utf8, % wenn .bib in utf8, sonst ascii
bibwarn=true, % Warnung bei fehlerhafter bib-Datei
}%
%Autoren (Nachname, Vorname)
\DeclareNameAlias{default}{family-given} % <============================
\renewcommand*{\nameyeardelim}{\addcomma\addspace} % insert a comma between author and year in-text citations
%Titel nicht kursiv anzeigen
\DeclareFieldFormat{title}{\mkbibquote{#1\isdot}}
% Sourcecode nicht in codecoloumn anzeigen
\DeclareFieldFormat{url}{\url{#1}} % <==================================
\urlstyle{rm} % <=======================================================
\DeclareFieldFormat{urldate}{#1}
\renewcommand*{\newunitpunct}{\addcomma\space}
% Definiert @Online Eintrag
\DeclareBibliographyDriver{online}{% www <==============================
\newunit\newblock
\printnames{author}%
\setunit*{\addcomma\space}%
\newunit\newblock
\printfield{title}%
\newunit\newblock
% \setunit*{\space}%
\printfield{url}%
\newunit\newblock
\setunit*{\addcomma\space accessed \space}%
\printfield{urldate}%
\finentry}
%Bib-Datei einbinden
\addbibresource{\jobname.bib} % <======= to used the bib file created with filecontents
%-----------------------------------
% Start the document here:
%-----------------------------------
\begin{document}
This is a text referencing the bib entrys
\parencite{EuropeanCentralBank.2017,EuropeanCentralBank.2017b,
EuropeanCentralBank.2017c,EuropeanCentralBank.2017d,
EuropeanCentralBank.2017e,EuropeanCentralBank.2017f}
\pagenumbering{Roman} % Seitennumerierung auf römisch umstellen
\renewcommand{\refname}{Literature} % "Literatur" in "Literaturverzeichnis" umbenennen
%-----------------------------------
% Literaturverzeichnis
%-----------------------------------
%\newpage
%\addcontentsline{toc}{section}{Literatur}
\printbibliography
\end{document}
给出结果:
你的第四个问题这就是为什么\DeclareBibliographyDriver{www}
不起作用的原因。因为www
只是一个别名,所以更改www
为online
。似乎urldate
没有正确定义,因此不会使用您自己的驱动程序打印。一个快速的解决方法是更改\printfield{urldate}%
为使用urlday
,urlmonth
而urlyear
不是(根据需要更改顺序):
\DeclareBibliographyDriver{online}{% www <==============================
\newunit\newblock
\printnames{author}%
\setunit*{\addcomma\space}%
\newunit\newblock
\printfield{title}%
\newunit\newblock
\printfield{url}%
\newunit\newblock
\setunit*{\addcomma\space accessed \space}%
\printfield{urlyear}\printtext{-}\printfield{urlmonth}\printtext{-}\printfield{urlday}% <=================================
\finentry}
然后你会得到以下结果:
urldate
如果您像这样定义文件:
\DeclareFieldFormat{urldate}{\addcomma\space\printtext{accessed}\space #1}
如果您注释掉您自己的驱动程序,您将得到一个逗号,然后是“访问”和当前表单中的日期online
。驱动程序online
已经定义了比您自己的驱动程序更多的功能。
更改 bib 条目(在第一个条目中添加编辑器和注释)后,即可获得结果
具有以下 MWE:
\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}
@online{EuropeanCentralBank.2017,
abstract = {The three official interest rates the ECB sets every six
weeks as part of its monetary policy to steer the provision
of liquidity to the banking sector.},
author = {{European Central Bank}},
editor = {John Doe},
year = {2017},
title = {Key ECB interest rates},
url = {https://www.ecb.europa.eu/stats/policy_and_exchange_rates/key_ecb_interest_rates-/html/index.en.html},
address = {Frankfurt am Main},
urldate = {2017-08-12},
note = {testnote testnote testnote},
}
@online{EuropeanCentralBank.2017b,
author = {{European Central Bank}},
editor = {{European Central Bank}},
year = {2017},
title = {Why are stable prices important?},
url = {https://www.ecb.europa.eu/explainers/tell-me-more/html/stableprices.en.html},
urldate = {2017-08-12}
}
@online{EuropeanCentralBank.2017c,
abstract = {Information on the scope of the ECB's monetary policy.},
author = {{European Central Bank}},
year = {2017},
title = {Scope of monetary policy},
url = {https://www.ecb.europa.eu/mopo/intro/role/html/index.en.html},
address = {Frankfurt am Main},
urldate = {2017-08-12}
}
@online{EuropeanCentralBank.2017d,
abstract = {Maintaining price stability: Learn more about the objective of the ECB's monetary policy.},
author = {{European Central Bank}},
year = {2017},
title = {Objective of monetary policy},
url = {https://www.ecb.europa.eu/mopo/intro/objective/html/index.en.html},
address = {Frankfurt am Main},
urldate = {2017-08-12}
}
@online{EuropeanCentralBank.2017e,
author = {{European Central Bank}},
year = {2017},
title = {Monetary policy decisions},
url = {https://www.ecb.europa.eu/press/pr/date/2017/html/ecb.mp170720.en.html},
address = {Frankfurt am Main},
urldate = {2017-08-12}
}
@online{EuropeanCentralBank.2017f,
abstract = {Monetary aggregates and counterparts are derived from the euro area banks' (MFIs') consolidated balance sheet. Monetary aggregates comprise short-term liabilities vis-{\`a}-vis the money holding sector, i.e. non-bank euro area residents excluding central government.},
author = {{European Central Bank}},
year = {2017},
title = {Monetary aggregates},
url = {https://www.ecb.europa.eu/stats/money_credit_banking/monetary_aggregates/html/index.en.html},
address = {Frankfurt am Main},
urldate = {2017-08-12}
}
\end{filecontents}
\documentclass[12pt,oneside,titlepage,listof=totoc,bibliography=totoc]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[ngerman,USenglish]{babel}
\usepackage[autostyle,english=british]{csquotes}
\usepackage[T1]{fontenc}
\usepackage[%
a4paper, left=4cm, right=2cm, top=2.8cm, bottom=2.3cm,
showframe % <=========================================================
]{geometry}
% Biblatex
\usepackage[%
backend=biber,
style=authoryear,
% citestyle=authoryear, % <=============================================
% notetype=footonly,
hyperref=false,
sortlocale=de,
giveninits=false,
isbn=true,
url=true,
doi=false,
eprint=false,
maxbibnames=7, % Alle Autoren (kein et al.)
maxcitenames=1, % Kürzel nur aus 1. Autor
backref=false, % Rückverweise auf Zitatseiten
bibencoding=utf8, % wenn .bib in utf8, sonst ascii
bibwarn=true, % Warnung bei fehlerhafter bib-Datei
]{biblatex}
\usepackage[table]{xcolor}
\usepackage[colorlinks=true,linkcolor=black]{hyperref}
\definecolor{darkblack}{rgb}{0,0,0}
\hypersetup{%
colorlinks=true,
breaklinks=true,
linkcolor=darkblack,
menucolor=darkblack,
urlcolor=darkblack
}
%Autoren (Nachname, Vorname)
\DeclareNameAlias{default}{family-given} % <============================
\renewcommand*{\nameyeardelim}{\addcomma\addspace} % insert a comma between author and year in-text citations
%Titel nicht kursiv anzeigen
\DeclareFieldFormat{title}{\mkbibquote{#1\isdot}}
% Sourcecode nicht in codecoloumn anzeigen
\DeclareFieldFormat{url}{\url{#1}} % <==================================
\urlstyle{rm} % <=======================================================
\DeclareFieldFormat{urldate}{\addcomma\space\printtext{accessed}\space #1} % <===============
\renewcommand*{\newunitpunct}{\addcomma\space}
% Definiert @Online Eintrag
%\DeclareBibliographyDriver{online}{% www <==============================
%\newunit\newblock
%\printnames{author}%
%\setunit*{\addcomma\space}%
%\newunit\newblock
%\printfield{title}%
%\newunit\newblock
%\printfield{url}%
%\newunit\newblock
%\setunit*{\addcomma\space accessed \space}%
%\printfield{urlyear}\printtext{-}\printfield{urlmonth}\printtext{-}\printfield{urlday}% <===========================================
%%\printfield{urldate}
%\finentry}
%Bib-Datei einbinden
\addbibresource{\jobname.bib} % <======= to used the bib file created with filecontents
%-----------------------------------
% Start the document here:
%-----------------------------------
\begin{document}
This is a text referencing the bib entrys
\parencite{EuropeanCentralBank.2017,EuropeanCentralBank.2017b,
EuropeanCentralBank.2017c,EuropeanCentralBank.2017d,
EuropeanCentralBank.2017e,EuropeanCentralBank.2017f}
\pagenumbering{Roman} % Seitennumerierung auf römisch umstellen
\renewcommand{\refname}{Literature} % "Literatur" in "Literaturverzeichnis" umbenennen
\printbibliography
\end{document}
答案2
我认为你可以用比其他答案更简单的方式做事(特别是在urldate
处理方面)。
但您的原始问题中仍存在一些令人困惑的地方。
例如,
- 您想要“英国”风格还是“美国”风格的引语?
- 您想要德国 (2017 年 8 月 12 日) 还是美国 (2017 年 12 月 8 日) 风格的短日期吗?
- 你想要全部标题是用引号括起来的还是仅仅是
online
条目类型的标题? - 你真的想要
date
在参考书目中隐藏该字段吗?(该date
字段应包含文章撰写日期和urldate
访问日期)。我保留了它。
我也没有重写驱动程序,因为如果你这样做,你将失去很多功能和灵活性。最好修改单个 bibmacros 或清除每个书目项的字段以调整输出。
\RequirePackage{filecontents}
\begin{filecontents}{\jobname.bib}
@online{EuropeanCentralBank.2017,
author = {{European Central Bank}},
year = {2017},
title = {Key ECB interest rates},
url = {https://www.ecb.europa.eu/stats/policy_and_exchange_rates/key_ecb_interest_rates-/html/index.en.html},
address = {Frankfurt am Main},
urldate = {2017-08-12}
}
@online{EuropeanCentralBank.2017b,
author = {{European Central Bank}},
editor = {{European Central Bank}},
year = {2017},
title = {Why are stable prices important?},
url = {https://www.ecb.europa.eu/explainers/tell-me-more/html/stableprices.en.html},
urldate = {2017-08-12}
}
@online{EuropeanCentralBank.2017c,
abstract = {Information on the scope of the ECB's monetary policy.},
author = {{European Central Bank}},
year = {2017},
title = {Scope of monetary policy},
url = {https://www.ecb.europa.eu/mopo/intro/role/html/index.en.html},
address = {Frankfurt am Main},
urldate = {2017-08-12}
}
@online{EuropeanCentralBank.2017d,
abstract = {Maintaining price stability: Learn more about the objective of the ECB's monetary policy.},
author = {{European Central Bank}},
year = {2017},
title = {Objective of monetary policy},
url = {https://www.ecb.europa.eu/mopo/intro/objective/html/index.en.html},
address = {Frankfurt am Main},
urldate = {2017-08-12}
}
@online{EuropeanCentralBank.2017e,
author = {{European Central Bank}},
year = {2017},
title = {Monetary policy decisions},
url = {https://www.ecb.europa.eu/press/pr/date/2017/html/ecb.mp170720.en.html},
address = {Frankfurt am Main},
urldate = {2017-08-12}
}
@online{EuropeanCentralBank.2017f,
author = {{European Central Bank}},
year = {2017},
title = {Monetary aggregates},
url = {https://www.ecb.europa.eu/stats/money_credit_banking/monetary_aggregates/html/index.en.html},
address = {Frankfurt am Main},
urldate = {2017-08-12}
}
\end{filecontents}
\documentclass{article}
\usepackage{xpatch}
\usepackage[ngerman,american]{babel}
\usepackage{csquotes}
\usepackage[style=authoryear,sortlocale=de,doi=false,eprint=false,
maxbibnames=7,maxcitenames=1,dashed=false]{biblatex}
% use a comma between fields in bibliography
\renewcommand*{\newunitpunct}{\addcomma\space}
% use a comma between name and year in citations
\renewcommand*{\nameyeardelim}{\addcomma\addspace}
% set name format to family, given
\DeclareNameAlias{default}{family-given}
% enquote *all* titles (is this what you want?)
\DeclareFieldFormat{title}{\mkbibquote{#1\isdot}}
% remove ᴜʀʟ: prefix
\DeclareFieldFormat{url}{\url{#1}}
% remove parentheses around urldate
\DeclareFieldFormat{urldate}{\bibstring{urlseen}\space#1}
% Roman style urls
\urlstyle{rm}
% comma instead of space between url and urldate
\xpatchbibmacro{url+urldate}
{\setunit*{\addspace}}
{\newunit}
{}{}
\AtEveryBibitem{%
\ifentrytype{online}
{% don't print date (is this really what you want?)
\renewbibmacro*{date+extrayear}{}%
% don't print editor (but what if there is no author?)
\clearname{editor}%
% don't print translator (but what if there is no editor or author?)
\clearname{translator}}
{}}
% redefine urlseen string to be accessed
\DefineBibliographyStrings{american}{%
urlseen = {accessed}
}
% use German style short dates (is this what you want?)
% this is taken from german.lbx
\DefineBibliographyExtras{american}{%
\protected\def\mkbibdateshort#1#2#3{%
\iffieldundef{#3}
{}
{\mkdayzeros{\thefield{#3}}\adddot
\iffieldundef{#2}{}{\thinspace}}%
\iffieldundef{#2}
{}
{\mkmonthzeros{\thefield{#2}}%
\iffieldundef{#1}
{}
{\iffieldundef{#3}{/}{\adddot\thinspace}}}%
\iffieldbibstring{#1}
{\bibstring{\thefield{#1}}}
{\dateeraprintpre{#1}\mkyearzeros{\thefield{#1}}}}%
}
\addbibresource{\jobname.bib}
\pagestyle{empty}
\begin{document}
\parencite{EuropeanCentralBank.2017,EuropeanCentralBank.2017b,
EuropeanCentralBank.2017c,EuropeanCentralBank.2017d,
EuropeanCentralBank.2017e,EuropeanCentralBank.2017f}
\printbibliography[title=Literatur]
\end{document}