We have
9,167 templates on Authorea, and counting! Just look at
https://authorea.com/featured-templates and pick a template of your choice. We have templates for a lot of scholarly journals and more. When you pick a template, your document is then automatically formatted according to the citation and formatting guidelines for that specific journal.