Formatting for latex paper writing