I have a lot of
Ca\textsuperscript{2+}
in my text. In my editor I use automatic linebreaking to keep the text readable. Now it sometimes happens that lhe line breaks like this:
Ca
\textsuperscript{2+}
which produces a space between Ca and 2+.
Is there a way to write this code that it would ignore the linebreak or do I have to find a way to change the behaviour of my editor?