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

1 Answer 1

up vote 7 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
    
I was using sig-alternate.cls from ACM. This solves my pain. –  Jinghao Shi Sep 29 at 17:13

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.