Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How do you force a citation to appear before a comma in LaTeX?

  1. Apr 28, 2009 #1
    I have a sentence reading:


    Someone said something super important\cite{someone20}, and it was super interesting.

    1) Someone, science journal, 2020.

    Except it actually comes out with the ^1 AFTER the comma. I want it to appear superscript to the name not a comma. How?

  2. jcsd
  3. Apr 28, 2009 #2


    User Avatar
    Staff Emeritus
    Science Advisor

    Put a space between \cite{someone20} and the comma after it.
  4. Apr 28, 2009 #3
    but when i did this there is now a space netween the citation and the comma. I want it to read



    thing^ref ,
  5. Apr 28, 2009 #4


    User Avatar
    Staff Emeritus
    Science Advisor

    It's presumably not designed to work like that (because the comma should be after the word, and not after the superscript citation). Try forcing the comma back with some \! between the \cite and the comma.
  6. Apr 28, 2009 #5


    User Avatar
    Science Advisor
    Homework Helper

    Does putting an intervening {} work? That's the usual method for these sorts of things.
  7. Apr 30, 2009 #6
    yes that, ({}) worked, cheers
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook