18

How do I use the titlesec package if I am under \documentclass[conference]{IEEEtran} ?

I got the following error:

  !Undefined control sequence.

  <argument> \subparagraph
23

The titlesec package assumes all of the section levels provided by the standard classes are present. This includes the subparagraph level. The IEEEtrans class doesn't define a level subparagraph so titlesec doesn't know what to do when it tries to redefine it. The simple solution is to simply add the line

\newcommand{\subparagraph}{}

to your preamble before loading the titlesec package. If you need to actually have it work, you will then need to provide its definition via the regular titlesec methods.

  • 1
    I was using sig-alternate.cls from ACM. This solves my pain. – Jinghao Shi Sep 29 '14 at 17:13
  • Same problem and solution for the Springer svjour3 class – andybuckley Feb 8 '16 at 22:02

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.