Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Anyone know how to use titlesec package if I am under \documentclass[conference]{IEEEtran} ?

I got following error:

!Undefined control sequence.

<argument> \subparagraph

Thanks

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

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.

share|improve this answer
    
Cool, it works, thanks Alan –  koko Jan 6 '11 at 3:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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