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 optionsuper
. Here is what the minimal code looks likeThe
mybib.bib
containsAfter 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![enter image description here](https://i.stack.imgur.com/4UMu1.png)
\cite{}
.