% Schrift auf Times New Roman (auskommentiert, aktivieren bei Bedarf) %\usepackage{fontspec} \setmainfont{Times New Roman} % 1,5facher Zeilenabstand \usepackage{setspace} \onehalfspacing % rechtsbündig %\raggedright % Deaktiviert die Silbentrennung (optional, auskommentiert) %\hyphenpenalty=10000 %\exhyphenpenalty=10000 % Pakete laden \usepackage{csquotes} \usepackage[ backend=biber, style=ext-authoryear, giveninits=false, maxbibnames=99, maxcitenames=2, uniquename=false, uniquelist=false, sorting=nyt, isbn=false, doi=false, url=false ]{biblatex} % Namen als "Vorname Nachname" ausgeben \DeclareNameAlias{author}{given-family} \DeclareNameAlias{editor}{given-family} % Trennung mehrerer Namen mit Schrägstrich \renewcommand*\multinamedelim{\,/\ } \renewcommand*\finalnamedelim{\,/\ } % Titel und Untertitel formatieren \DeclareFieldFormat{title}{\mkbibemph{#1\adddot}} \DeclareFieldFormat{subtitle}{\addspace#1\adddot} \renewcommand{\subtitlepunct}{\addperiod\space} % Herausgeber:innen kennzeichnen \DefineBibliographyStrings{ngerman}{% editor = {(Hg.)}, editors = {(Hg.)}, byeditor = {hg\adddot}, } \renewbibmacro*{byeditor+others}{% \ifnameundef{editor} {} {\printnames{editor}% \setunit{\addspace}% \printtext{\mkbibparens{\bibstring{editor}}}% \newunit}% } % Anpassung des 'in:' Makros \renewbibmacro{in:}{% \printtext{\bibstring{in}\space}} % Verlag entfernen \AtEveryBibitem{% \clearfield{publisher}% } % Anpassung der Orts- und Jahresangaben \AtEveryBibitem{% \iflistundef{location}{% \def\mylocation{, \mkbibbrackets{o\adddot O\adddot}}% }{% \def\mylocation{\printlist{location}}% }% \iffieldundef{year}{% \def\myyear{ \mkbibbrackets{o\adddot J\adddot}}% }{% \def\myyear{\printfield{year}}% }% } \renewbibmacro*{publisher+location+date}{% \mylocation% \setunit{\addspace}% \myyear% \newunit} % Auflage mit "Aufl." ausgeben \DeclareFieldFormat{edition}{#1.\addspace Aufl\adddot} % Auflage nur angeben, wenn vorhanden \AtEveryBibitem{% \ifboolexpr{ test {\iffieldundef{edition}} }{% \clearfield{edition}% }{}% } % Seitenzahlen ohne "S." im Zitat \DeclareFieldFormat{postnote}{#1} \DeclareFieldFormat{multipostnote}{#1} % Gesamtseitenzahl mit "S." ausgeben \DeclareFieldFormat{pagetotal}{#1\addspace S\adddot} % Anpassung des 'series+number' Makros \renewbibmacro{series+number}{% \ifentrytype{book}{% \iffieldundef{series}{}{% \setunit{\addspace}% \printtext{(% \printfield{series}% \iffieldundef{number} {} {\addspace\printfield{number}}% )}% }% }{}% } % Definieren der Trennzeichen für Mehrfachzitate \DeclareDelimFormat{multicitedelim}{\addsemicolon\space} \DeclareDelimFormat{finalcitedelim}{\addsemicolon\space} % \autocites und \Autocites auf \parencites verweisen \renewcommand*{\autocites}{\parencites} \renewcommand*{\Autocites}{\parencites} % Weitere Anpassungen für Internetquellen % Datum für online-Einträge entfernen \AtEveryBibitem{% \ifentrytype{online}{% \clearfield{year}% \clearfield{date}% }{}% } % Formatierung des url-Feldes mit Hyperlink \DeclareFieldFormat{url}{\url{#1}} % Formatierung des urldate-Feldes \DeclareFieldFormat{urldate}{% \mkbibparens{Aufruf: #1}} % Zitationsschlüssel im Literaturverzeichnis in eckigen Klammern anzeigen %\renewbibmacro*{begentry}{% % \mkbibbrackets{\printfield{entrykey}}\addspace% %} \DeclareBibliographyDriver{book}{% %\usebibmacro{begentry}% \ifnameundef{author} {}% Wenn kein Autor vorhanden ist, nichts tun {% \printnames{author}% \addcomma\space% }% \printfield{title}% \space% \printfield{subtitle}% \adddot\space% \usebibmacro{series+number}% \setunit{\addcomma\space}% \printfield{edition}% \setunit{\addcomma\space}% \usebibmacro{publisher+location+date}% \newunit\newblock% \printfield{pagetotal}% \adddot% \usebibmacro{finentry}% } % Bibliographietreiber für online-Einträge anpassen \DeclareBibliographyDriver{online}{% \printnames{author}% \adddot\space% \printfield{title}% \adddot\space% \printfield{url}% \setunit{\addspace}% \printurldate% \adddot% \usebibmacro{finentry}% } % Hyperref-Einstellungen anpassen \usepackage{hyperref}