The apalike
bibliography style can only produce authoryear-style citation call-outs, whereas the cite
package is meant to be used exclusively with bibliography styles that produce numeric-style citation call-outs. Thus, if you need to use the apalike
bibliography style, do not use the cite
package.
You should load either the apalike
or the natbib
citation management package. The former is older, but has the "virtue" (such as it is) of making \cite
generate "parenthetic" citation call-outs automatically. The natbib
package is much newer and far more versatile than the apalike
package. Its "downside", for your purposes at least, is that \cite
behaves like \citet
, i.e., it produces "text-style" rather than "parenthetic" citation callouts. I can think of two "fixes":
Do a global search-and-replace of all instances of \cite{
in your document, replacing them with \citep{
. (I strongly recommend this "fix".)
Load the letltxmacro
package and issue the instruction
\LetLtxMacro\cite\citep
in the preamble. (The \citep
macro takes optional arguments; as such, using \let
to assign it to \cite
may produce weird and unpleasant errors.)
An MWE that uses the natbib
package:
\RequirePackage{filecontents}
\begin{filecontents}{mybib.bib}
@misc{test, author = "Anne Author", title = "Thoughts", year = 3001}
\end{filecontents}
\documentclass{article}
\usepackage{natbib,letltxmacro}
\LetLtxMacro\cite\citep % make '\cite' act like `\citep`
\bibliographystyle{apalike}
\begin{document}
\cite[see][p.~45]{test}
\bibliography{mybib}
\end{document}
\usepackage{apacite}
or\usepackage{natbib}
to your preamble. If this doesn't give you good results, please provide a minimal working example (<- Link) that let's us reproduce your issue and gives the perfect test case to provide a fitting solution.cite
react ascitep
use:\let\cite\citep
\cite
act like\citep
, load the packageletltxmacro
and issue the instruction\LetLtxMacro\cite\citep
. (Using\let
to reset a LateX macro that takes optional arguments (as\citep
does) is an accident waiting to happen...)\let
. Wait, i just did in another answer. Ooops :-(