1

I have been using the natbib citation management package and the bibliography style I use is apalike. I know that this is an old style and it is not up to date.

I want to change from apalike to apacite, but I have defined some citation aliases in natbib with \defcitealias that do not work when I change to apacite. Is there a solution for this? Does the apacite package have a command to set an alias?

1 Answer 1

1

You claim that the citation aliasing mechanism of the natbib package doesn't work with the apacite package. This claim does not appear to be correct; all you have to do is load the apacite package with the option natbibapa -- which you have to do anyway if you want to keep using \citet and \citep.

enter image description here

\documentclass{article}

% create a sample bib file "on the fly"
\begin{filecontents}[overwrite]{mybib.bib}
@misc{a:3000,
  author= "Anne Author", 
  title = "Thoughts",
  year  = 3000,
}
\end{filecontents}

%\usepackage[authoryear,round]{natbib}
%\bibliographystyle{apalike}
%\defcitealias{a:3000}{B}

\usepackage[natbibapa]{apacite}
\bibliographystyle{apacite}
\defcitealias{a:3000}{B}

\begin{document}
\citet{a:3000}, \citetalias{a:3000}, \citepalias{a:3000}
\bibliography{mybib}
\end{document}
1
  • 1
    Thank you! It was a silly error when indicating the apacite package. I was able to solve it with your help.
    – Rlacr
    Dec 15, 2021 at 17:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .