How to customize the "sections" to get Section number.~Section name ? i.e., section number followed by the period, space and the section name. Thank you in advance.

1 Answer 1


A very short solution: add these lines to your preamble:

  • Thank you, it worked. Is there a way to reduce the default spacing between the period and the section name ?
    – Eureka
    Apr 25, 2017 at 23:21
  • The spacing in this code is 1em (\quad); given as an example. Try \enspace (0.5em) instead, or \hspace{xx em} for another spacing.
    – Bernard
    Apr 25, 2017 at 23:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .