TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
1  
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. – Kurt Oct 29 '12 at 17:47
up vote 11 down vote accepted

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.

share|improve this answer
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

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.

share|improve this answer
2  
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 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 at 5:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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