For citations as in C, you could write \parencite[Kap.~4]{testart}
or \parencite[5]{testart}
(see examples below).
Note that you should use the citation macros with curly braces, so use \cite{MeierMüller2003}
not \cite MeierMüller2003
.
To change the andothers
string from u. a
to et al.
, you need to edit the localisation strings. Just put the following two lines after \DeclareLanguageMapping{ngerman}{ngerman-apa}
in your document.
\DefineBibliographyStrings{ngerman}{%
andothers ={et\addabbrvspace al\adddot},
andmore ={et\addabbrvspace al\adddot},
}
Alternatively, you can create a file with the following content and save it under ngerman-apaed.lbx
in the directory your .tex
document is located.
\ProvidesFile{ngerman-apaed.lbx}
\InheritBibliographyExtras{ngerman-apa}% extras are inherited from ngerman ...
\DeclareBibliographyStrings{%
inherit = {ngerman-apa},% .... as well as all the keys
andothers = {{et\addabbrvspace al\adddot}{et\addabbrvspace al\adddot}},
andmore = {{et\addabbrvspace al\adddot}{et\addabbrvspace al\adddot}},
}
You then modify the line \DeclareLanguageMapping{ngerman}{ngerman-apa}
to \DeclareLanguageMapping{ngerman}{ngerman-apaed}
.
MWE
\documentclass[ngerman, a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[style=apa,sortcites=true,sorting=nyt,backend=biber]{biblatex}
\addbibresource{\jobname.bib}
\DeclareLanguageMapping{ngerman}{ngerman-apa}
\DefineBibliographyStrings{ngerman}{%
andothers ={et\addabbrvspace al\adddot},
andmore ={et\addabbrvspace al\adddot},
}
\begin{filecontents}{\jobname.bib}
@article{testartlong,
author = {Arnold Uthor and William Riter and Rita Esearcher and Steven C. Ientist and Stuart Udent and Peter R. Ofessor and Lewis E. C. Turer},
title = {A Very Interesting Article},
journal = {Journal of Articles},
volume = {8},
number = {2},
page = {1-5},
date = {2010},
}
@article{testart,
author = {Arnold Uthor and William Riter},
title = {A Very Interesting Article},
journal = {Journal of Articles},
volume = {7},
number = {3},
page = {1-5},
date = {2010},
}
@book{testbook,
author = {Walter Ordsmith},
editor = {Eddie Ditor},
title = {The Work},
subtitle = {Subtitle},
date = {1983},
}
@online{testonline,
author = {Bernie Logger},
title = {A Very Opinionated Blog Post},
url = {http://example.com},
year = {2013},
}
\end{filecontents}
\begin{document}
\begin{tabular}{rl}
\verb|\cite{testart}| & \cite{testart}\\
\verb|\textcite{testart}| & \textcite{testart}\\
\verb|\parencite{testart}| & \parencite{testart}\\
\verb|\parencite[Kap.~4]{testart}| & \parencite[Kap.~4]{testart}\\
\verb|\parencite[15]{testart}| & \parencite[15]{testart}
\end{tabular}
\parencite{testartlong} and \parencite[5]{testbook}
\nocite{*}
\printbibliography
\end{document}
Edit
For multiple citations within one pair of parentheses use \parencites
or \parencite
.
\parencites(Herzkreislauf;)()[34]{testartlong}[Kap.~4]{testbook}
yields (Herzkreislauf; Uthor et al., 2010, S. 34; Ordsmith, 1983, Kap. 4)
; \parencites[Pre][Post]{testartlong,testbook}
gives us (Pre Ordsmith, 1983; Uthor et al., 2010, Post)
.
See also sections 3.7 to 3.7.6 of the BibLaTeX documentation
Best Answer
Certainly a strange request by your teachers. I can only think of defining your own
\cite
command to use when you're inside a parenthesis.I assume you would require the square versions less, so I pass a default
round
option tonatbib
, then define respective commands:\sqcitet
and\sqcitep
which are just wrappers to change (locally) the cite style.Extra Note
The documentation offers two ways to change the citation style, viz. (i)
\setcitestyle{square}
and (ii) creating a new\bibstyle@xxx
and calling it with\citestyle{xxx}
.Method (i) is simple enough to implement, while implementation of Method (ii) can be seen in my previous edit of this answer. But..
The first method adds spurious spacings, while the second method sets the style globally. (and so both are unsatisfactory).
And so instead, I've gone for the option of explicitly setting the open and close parenthesis with
\renewcommand\NAT@open{[}
and\renewcommand\NAT@close{]}
for the time being.