13

I used the following LaTeX tag to make a chapter

\chapter{title here}

but it did not compile. The LaTeX compiler was talking about

Undefined control sequence

How can I get over this error?

  • 10
    Not all document classes support chapters (article, in particular). You need to provide a minimal working example of your document for this to be answered any further. – Mike Renfro Jan 4 '12 at 14:48
  • 6
    Hi its quite hard to say what´s going on with that little information. Make sure that you use a documentclass which provides \chapter such as report or book – bloodworks Jan 4 '12 at 14:49
  • 1
    Please provide a Mimimum Working Example. In your case minimum code that demonstrates the problem and compiles as it should when the offending \chapter{...} is commented out. – qubyte Jan 4 '12 at 14:51
  • thanks mike and bloodworks. Your solution solved my problem – KiloWatt Jan 4 '12 at 15:05
  • 1
    @MikeRenfro As you commented first, please turn your comment into an answer. Otherwise, we'll probably close the question. – lockstep Jan 4 '12 at 15:29
26

Not all document classes support chapters -- in particular, the article standard class does not, while book and report do. You need to provide a minimal working example of your document for this to be answered any further.

| improve this answer | |

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.