I am currently writing my masterthesis and using biblatex
with style=apa
. There are some laws I have to cite and my prof. asked me to cite them like this: "(GDPR, Art. 1)".
For that I created a new cite command (\parenciteshorttitle
) that does the job for me. Now I need to have a similar command for multicites. Similar to \parencites
. I declared a new multicite command based on \parenciteshorttitle
and it seems to work well. But in the end my cite is missing the parentheses. Does anybody know how I can get them inserted?
Here is my MWE:
\documentclass[a4paper,13pt]{scrartcl}
\usepackage{geometry}
\geometry{left=3.5cm, right=2cm, top=2.5cm, bottom=2cm}
\usepackage[ngerman]{babel}
\usepackage[babel,german=quotes]{csquotes}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{filecontents}
\usepackage{hyperref}
%-------------------------------------------------------------------%
% Bibliography with bibLaTeX %
%-------------------------------------------------------------------%
\usepackage[style=apa]{biblatex}
\bibliography{literatur}
% Zitationsstil für Kurzttitel
\DeclareMultiCiteCommand{\parencitesshorttitle}{\parenciteshorttitle}{\multicitedelim}
\DeclareCiteCommand{\parenciteshorttitle}[\mkbibparens]
{\usebibmacro{cite:init}%
\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\printtext[bibhyperref]{\printfield[cite]{shorttitle}}}
{}
{\usebibmacro{postnote}%
\usebibmacro{cite:post}}
\begin{filecontents}{literatur.bib}
@misc{DSGVO,
author = {{Europ{\"a}ische Union}},
title = {{Verordnung (EU) 2016/679 des Europ{\"a}ischen Parlaments und des Rates vom 27. April 2016 zum Schutz nat{\"u}rlicher Personen bei der Verarbeitung personenbezogener Daten, zum freien Datenverkehr und zur Aufhebung der Richtlinie 95/46/EG (Datenschutz-Grundverordnung): DSGVO}},
url = {https://eur-lex.europa.eu/eli/reg/2016/679/oj},
pages = {1--88},
pagination = {page},
journaltitle = {Abl. (Amtsblatt der Europ{\"a}ischen Union)},
version = {ABl. L 119 vom 4.5.2016, S. 1--88},
year = {2016},
shorttitle = {DSGVO}
}
@misc{GoBD,
author = {{Bundesministerium der Finanzen}},
title = {Grunds{\"a}tze zur ordnungsm{\"a}{\ss}igen F{\"u}hrung und Aufbewahrung von B{\"u}chern, Aufzeichnungen und Unterlagen in elektronischer Form sowie zum Datenzugriff (GoBD)},
pagetotal = {37},
date = {2014-11-14},
version = {IV A 4 - S 0316/13/10003},
year = {2014},
shorttitle = {GoBD}
}
\end{filecontents}
\begin{document}
\section{Ein Kapitel}
Ein Zitat \parenciteshorttitle[Art. 1]{DSGVO}\\
Noch ein Zitat \parencitesshorttitle[Art. 1]{DSGVO}[Rzn. 6]{GoBD}
%-------------------------------------------------------------------
% Literaturverzeichnis
%-------------------------------------------------------------------
\setcounter{secnumdepth}{0} %% no numbering
\printbibliography[title=Literaturverzeichnis]
\end{document}
And this is what it looks like:
I hope that somebody can help me :-)