3

This question already has an answer here:

I am trying to add citations to a technical report using ~\cite, so that the result would be text[1]. But instead I get text [1] with a space between the citation and the text. I am using \usepackage{cite}. How do I remove the space?

marked as duplicate by Romain Picot, Thorsten, Seamus, Svend Tveskæg, barbara beeton May 13 '16 at 15:39

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    Why would you remove the space? – egreg May 21 '12 at 14:46
  • Requirement of the report. – user1049697 May 21 '12 at 14:55
  • 8
    I always keep forgetting that crazy requirements are so frequent. :( – egreg May 21 '12 at 14:56
11

To remove the space, remove the tilde ~ and just use text\cite{...}. This is, however, a rather unusual use of \cite.

In short, when you type ~ (also called a "tie") it's the same as typing a space, except that TeX won't break a line at this space. For a reference on the usage of ~ with/without citation, see What is the difference in citing/referencing with or without tilde?

  • Removing the tilde doesn't remove the space. – user1049697 May 21 '12 at 14:55
  • 7
    @user1049697: Did you use ...text \cite{..} or ...text\cite{..}? If neither of these work, then you should post a minimal example as part of your question showing exactly what you're doing. – Werner May 21 '12 at 14:57
4

You can add an option for the cite package:

\usepackage[noadjust]{cite}

to avoid the unwanted space .

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