My text is appearing as follows: 'some text (Anderson 1999) and more text (Armenta & Whittingham 2008)'
However I need my text to appear as follows: 'some text (Anderson 1999) and more text (Armenta et al. 2008)'.
My bib file is as follows:
Code: Select all
@ARTICLE{AnderssonS1999,
author = {Andersson, S.},
title = {Morphology of UV reflectance in a whistling-thrush: implications
for the study of structural colour signalling in birds},
journal = {Journal of Avian Biology},
year = {1999},
volume = {30:},
pages = {193-204}
}
@ARTICLE{armenta2008,
author = {Armenta, J.K., Dunn, P.O. \and Whittingham, L.A.},
title = {{Effects of specimen age on plumage color}},
journal = {The Auk},
year = {2008},
volume = {125:},
pages = {803--808},
file = {:Users/rossahmed/Library/Application Support/Mendeley Desktop/Downloaded/Armenta, Dunn, Whittin\textit{g\textit{}}ham - 2008 - Effects of specimen age on plumage color.pdf:pdf},
publisher = {BioOne},
url = {http://www.bioone.org/doi/abs/10.1525/auk.2008.07006}
}
My .tex file is as follows:
Code: Select all
\documentclass{article}
\usepackage[firstinits=true,style=authoryear,natbib=true,doi=false,isbn=false,url=false,uniquename=false,uniquelist=false,sorting=none, maxcitenames=2]{biblatex}
\renewcommand*{\nameyeardelim}{\addspace} % remove comma inline citations
\renewcommand*{\finalnamedelim}{\addspace\&\space} % delimits authors inline citations with &
\renewcommand*{\multicitedelim}{\addcomma\space} % seperate multi authors by comma
\addbibresource{test.bib}
\DeclareFieldFormat
[article,inbook,incollection,inproceedings,patent,thesis,unpublished]
{title}{#1\iSDot}
\renewbibmacro{in:}{%
\ifentrytype{article}{}{%
\printtext{\bibstring{in}\intitlepunct}}}
\makeatletter
\ifcsundef{abx@macro@\detokenize{date+extrayear}}{%
}{%
\renewbibmacro*{date+extrayear}{%
\iffieldundef{year}{%
}{%
\addperiod\space
\printtext{\printdateextra}%
}%
}%
}
\makeatother
\DeclareFieldFormat[article]{pages}{#1}
\DeclareNameFormat[article,periodical,book,electronic]{author}{\mkbibbold{#1}}
\begin{document}
\title{test}
\author{test}
\date{}
\maketitle
some text \parencite{AnderssonS1999} and more text \parencite{armenta2008}
\printbibliography
\end{document}