[OS X TeX] Tabular error & changing the numbering of subsections, ...

Berend Hasselman bhh at xs4all.nl
Sat Jan 29 10:59:50 CET 2011

On 29-01-2011, at 10:05, Don Green Dragon wrote:

> Hi All,
> % Now change the numbering of subsections, subsubsections, and  paragraphs within a chapter
> \renewcommand{\thesubsection{\thesection.\Alph{subsection}}}
> which worked fine except that a warning was issued:
> +++++
> ./MasterCalc.tex:53: LaTeX Error: \thesubsection {0.0.}undefined.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H <return>  for immediate help.
> ...                                              

Given that you have no closing } after the \thesubsection but right at the end you are attempting to redefine
the macro \thesubsection{\thesection.\Alph{subsection}}.

It doesn't exist so LaTeX throws an error (it's not a warning but an  error; see exact message in the .log file).

Even if the macro had existed you would have ignited another error. \renewcommand expects a second argument.

You gave the correct syntax for your case at the end of your post.


More information about the macostex-archives mailing list