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.


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

| improve this answer | |
  • Thank you, it worked. Is there a way to reduce the default spacing between the period and the section name ? – Eureka Apr 25 '17 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 '17 at 23:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.