You might think that everyone who publish a paper in a journal has to do all the formatting that you see in a paper. Actually, it's not like this. Many journals just provide a simple Word template or Latex instructions, then you put your writing in a general format, submit, and they do the rest.
Feel free to reply if you need help with something about submission.