I was looking for this a while back for JavaScript, but I was wondering a general purpose one exists for all, or most languages.
For example for LaTeX I would put the following in a text box
$f_i^k+10=x$
and it spits out the better formatted version
%%%
%% Insert comment describing function here
%%%
$ f_{i}^{k} + 10 = x $
I can't be the only person on the planet that does not wish to go through a massive .tex file and fix these tedious problems.
.texfile) so that super-/subscripts are actually put in braces{ }, thereby possibly avoiding formatting problems? – Werner Oct 5 '11 at 19:17