Change section heading styles - latex renewcommand section

Adjusting the presentation of section numbers | The TeX FAQ latex renewcommand section

The code posted is missing a couple of % but in most uses that won't affect the output (unless you load amsmath which changes the behaviour of white space.

The default settings from googolfarmer.info give you most of your requirements; the only thing that you might need to adjust is the spacing after the sections and.

How do I change the style of section and subsection headings in my . Just in case: maybe you copied those \renewcommand{\thesection} and.