First, you can get the sagej
class here (download link in Abstract).
Second, I would recommend using natbib
package with option super
. Here is what the minimal code looks like
\documentclass{sagej}
\usepackage[super]{natbib}
\begin{document}
This is the cited text \cite{jd12}, here is another one \citet{jd13}
and here \citep{jd14}
\bibliographystyle{unsrtnat}
\bibliography{mybib}{}
\end{document}
The mybib.bib
contains
@article{jd12,
author={Doe, J. and Bar, F. and Smith, J.},
title={Some title 1},
journal={Some journal},
year={2012},
}
@article{jd13,
author={Doe, J. and Smith, J. and Bar, F.},
title={Some title 2},
journal={Some journal},
year={2013},
}
@article{jd14,
author={Doe, J. and Simpson, H. and Bar, F.},
title={Some title 3},
journal={Some journal},
year={2014},
}
After compiling I get the following pdf, where you may notice what different citation commands (used above) do. I guess you wanted the result produced by \cite{}
.
Best Answer
The following example changes
\setcitestyle
locally and puts it in macro\citen
.\setcitestyle
of packagenatbib
(2010/09/13 8.31b) contains a space right at the beginning of the macro definition by an uncommented end of line, the trick with\romannumeral
removes this space.Inside moving arguments (e.g.,
\caption
) macro\citen
can be protected using\protect
or by using\DeclareRobustCommand
for the definition: