TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Currently, I'm working with a document based on the standard book.cls. I redefined the section command (unstarred) to get a more fancy heading. But while doing this, I ran into some walls.


Well obviously, I've redefined the unstarred version with \@section, and together with \secdef I fixed bugs in the ToC (strange doublings) and tried to keep the definition of the starred version. To make it short, it doesn't work... here is the output:

! Undefined control sequence.
\reserved@a *->\@ssection

Does anybody know how to handle it? Even \let doesn't help here...

share|improve this question
Sectioning command below \chapter (\section, \subsection, ...) do not have a separate "starred" version, like you propose \@ssection. You have to define that manually, like is done for \chapter and \part. – Werner Oct 16 '12 at 18:01
Would you be able to provide a complete, minimal working example (MWE) that shows what you've done in its entirety? – Werner Oct 16 '12 at 18:04

\section is not defined via \secdef. So there is no \@ssection.

This may work:




So \section* will call \latex@section*, while \section{title} will call


while \section[x]{title} will call

share|improve this answer

Your Answer


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.