31

Is there a bibliography style (I'm using bibtex) that works with article class where the numbers appear as superscripts and also numbered as they appear in the text (as in unsrt)? I read some related questions using revtex, but nothing seem to work with basic article class.

  • 5
    Usually, we don't put a greeting or a "thank you" in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Upvoting is the preferred way here to say "thank you" to users who helped you. – Mensch Oct 29 '12 at 17:47
25

The cite package provides such functionality and works with the standard bibliography styles such as unsrt.

\documentclass{article}

\usepackage[superscript,biblabel]{cite}

\begin{document}

Refering to second article\cite{art2} and then first article\cite{art1}

\bibliographystyle{unsrt}
\bibliography{test}
\end{document}

with test.bib containing

@Article{art1,
  author =   {Author, A. N.},
  title =    {Title One},
  journal =  {Journal},
  year =     2000
}

@Article{art2,
  author =   {Author, A. N.},
  title =    {Title Two},
  journal =  {Journal},
  year =     2008
}

yields

Sample output

The first option superscript to the cite package affects the citations in the text, the second biblabel adjusts those in the bibliography.

  • 1
    This is just what is needed! To get the citings to have brackets around them, one has to use \makeatletter \renewcommand{\@citess}[1]{\textsuperscript{\,[#1]}} \makeatother – np8 Nov 16 '13 at 17:19
25

You could use the natbib package and invoke it with the super option:

\usepackage[super]{natbib}

With this setup, \cite commands will generate citation markers as superscript-positioned numbers. Note that the natbib package is compatible with a wide range of bibliography style files, including the "original" BibTeX style files plain, unsrt, and alpha.

If you use the hyperref package as well, these superscript numbers will automatically be made into hyperlinks to the corresponding items in the bibliography.

  • 4
    If you prefer commas between the citations superscripts you can use \usepackage[super,comma]{natbib} – Virgo Feb 18 '14 at 5:53
  • natbib is perfect! cite will place the superscript after punctuation, the bibliography list entry number will also be superscript and it auto reorders citations by ascending number, whereasnatbib does not have those issues. – gaborous Jun 10 '16 at 2:17
  • 1
    @gaborous - Thanks! For the sake of completeness: If the cite package is used (instead of natbib), auto-reordering of the citation call-outs by ascending number can be disabled by specifying the nosort option. – Mico Jun 10 '16 at 5:23
  • 1
    Is there any way to do this without changing the behavior of the citet and citep commands? With this approach, the citep command prints just the superscript and the citet command prints the author names with a superscript, rather than the behavior described by this page. – Luke Davis Mar 15 '18 at 19:04
  • @LukeDavis - The link you provide purports to describe what version 7.0b of the natbib package did, back in February 2002. The current version is 8.31b; it is my understanding that the package has been roughly stable since Sept. 2010. I'm afraid I don't know how one might go about downgrading the package back to its 2002 level. – Mico Mar 15 '18 at 19:35
0

Package "cite" places the superscript after punctuation. To avoid it, include:

\usepackage[superscript, biblabel, nomove]{cite}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.