[Tex/LaTex] Changing the referencing format for apacite

bibliographiesciting

Consider the following MWE:

\documentclass{article}
\usepackage[natbibapa]{apacite}
\bibliographystyle{apacite}

\usepackage{filecontents}
\begin{filecontents*}{bibliography.bib}
@article{billioandrew,
    author  = "Billio, M. and Getmansky, M. and Lo, A. and Pelizzon, L.",
    title   = "Econometric measures of connectedness and systemic risk in the finance and insurance sectors",
    year    = "2012",
    journal = "Journal of Financial Economics",
    volume  = "104",
    number  = "3",
    pages   = "535--559"}
\end{filecontents*}

\begin{document}
\nocite{*}
\bibliography{bibliography}      
\end{document}

The output in the reference list is as follows:

enter image description here

However, I want the output to be:

Billio, M., Getmansky, M., Lo, A., Pelizzon, L., 2012. Econometric measures of connectedness and systemic risk in the finance and insurance sectors. Journal of Financial Economics 104(3), 535-559


Note the following changes:

1) A comma after the last author (eg, L., instead of L.)

2) No brackets around the year (eg, 2012 instead of (2012))

3) No italics for the journal name (eg, Journal of Financial Economics instead of Journal of Financial Economics)

4) No italics for volume number (eg, 104 instead of 104)

5) No comma after the journal name and before the volume number (eg, Journal of Financial Economics 104(3) instead of Journal of Financial Economics, 104(3))

6) No & symbol before the final author/editor in a multi-author/editor list


I'd also like to have the same set of rules apply for @misc as well.

However, I want the in-text citation to remain the same, I only want the above to apply to the reference list output.

How can I achieve this?

Best Answer

Here it is. Note that biblatex allows to emulate natbib commands. In particular, in this mode you can always write \citep but actually it is translated into biblatex's command \parencite. More importantly, the syntax is slighly different: `\bibliography{name_of_the_bibfile} in the body of the document is replaced with:

  1. \addbibresource{name_of_the_bibfile.bib} in the preamble

  2. \printbibliography in the body of the document

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[american]{babel}
\usepackage{csquotes}

\begin{filecontents}{\jobname.bib}
@article{billioandrew,
    author  = {Billio, M. and Getmansky, M. and Lo, A. and Pelizzon, L.},
    title   = {Econometric measures of connectedness and systemic risk in the finance and insurance sectors},
    year    = {2012},
    journal = {Journal of Financial Economics},
    volume  = {104},
    number  = {3},
    pages   = {535--559}}
\end{filecontents}
\usepackage[backend=biber, style=apa, natbib]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
\addbibresource{\jobname.bib}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewbibmacro*{author}{%original
\ifnameundef{author}
{\usebibmacro{labeltitle}}
{\printnames[apaauthor][-\value{listtotal}]{author}%
 \setunit*{\addspace}%
 \printfield{nameaddon}%
 \ifnameundef{with}
   {}
   {\setunit{}\addspace\mkbibparens{\printtext{\bibstring{with}\addspace}%
    \printnames[apaauthor][-\value{listtotal}]{with}}
    \setunit*{\addspace}}}%
\setunit{\addcomma\space}\newblock%
\usebibmacro{labelyear+extrayear}}

\renewbibmacro*{journal+issuetitle}{%
  \usebibmacro{journal}%
  \setunit*{\addspace}%
  \iffieldundef{series}
    {}
    {\newunit
     \printfield{series}
     \setunit{\addspace}}%
  \printfield{volume}%
  \printfield{number}%
  \setunit{\addspace}\newblock
  \usebibmacro{issuename}%
  \newunit}

\DeclareFieldFormat{yearorunkyear}{%
  \ifthenelse{\iffieldequalstr{doubtfuldate}{true}}
    {\mkbibbrackets{ca\adddot\addspace#1}}
    {#1}}
\DeclareFieldFormat{journaltitle}{#1}
\DeclareFieldFormat[article]{volume}{\apanum{#1}}

\AtBeginBibliography{
\renewcommand*{\finalnamedelim}{%
\ifthenelse{\value{listcount}>\maxprtauth}
  {}
  {\ifthenelse{\value{liststop}>2}
     {\finalandcomma\addspace}
     {\addspace\&\space}}}}

\DeclareCiteCommand{\parencite}[\mkbibparens]
{\renewcommand{\finalnamedelim}{\ \finalandcomma\addspace}%
\usebibmacro{cite:init}%
\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{cite}}
{}
{\usebibmacro{postnote}%
\usebibmacro{cite:post}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}

As we see in \parencite{billioandrew},…

\printbibliography

\end{document} 

enter image description here