I use both packages. However, if I load sectsty before titlesec the section numbering of a subsubsection ends with 1.1, but has to 1.1.1. And if I load titlesec before sectsty, subsubsection numbering works fine but I can't use different font colors and font faces for the section headings.

Are both packages incompatible? If so, what else can I do?

Thanks for any tips The-OMH

  • 2
    Hi @The OMH. Would you please provide a minimal working example (MWE) so that we can check your problem? – Sina Ahmadi Feb 21 at 1:41
  • 3
    The simple answer is don't use the two packages together, since they are not really compatible. If you need the power of titlesec then use it for everything. Here's an example of doing that with titlesec Change section fonts. It uses XeLaTeX/LuaLaTeX because of the fonts being chosen, but can easily be adapted to pdfLaTeX. – Alan Munn Feb 21 at 3:29
  • Hi, thanks for your answers. I cleared up my tex file. Now it works :-) – The OMH Feb 21 at 19:33

Your Answer

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

Browse other questions tagged or ask your own question.