2

I have searched for a solution but so far I haven't been successful. My citations for same author same year appears as: (King 2000a,b, 2001a,b). However I would like it to appear as: (King 2000a, 2000b; 2001a, 2001b). Below is my MWE

enter code here\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage[american]{babel}
\usepackage{filecontents}
\usepackage[backend   = biber,
            style     = authoryear-comp, 
            sortcites = true,
            bibstyle  = apa,
            sorting   = ynt]{biblatex}  
\DeclareLanguageMapping{american}{american-apa}

\begin{filecontents}{general.bib}
@article{king200nonstationary,
title   = {Nonstationary Hypotheses},
author  = {King, P. M.},
journal = {Journal of {A}merican {S}tatistics},
volume  = {98},
number  = {428},
pages   = {1437--1487},
year    = {2000}
}
@article{king2000semiparametric,
title   = {Semiparametric Time Series},
author  = {King, P. M.},
journal = {The {W}orld {A}nnals of {S}tatistics},
pages   = {539--559},
year    = {2000},
volume  = {52},
number  = {1}
}
@article{king2001regression,
title   = {Regression and Dependence},
author  = {King, P. M.},
journal = {The {W}orld {A}nnals of {S}tatistics},
pages   = {1072--1099},
year    = {2001},
volume  = {53},
number  = {3}
}
@article{king2001gaussian,
title   = {Gaussian Semiparametric Estimation of Long Range Dependence},
author  = {King, P. M.},
journal = {The {W}orld {A}nnals of {S}tatistics},
pages   = {1661--1691},
volume  = {54},
number  = {2},
year    = {2001} 
}
\end{filecontents}

\addbibresource{general.bib}

\begin{document}
These ideas are summarised in:\parencite{king2001regression,king2000semiparametric,king200nonstationary,king2001gaussian}.

However, our results are closer to those described in \textcite{king2001regression}. 
\begin{refcontext}[sorting=nyt]                     
\printbibliography                           
\end{refcontext}
\end{document}

I am using Windows 7, Texmaker 4.5, Biblatex 3.0 and Miktex 2.9. thanks a million! Results I get

  • Note that if you want proper APA style you should load style=apa and not style = authoryear-comp, bibstyle = apa,. – moewe May 15 '16 at 10:27
  • 1
    In fact, APA style won't work correctly if you don't - it's a very picky style which can't really be mixed like that. – PLK May 15 '16 at 10:28
2

The easiest solution is to make biblatex "forget" the last year, so that the year is never omitted if it coincides with the last year.

\makeatletter
\AtEveryCitekey{\global\undef\cbx@lastyear}
\makeatother

Does the trick.


For real APA style just load biblatex as

\usepackage[backend   = biber,
            style     = apa,
            sorting   = ynt]{biblatex} 

in which case you also get the desired output.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.