From: GavinS on 13 Nov 2008 23:48 I have a TOC written like this; {TOC\o "2-2\ z \ f \ t "Heading1,1" \ n 1-1} So it includes outline 2 Style Heading 1 but not page numbers for this level All TC. I would like to add style "Heading 3 but only from chapters 14 to 16. Can this be done? Thanks
From: Stefan Blom on 14 Nov 2008 03:28 Since you only want three of the Heading 3 paragraphs, you can create a new style for those paragraphs (you can base it on Heading 3 to have it inherit any properties, including numbering). Then edit the field code like this: { TOC \o "2-2" \z \f \t "Heading 1,1,My Custom Style Name Here,3" \ n "1-1" } Alternatively, use TC fields to add page number entries for the specific Heading 3 paragraphs; if you choose this method, you don't have to modify the TOC field code since it already contains the \f switch. To add TC fields, you can use the Mark Table of Contents Entry dialog box, which you can display by pressing Alt+Shift+O. See also http://sbarnhill.mvps.org/WordFAQs/TOCTips.htm. Of course, no matter which method you choose you will have to update the TOC after changing the code. -- Stefan Blom Microsoft Word MVP "GavinS" <deniseandgavin(a)gmail.com> wrote in message news:570b8a2d-8cd1-488b-9a8a-c6beb668b764(a)c36g2000prc.googlegroups.com... >I have a TOC written like this; > > {TOC\o "2-2\ z \ f \ t "Heading1,1" \ n 1-1} > > So it includes > outline 2 > Style Heading 1 but not page numbers for this level > All TC. > > > I would like to add style "Heading 3 but only from chapters 14 to 16. > > Can this be done? > > Thanks
|
Pages: 1 Prev: Word 2007 corrupt file Next: mathtype not working & word won't close without crashing |