Share via

Table of Contents - Words

Anonymous
2013-04-06T14:19:09+00:00

When I create a word 2007 document from a template that has Heading 1 for an Article and Heading 2 for Sections, the word document looks like this:

Article I 

ARTICLE TITLE

Section 1.1****Title.   Words after the title.

And then when I create a Table of Contents. the words in the table of contents with respect Section 1.1, shows the addtitional words, not just the word Title and the Article Title does not show up   And it shows up like this:

TABLE OF CONTENTS

**Article I** 1

**Section 1.1**      **Title**.   Words after the title. 1

I researched and found the concept to create the TC Fields entries by highlighting the word Title and, click on alt+shift+O, and then  mark it.   And then go to the table of contents, click on alt+F9, and then do the following, hit alt+f9 again and then update the table of contents, and it should recogize just what I marked.   

type \f at the end of the field.

It will look as follows:

{ TOC \o "1-3" \h \f }

But this does not do it.

So does anyone know how to do this.  Thanks much.

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2013-04-07T01:37:39+00:00

And the TC field shows up as { TC "Section Title" \f C \1 "2"}.

 

And I update the full Table of Contents and it shows up as the following with the page numbers:

 

ARTICLE I Article Title

          Section Title

 

So the point is, the words Article I and Article Title, show up perfectly.

But the words of Section 1.1, show the words Section Title, and not the begniing words from the header names Section 1.1.

I was testing a lone heading style and forgot about the regular text after the heading.  Yeah, you could copy the whole paragraph as a way to  ensure copying the multilevel list number, but then you have to delete all the regular text.  So, instead just type "Section 1.1" (with the appropriate number) before the section title in your TC code.

I only use TC codes when I have to and have never tried them with multilevel list numbers.  Had I known about the number problem, I'd have suggested my favorite method right off. So here it is for next time.

 Type the headings and regular text  in seperate paragraphs. Apply the heading style to the first paragraph and your body text style (usually normal) to the second. Make sure that the paragraph space after and the text  alignment (left or justified) match in the two styles. This avoids funny spacing in the joined paragraphs.  Then put the cursor anywhere in the heading paragraph and press Crtl+Alt+Enter  to apply the style separator formatting to the paragraph mark (¶) after the heading.  The  paragraphs will appear to be joined but will retain their own formatting, and the TOC will be able to collect the heading.  There are no TC fields to input and probably no changes necessary to the TOC field.

Was this answer helpful?

0 comments No comments

36 additional answers

Sort by: Most helpful
  1. Anonymous
    2013-04-06T19:53:35+00:00

    Yes, change your TOC field to this:  { TOC \o "1-1" \h \z \u \f}.  The \o "1-2" tells the TOC feature to collect outline levels 1 and 2 (essentially Headings 1 and 2), but \f tells it to collect text in TC fields, which are also displayed as heading 2s.   So it's being an obedient little program and doing it twice.  The \o "1-1"  tells  the TOC feature to just collect heading1s. 

    Note that the TC field should also contain the number, like {-TC-"Section 1.1 Title"-\f-O-\1-"2"-}.

    Regards,

    Pam

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2013-04-06T18:27:34+00:00

    I read back thru that link and here is what has happened...

    I left the table idenifier at the default C, which is what they told me.  I left the level at 2, so it's below and to the next level in the table of contents, and I added \f to the end of the TOC field per what they told to do, so this is the TOC Field and the TC Field shows up after the Section Title words what I highlighted to do it, and before words Section Words:

    { TOC \o "1-2" \h \z \u \f}

    Section Title {-TC-"Section-Title"-\f-O-\1-"2"-}  Section words.

    And the Heading 2 that is working on this area is words Section 1.1

    And it now shows up in the table of contents

     1

    Section 1.1      Section Title.  Section words. 1

                Section Title  1

    So its shows it twice showing Secton 1.1 and the title words and the section words and below is shows what I marked.

    So how can this be fixed please?  The key point it that is shows the words I idenfiied, but want them to show up only after the Section 1.1 words which come from the heading. 

    So it seems like it is repeating the section twice in different ways.

    So, again, how to fix would be great!!

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2013-04-06T17:15:42+00:00

    From the Table of Contents when I click on alt+9, the following shows us up:  { TOC \o "1-2" \h \z \u }

    So under the Mark Table of Contents Entry, is the Table identifier the letter o  ??

    And when I make the Table of indentifier the letter o, when I show the words after the title, the TC shows up as {-TC-"Section-Title"-\f-O-\1-"1"-}

    And nothing changes.

    Any other thoughts how to configure please?  

    1

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2013-04-06T14:48:02+00:00

    Your TOC field code switch must be followed by the table identifier.  See page 5 of Table of Contents II: Advanced TOCs, long documents, and other tables.  You may also need to change "1-3" to "1-1".

    Was this answer helpful?

    0 comments No comments