I want to remove all cites from document.




... bla-bla-bla \cite{Blablaer2012}. Foo bar bar fooed...

And I get

bla-bla-bla .

How can I delete whitespace before? Maybe there is some command like \delprevsymbol?


The command \cite accepts also an optional argument, so you should take care also of that one:


should work. With \unskip you remove a preceding space, with \unpenalty also the penalty inserted when you write


(which is a recommended way).

There might be a problem if \cite is at the very start of a paragraph; a safer version might be

  • 2
    +1 I especially like the \ifhmode refinement. – David Carlisle May 24 '13 at 9:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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