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?

  • 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

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?

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

You can add an option for the cite package:


to avoid the unwanted space .

| improve this answer | |

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