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

I am using the following packages:



\usepackage[citebordercolor={0 1 0}]{hyperref}

% paper title
% can use linebreaks \\ within to get better formatting as desired

% The paper headers
{ \MakeLowercase{\textit{et al.}}: Fabrication, Characterization and Modeling of Fully-Integrated Piston-Type Electrodynamic Microactuators}

% make the title area
This paper presents 


These devices rely.



After I compile my document I get the following as a part of my resulting .pdf document: enter image description here

I want to get rid of the square brackets adjacent to the hyphens, e.g. I want "[9-13]" and not "[9]-[13]", which is the how it is right now.

Any suggestions?

share|improve this question
If you indent lines by 4 spaces, they'll be marked as a code sample. You can also highlight the code and click the "code" button (with "{}" on it) – Caramdir Jul 7 '12 at 1:41
Oh.... I did spend some time trying to get it correct but couldn't. Thanks! – Shashank Sawant Jul 7 '12 at 1:43
Try two things: first, load the cite package explicitly with the sort and compress options (as well as the nobreak option, if needed): \usepacakge[sort,compress,nobreak]{cite}. Second, be sure to load the hyperref package last. If the problems persist, please augment your code snippets to a full MWE (minimum working example) that duplicates the problem behavior you're encountering. Without such an MWE, it's very difficult (if not impossible) to correctly diagnose and fix the problems. – Mico Jul 7 '12 at 2:01
I tried it but it didn't work... :( Even after adding nobreak, it didn't work. – Shashank Sawant Jul 7 '12 at 2:23
The IEEE use the [x]-[y] style, not [x-y], and so the class is deliberately set up to give this output. From your example, I'd assume you are submitting to a journal, in which case altering this here seems like a bad idea. – Joseph Wright Jul 7 '12 at 6:06
up vote 8 down vote accepted

The extra [] pairs are added in here by the IEEEtran class. Luckily, it also provides a mechanism to remove them:

\renewcommand*{\citepunct}{, } % Was {], [}
\renewcommand*{\citedash}{--}  % Was {]--[}

This is documented in the class file only (around line 3100): it does not seem to be in the documentation.

share|improve this answer
Thanks! Actually you might be right about the change being a bad idea... – Shashank Sawant Jul 7 '12 at 18:54

If you don't absolutely require the use of the cite package, natbib will let you do this and is in general much more flexible than cite.

For example, instead of \usepackage[sort,compress]{cite}, try:


Edit: Note that when changing bibtex packages you sometimes have to run latex and bibtex a couple of times each and use 'q' to skip past some errors.

share|improve this answer
there is really & in the package options? – yo' Jul 7 '12 at 10:59
Yes, there is... – codebeard Jul 7 '12 at 15:43

Your Answer


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.