I am writing my thesis using a template and have a problem with the function \textsuperscript
. For whatever reason it is not working and instead it writes "germanb".
I mean, if I write in latex 10\textsuperscript{2} km\textsuperscript{2}
the processed text reads "10germanb2 kmgermanb2".
Has anyone seen this before? Is there a solution or another command? I don't want to change all superscripts to equations.
Best Answer
This document
produces the output shown:
The bad line may not be quite so explicit in your case, but buried in a package, but you could debug by adding lines as follows:
this makes the same typeset output but the terminal and log show:
which clearly shows that
\textsuperscript
went wrong between the 3rd and 4th\typeout