Hello,

I have a document I modify each week and send out and when I made the
original document I set up a table of contents which was triggered off 2
styles (myheading 1 and myheading 2). The 1st heading did not have any page
numbers associated with it but the second heading did. It looked like this:
{TOC \T " MYHEADING 1,2, MYHEADING 2,1 " \N "2-2"}
And resulted in something like this (heading 1 is centered):
Heading 1
Heading 2 ............. 2

Anyway, someone suggested that I somehow add into the table the author of
each article. So I am trying to figure out the best way of presenting it and
how to get it inserted into the table of contents. I could put the author
name in a style of its own to be picked up by the toc.

I could potentially put the author after heading 2 (article name) in a
smaller type if that is possible or alternatively on a separate line also in
a smaller font without a page number associated with it (since that would be
covered by heading 2).

Can anyone help me with this. If I have been unclear I can clarify.

Thanks,
Ben

Re: complicated table of contents by Suzanne

Suzanne
Wed Mar 02 21:32:38 CST 2005

I can't imagine why you mapped Heading 1 to TOC 2 and vice versa, but it
would actually work for you in this instance because you will need to
suppress numbering for TOC 2 and 3 (Heading 1 and whatever style you use for
the author's name). For the sake of argument, say that you used Heading 3
for the author's name, then your TOC field would be:

{TOC \t "MYHEADING 1,2, MYHEADING 2,1, MYHEADING 3,3" \n "2-3" }


--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"ben" <abc@efg.com> wrote in message
news:uFXDPF5HFHA.2860@TK2MSFTNGP12.phx.gbl...
> Hello,
>
> I have a document I modify each week and send out and when I made the
> original document I set up a table of contents which was triggered off 2
> styles (myheading 1 and myheading 2). The 1st heading did not have any
page
> numbers associated with it but the second heading did. It looked like
this:
> {TOC \T " MYHEADING 1,2, MYHEADING 2,1 " \N "2-2"}
> And resulted in something like this (heading 1 is centered):
> Heading 1
> Heading 2 ............. 2
>
> Anyway, someone suggested that I somehow add into the table the author of
> each article. So I am trying to figure out the best way of presenting it
and
> how to get it inserted into the table of contents. I could put the author
> name in a style of its own to be picked up by the toc.
>
> I could potentially put the author after heading 2 (article name) in a
> smaller type if that is possible or alternatively on a separate line also
in
> a smaller font without a page number associated with it (since that would
be
> covered by heading 2).
>
> Can anyone help me with this. If I have been unclear I can clarify.
>
> Thanks,
> Ben


Re: complicated table of contents by ben

ben
Thu Mar 03 19:02:44 CST 2005

Thanks for your help. I'll try it out.

regards.
Ben

Suzanne S. Barnhill wrote:
> I can't imagine why you mapped Heading 1 to TOC 2 and vice versa, but it
> would actually work for you in this instance because you will need to
> suppress numbering for TOC 2 and 3 (Heading 1 and whatever style you use for
> the author's name). For the sake of argument, say that you used Heading 3
> for the author's name, then your TOC field would be:
>
> {TOC \t "MYHEADING 1,2, MYHEADING 2,1, MYHEADING 3,3" \n "2-3" }
>
>

Re: complicated table of contents by ben

ben
Sun Mar 06 21:47:55 CST 2005

Suzanne S. Barnhill wrote:
> I can't imagine why you mapped Heading 1 to TOC 2 and vice versa, but it
> would actually work for you in this instance because you will need to
> suppress numbering for TOC 2 and 3 (Heading 1 and whatever style you use for
> the author's name). For the sake of argument, say that you used Heading 3
> for the author's name, then your TOC field would be:
>
> {TOC \t "MYHEADING 1,2, MYHEADING 2,1, MYHEADING 3,3" \n "2-3" }

Hello. It worked - thank you very much!

Would you know the following?

Some of the authors appear underlined in the toc if they are also that way
in the document. Is there anyway to force them to not be underlined in the
toc by default?

Is there a way to make the author name in the document invisible in the
document but picked up in the toc (sometimes I have other things on the line
with the author and if the author's name is in the middle of text it doesn't
seem to be picked up by the toc. I thought to get around it by stating the
author separately, but invisibly in the document)?

Not so important, but is there an easy way to get the author on the same
line as the second heading?

Thanks for any of the above. I really appreciate your help.

regards,
Ben



Re: complicated table of contents by Suzanne

Suzanne
Mon Mar 07 08:35:21 CST 2005

You can have the author on the same line as another heading if you make the
author part of the heading paragraph, by using a line break instead of a
paragraph break between the two. But this will also require that the same
formatting be used for both because, as you have seen, the TOC picks up any
direct font formatting you apply to headings; it does not pick up font
formatting applied by the style.

You can force Word to create a TOC entry in any form you like by using TC
fields (which are invisible in the printed document), but it may be
difficult to combine these with existing headings and build a TOC based on
both. For more on TC fields, see Word's Help.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"ben" <abc@efg.com> wrote in message
news:edsVshsIFHA.2752@TK2MSFTNGP12.phx.gbl...
> Suzanne S. Barnhill wrote:
> > I can't imagine why you mapped Heading 1 to TOC 2 and vice versa, but it
> > would actually work for you in this instance because you will need to
> > suppress numbering for TOC 2 and 3 (Heading 1 and whatever style you use
for
> > the author's name). For the sake of argument, say that you used Heading
3
> > for the author's name, then your TOC field would be:
> >
> > {TOC \t "MYHEADING 1,2, MYHEADING 2,1, MYHEADING 3,3" \n "2-3" }
>
> Hello. It worked - thank you very much!
>
> Would you know the following?
>
> Some of the authors appear underlined in the toc if they are also that way
> in the document. Is there anyway to force them to not be underlined in the
> toc by default?
>
> Is there a way to make the author name in the document invisible in the
> document but picked up in the toc (sometimes I have other things on the
line
> with the author and if the author's name is in the middle of text it
doesn't
> seem to be picked up by the toc. I thought to get around it by stating the
> author separately, but invisibly in the document)?
>
> Not so important, but is there an easy way to get the author on the same
> line as the second heading?
>
> Thanks for any of the above. I really appreciate your help.
>
> regards,
> Ben
>
>