I'm an absolute beginner in this matter, but I want to know the following:
If I understand correctly, once a Math paper is accepted for publication in a journal, they will ask you to submit the LaTeX source file. Once you send that file, does that journal work on the code and edit it in order to correct any technical inefficiencies (commands, spaces, alignment, etc.)?
After this, do they send you the corrected LaTeX code for you to see it before it is used for publication?