[Tex/LaTex] Text citation-superscript numerals

citing

I use \usepackage[superscript]{cite} in my LaTeX. But it gives "…analysis. $^{?}$". I want text citation like "…analysis. $^{1}$". How should I do for this?

\documentclass[Afour,sageh,times]{sagej}

\usepackage[superscript]{cite}

\newcommand\BibTeX{{\rmfamily B\kern-.05em \textsc{i\kern-.025em b}\kern-.08em
T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
\def\volumeyear{2015}

\begin{document}

The performance … \cite{Venables et al.}. 

\begin{thebibliography}{99}

\bibitem[Venables et al.(2016)]{Venables et al.}
Venables~WN, Smith~DM and the R Core Team. Notes on R: a programming environment for data analysis and graphics.

\end{thebibliography}

\end{document}

Best Answer

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{}. enter image description here

Related Question