Aufgrund einer Störung des s3 Storage, könnten in nächster Zeit folgende GitLab Funktionen nicht zur Verfügung stehen: LFS, Container Registry, Job Artifacs, Uploads (Wiki, Bilder, Projekt-Exporte). Wir bitten um Verständnis. Es wird mit Hochdruck an der Behebung des Problems gearbeitet. Weitere Informationen zur Störung des Object Storage finden Sie hier: https://maintenance.itc.rwth-aachen.de/ticket/status/messages/59-object-storage-pilot

Commit e486be29 authored by Lukas Janek Körfer's avatar Lukas Janek Körfer
Browse files

Fixed formatting of certain fields (title, url, urldate)

parent 2a9b22aa
\ProvidesPackage{wzl-citation}[2018/09/21]
\ProvidesPackage{wzl-citation}[2018/09/25]
\RequirePackage[autostyle]{csquotes}
\RequirePackage[
backend=biber,
style=alphabetic,
maxalphanames=1,
maxnames=50
]{biblatex}
\RequirePackage[backend=biber,style=alphabetic]{biblatex}
% Bibliography name
\DefineBibliographyStrings{ngerman}{
......@@ -14,24 +9,42 @@
}
% Citation style
\DeclareLabelalphaTemplate[]{
\DeclareLabelalphaTemplate{
\labelelement{
\field[uppercase,final]{shorthand}
\field[uppercase]{label}
\field[uppercase,strwidth=4]{labelname}
\field[uppercase,names=1,noalphaothers,strwidth=4]{labelname}
}
\labelelement{
\field[strwidth=2,strside=right]{year}
\field[strwidth=2,strside=right]{urlyear}
}
}
\renewcommand*{\labelalphaothers}{}
% Name format
\DeclareNameFormat{default}{{\usebibmacro{name:family-given}{\namepartfamily}{\namepartgiveni}{\namepartprefix}{\namepartsuffix}}}
\DeclareNameFormat{default}{%
\usebibmacro{name:family-given}%
{\namepartfamily}{\namepartgiveni}%
{\namepartprefix}{\namepartsuffix}%
}
% Name delimiters
\renewcommand{\labelnamepunct}{\addcolon\space}
\renewcommand{\multinamedelim}{\addsemicolon\space}
\renewcommand{\finalnamedelim}{\addsemicolon\space}
% Title format
\DeclareFieldFormat*{title}{#1\isdot}
\DeclareFieldFormat*{journaltitle}{#1\isdot}
\DeclareFieldFormat*{booktitle}{#1\isdot}
\DeclareFieldFormat*{issuetitle}{#1\isdot}
\DeclareFieldFormat*{maintitle}{#1\isdot}
\DeclareFieldFormat*{thesistitle}{#1\isdot}
% URL format
\DeclareFieldFormat*{url}{URL\addcolon\space\url{#1}}
\DeclareFieldFormat*{urldate}{[Stand\addcolon\space#1]}
\DeclareFieldFormat*{volume}{Bd\adddot\space#1}
\endinput
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment