[texhax] Eliding superscript cite

Donald Arseneau asnd at triumf.ca
Sat Aug 25 03:48:09 CEST 2012


"Simmie, John" <john.simmie at nuigalway.ie> writes:

> A journal requires superscripted references ... numerals in square
> brackets
> Which is fine with
>    \usepackage[super]{cite}
>   \renewcommand\citeform[1]{[#1]}
> 
> But I cannot persuade cite to elide the numbers as in [13-14] instead it
> writes [13],[14]
> I have tried several combinations of options
> [super,compress,nospace]{cite}
> But none work for me.  Is there a way?

Quoting from the instructions...


The left/mid/right commands don't affect the formatting of superscript
citations.  

...

The appearance of the whole citation list is governed by "\@cite", (for
full-sized cites) and "\@citess" (for superscripts).  For more extensive changes
to the formatting, redefine these.  For example, to get brackets around the
list of superscript numbers you can do:
   "\renewcommand\@citess[1]{\textsuperscript{[#1]}}"
(after "\makeatletter").



Donald Arseneau                          asnd at triumf.ca


More information about the texhax mailing list