8 votes

Titlespacing command not working for \subsection and also causing error for \section

You get ! Undefined control sequence. <argument> ...on\endcsname \protect \@secnumpunct l.9 \section{Main section} % <- This line triggers the error ? ! Undefined ...
egreg's user avatar
  • 1.1m
4 votes
Accepted

Automatic Chapter or Section Title in Bold face and Small Caps

As already told in Will's answer to the question vou've linked, you should not use \sc, because this deprecated font command does also deactivate the previous \bfseries. Use \scshape instead: \...
cabohah's user avatar
  • 9,197
1 vote
Accepted

Coloured subsection AND text right after the subsection name

I am not sure what you want to achieve eventually, as you did not provide much information. But if you only use the sectsty package for adding color to the subsection title, you should know that you ...
Jasper Habicht's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible