I was wondering if anyone could help me with a problem involving chapter
numbering in a report. I need to be able to remove the numbering from
\chapter headings in the body of the report while still having the
(unnumbered) chapter headings put in the toc. I suppose I need something
like \chapter* which keeps the item in the contents.
I am using the standard Debian LaTex distribution and am really wet behind
the ears when it comes to all this document preparation stuff
Thanks
> Hi
>
> I was wondering if anyone could help me with a problem involving chapter
> numbering in a report. I need to be able to remove the numbering from
> \chapter headings in the body of the report while still having the
> (unnumbered) chapter headings put in the toc. I suppose I need something
> like \chapter* which keeps the item in the contents.
Start the new chapter with \chapter*{Another chapter} and type, on the
next line
\addcontentsline{toc}{chapter}{Another chapter}
Best regards,
Jose Carlos Santos
> I was wondering if anyone could help me with a problem involving chapter
> numbering in a report. I need to be able to remove the numbering from
> \chapter headings in the body of the report while still having the
> (unnumbered) chapter headings put in the toc. I suppose I need something
> like \chapter* which keeps the item in the contents.
\chapter* is the harder way, because you need to make the toc entry
and the page header explicitly (\addcontentsline, \markboth). Better
is the setting:
\setcounter{secnumdepth}{-1}
in your preamble.
Donald Arseneau as...@triumf.ca
> Toby Cadoux <to...@beclands.co.uk> writes:
>
>> I was wondering if anyone could help me with a problem involving chapter
>> numbering in a report. I need to be able to remove the numbering from
>> \chapter headings in the body of the report while still having the
>> (unnumbered) chapter headings put in the toc. I suppose I need something
>
> [...]
>
> \setcounter{secnumdepth}{-1}
If the OP does not want to suppress the printing of section and subsection
numbers, he will have to set secnumdepth back to its default value of 2
after every \chapter, or define a new command that does
\setcounter{secnumdepth}{-1}
\chapter{An Unnumbered but TOCed Chapter}
\setcounter{secnumdepth}{2}
This is not clear from the original message.
Manoj.
--
Manoj Kummini
Graduate Student, Dept. of Mathematics, The Univ. of Kansas,
Lawrence KS 66045 USA. 38 deg 55 min N, 95 deg 14 min W.
http://www.math.ukans.edu/~kummini/index.html
Ah
That makes a whole lot of sense - now I just need to ensure what I write
is semi-decent:)
Many, many thanks