I had this problem recently and it was discussed on this list.

I have a Chapter* with a title of 'Preface' in a document that I don't
want numbered (it doesn't make sense to number a preface as chapter
1), but I do want it in the TOC. The solution was to insert this TeX
code immediately after the title of the Chapter*.

\addcontentsline{toc}{chapter}{Preface}

In your case, substitute your title of the Chapter* for 'Preface' in
the command.

You can change the word 'chapter' to 'section' or 'subsection'
depending on how you wish the non-numbered chapter to appear in the
TOC.

-- Rich

On Tue, May 12, 2009 at 6:19 PM, Luca De Marini
<luca.darkmas...@gmail.com> wrote:
> 2009/5/13 Ian S. Worthington <ianworthing...@usa.net>
>
>> I'm new here myself but, iiuc, the difference between a chapter and a
>> chapter*
>> is that the former appears in the toc whilst the later doesn't.
>>
>> So, if you want a chapter* to appear in the toc, can't you just change it
>> to a
>> chapter?
>>
>
> The most important difference I found was that a *chapter was not numbered,
> not that it doesn't appar in TOC.
> So, say that my problem can be considered as:
> how do I have a chapter not to be numbered and still appear in the TOC?
> Understand my problem now? If I convert my *Chapter to a Chapter, it will be
> numbered (Chapter 1). I don't want it to be numbered.
>
> Cheers,
>
> Luca
>
>
>
>
>>
>> i
>>
>> ------ Original Message ------
>> Received: 06:45 PM COT, 05/12/2009
>> From: Luca De Marini <luca.darkmas...@gmail.com>
>> To: LyX Users List <lyx-users@lists.lyx.org>
>> Subject: Adding a non-numbered chapter to Table of Contents
>>
>> > Hallo everyone, sorry for my mails but we are in a hurry and the lyx wiki
>> is
>> > not helping me, google neither :(
>> > When I create a TOC in Lyx, it lists all the chapters, sections, etc. in
>> my
>> > book. I can configure it from the document properties, no problem..
>> > then, another feature in lyx is adding Chapters, Sections, etc. with a
>> "*"
>> > simbol next to them. Those entries are not numbered or listed in the TOC.
>> > Now, I need to put in the TOC one of these special entries, a special
>> > *Chapter. I was sure there had to be an option to add a custom entry to
>> > TOC... or a way to solve this in general. Any help please?
>> >
>> > Another problem is a little bit complicated to explain: I inserted the
>> TOC
>> > and after that, the first chapter is the famous *Chapter I was talking
>> about
>> > above. My second problem is that in the page where this *Chapter is, on
>> the
>> > top of the page I still see the name "Table of Contents".. this probably
>> > happens, because Lyx is confused, since there's no ordinary Chapter after
>> > the TOC.. in fact, on the next page there's Chapter 1, and on the top
>> left
>> > of the page I can see the small name: "Chapther 1" (the name of the
>> chapter
>> > is of course on the top right corner as usual). So, the problem is that I
>> > have still "Table of Contents" on the top left corner of the page with
>> the
>> > *Chapter.
>> >
>> > Cheers,
>> >
>> > Luca
>> >
>>
>>
>>
>>
>

Reply via email to