Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Office 2007 - How to add new style for TOC entry

295 views
Skip to first unread message

DJM

unread,
Dec 18, 2007, 6:59:03 PM12/18/07
to
In Word 2003, you could insert a TOC based on custom styles you had made and
for each TOC entry, you could setup your own custom style so that you can
control what font, etc each entry in the TOC has
But in Word 2007, the Create new style for the TOC has the New button grayed
out.

Would there be a way to use the custom styles to control the appears of the
TOC in Word 2007?

Stefan Blom

unread,
Dec 19, 2007, 5:01:01 AM12/19/07
to
What you are describing are two separate things. You can certainly have Word
look for custom styles when building the TOC. Any style in the document can
be specified (you can even specify built-in headings, to override their
default TOC levels).

However, you cannot add a *TOC level*; these are limitied to nine. What you
can do is change the formatting of the built-in TOC 1--TOC 9 styles (these
determine the formatting of TOC entries).

You can add a style to the be included in the TOC via the Table of Contents
dialog box. In the dialog box, click the Options button, and type a level for
the style to be included (in the "Available styles" list); see
http://sbarnhill.mvps.org/WordFAQs/TOCTips.htm.

For an existing TOC, just modify the TOC field code to include the \t switch
(see http://sbarnhill.mvps.org/WordFAQs/TOCTips.htm).

You can modify the TOC styles via the Table of Contents dialog box. Click
the Modify button. For details, see
http://sbarnhill.mvps.org/WordFAQs/TOCTips.htm.

--
Stefan Blom
Microsoft Word MVP

Stefan Blom

unread,
Dec 19, 2007, 8:54:36 AM12/19/07
to
> For an existing TOC, just modify the TOC field code to include the \t
> switch (see http://sbarnhill.mvps.org/WordFAQs/TOCTips.htm).

Correction: The link is
http://word.mvps.org/faqs/formatting/TOCSwitches.htm.

--
Stefan Blom
Microsoft Word MVP


"Stefan Blom" wrote in message
news:FFCFBE2D-AB5B-4248...@microsoft.com...

DJM

unread,
Dec 19, 2007, 12:47:01 PM12/19/07
to
Stefan - thank you for the links and answers. Looks like I will have to
rebuild in Word 2007 and that it does not have a feature that was available
in Word 2003.
Just to clarify for others who may run into the same issue:
In Word 2003, you could have customized TOC entry styles in addition to
doing the following in the Table of Contents dialog box:
1) Set table leader and select formats (from template)
2) Click Options button and select how to build the TOC, from Styles,
Outline levels, or Table entry fields; and select TOC levels and at what
level number to show them.
3) Click Modify and select the appropriate style for the table entry.
- it was here that you could create NEW and use a style you had created
(the company has specific text styles for the TOC entries as well as for the
document Headers, text, pictures, and so on)
- Also, you could select the entry style and click Modify, to setup tab
leaders, fonts, and spacing among other things.
- what you did was setup Normal to have these styles; Then setup templates
with some modifications based on Normal so that the styles would carry
through but some templates would have a few different styles

=== Thank you again for your topic breakout with links.

Dawn Crosier, Word MVP

unread,
Dec 19, 2007, 2:31:05 PM12/19/07
to
You can still do that in Word 2007, however the command is not easily
recognized.

On the References Tab, select the Table of Contents Command. From there,
select "Insert Table of Contents". The older TOC dialog box will open
allowing you the ability to modify each of the TOC Styles, as well as
set the Options to include marked entries or change the styles
associated with a TOC Level.

Hope that helps.

--
Dawn Crosier
Microsoft MVP
"Education Lasts a Lifetime"
This message is posted to a newsgroup. Please post replies and questions
to the newsgroup so that others can learn as well.


"DJM" <D...@discussions.microsoft.com> wrote in message
news:3543B077-A4A0-4CC5...@microsoft.com:

> Stefan - thank you for the links and answers. Looks like I will have to
> rebuild in Word 2007 and that it does not have a feature that was available
> in Word 2003.
> Just to clarify for others who may run into the same issue:
> In Word 2003, you could have customized TOC entry styles in addition to
> doing the following in the Table of Contents dialog box:
> 1) Set table leader and select formats (from template)
> 2) Click Options button and select how to build the TOC, from Styles,
> Outline levels, or Table entry fields; and select TOC levels and at what
> level number to show them.
> 3) Click Modify and select the appropriate style for the table entry.
> - it was here that you could create NEW and use a style you had created
> (the company has specific text styles for the TOC entries as well as for the
> document Headers, text, pictures, and so on)
> - Also, you could select the entry style and click Modify, to setup tab
> leaders, fonts, and spacing among other things.
> - what you did was setup Normal to have these styles; Then setup templates
> with some modifications based on Normal so that the styles would carry
> through but some templates would have a few different styles
>
> === Thank you again for your topic breakout with links.


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.17.4/1189 - Release Date:
12/18/2007 9:40 PM


Stefan Blom

unread,
Dec 20, 2007, 5:33:46 AM12/20/07
to
Maybe I misunderstood your question. You can certainly set the same options
as in Word 2003, but, as Dawn pointed out in her message, (some of) the
steps are a bit different in Word 2007.

To display the equivalent of the old Index and Tables dialog box (for TOC
creation), click the References tab | Table of Contents | Insert Table of
Contents. As in previous versions, the dialog box has an Options button and
a Modify button.

To specify how to build the TOC (from styles, TC fields, and/or TOC levels),
click the Options button; this displays the Table of Contents Options dialog
box.

To change the TOC styles, click the Modify button. After you have selected a
TOC style, click Modify. You'll see the Modify Style dialog box. Note that
in order to add a modified style to the attached template, click the "New
documents based on this template" option (which replaces "Add to template"
of Word 97-2003).

--
Stefan Blom
Microsoft Word MVP


"DJM" wrote in message
news:3543B077-A4A0-4CC5...@microsoft.com...

J Weir

unread,
Mar 9, 2008, 8:13:00 PM3/9/08
to
Hi - another question for you...

I am setting up templates and need to provide bith a landscape and a
portrait table of contents - I suspect I will need to create two different
templates as the tabs for the TOC styles need to be different.

Is that the case or iis there something I have missed?

Thanks

Suzanne S. Barnhill

unread,
Mar 9, 2008, 8:31:08 PM3/9/08
to
Not necessarily. The style definitions for the TOC styles do not include the
right-aligned tab stop for the page number. This tab stop is set dynamically
(at the current right margin) when the TOC is generated. If your template
will include a dummy TOC, then yes, you'll need two templates, but if it
includes only the styles, then the tab setting alone won't be an issue.

But if your document can be used in either portrait or landscape
orientation, it would probably be wise to create two templates anyway.
Although the new "alignment tabs" can be used to adjust the header/footer
automatically, there are still other things you might want to change between
one orientation and the other.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

"J Weir" <JW...@discussions.microsoft.com> wrote in message
news:F3ECCDF2-6C15-4687...@microsoft.com...

J Weir

unread,
Mar 10, 2008, 11:03:00 PM3/10/08
to
Hi,

Thanks for your post.

I have just posted another question but will add it here too (I had
forgotten this thread (and am having trouble finding posts))

I did get the TOC working in both portrait and landscape orientation but now
the alignment of the page numbers is all over the place. I am trying to
retrace my steps - it may be linked with adding the TOC as a quick part
(Word 2007) -- though I have had the same problem with standard plain
documents.

Do you have any ideas/help? Thanks Judiht

Suzanne S. Barnhill

unread,
Mar 11, 2008, 12:40:00 AM3/11/08
to
As I mentioned in the other thread, in Word 2007 you have the option of
using the new alignment tab instead of a right tab for the page number.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

"J Weir" <JW...@discussions.microsoft.com> wrote in message

news:760DB8A2-6BB8-49C8...@microsoft.com...

J Weir

unread,
Mar 11, 2008, 2:27:00 AM3/11/08
to
I have looked in the tab dialog box and in help but can't find any reference
to teh alignment tab.

What ribbon tab/goup/cammand should I use?

Thanks for your patience. Judith

Stefan Blom

unread,
Mar 11, 2008, 5:28:51 AM3/11/08
to
"Alignment tab" refers to a new kind of tab stop, that you can set relative
to the right margin. Add the Insert Alignment Tab command to the Quick
Access Toolbar. Note that for this type of tab to work, the document must be
saved in Word 2007 format.

--
Stefan Blom
Microsoft Word MVP


"J Weir" wrote in message
news:485550D6-38C6-4C5E...@microsoft.com...

Suzanne S. Barnhill

unread,
Mar 11, 2008, 9:22:17 AM3/11/08
to
To add to what Stefan has said, this new type of tab stop is not documented
in the offline Help at all, and it isn't easy to find at Office Online
because the article that addresses it
(http://office.microsoft.com/en-us/word/HA102341341033.aspx, coauthored by
Office MVP Beth Melton) is ostensibly (and primarily) about headers and
footers. But if you use Google to search for "Word 2007 alignment tab stop,"
you can come up with articles such as
http://blogs.techrepublic.com.com/msoffice/?p=344 that discuss it
exclusively.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

"Stefan Blom" <no....@please.xyz> wrote in message
news:OHZzWp1g...@TK2MSFTNGP02.phx.gbl...

0 new messages