Page Numbering in ToC

R

Ricki Miles

I am using Word 2003. I would like to include a letter in front of the
numbering of my table of contents I have two sections in the document and
have two types of page numbers: those that have a "G" in front of the page
number for "Glossary" and those that have an "S" in front of the page number
for "Summary". (example: Definitions..............g12). I have included
these letters in the footers of the two sections. Is there any way to
include these letters in the automatic table of contents?

Thanks in advance,

Ricki
 
S

Suzanne S. Barnhill

As a general rule, only if the letters come from the headings via "Include
chapter number." But there is a workaround devised by Stefan Blom. This
explanation is for adding A.

"Insert a section break before the pages in question. In the newly created
section, add the following SEQ field: { SEQ test \* ALPHABETIC \r 1 }. To
create the field delimiters, { }, press Ctrl+F9; then type the code as
shown. Use F9 to update. Format the field as hidden or in white color so
that it doesn't print.

"Display the TOC field code and add \s "test" to it. Press F9 to update; if
prompted, choose to update the entire table.

"You can show/hide the field codes in a document by pressing Alt+F9.

"Unlink the header (or footer) where you want to insert the page number.
Insert the page number. Before the page number, type "A-"."

To use G and S, you'd need your SEQ fields to be:

{ SEQ test \* ALPHABETIC \r 7 } for G

{ SEQ test \* ALPHABETIC \r 19 }

That's if I'm understanding Stefan's method correctly. If not, perhaps he'll
post here and correct me--or perhaps he'll just observe this exchange in
frustration since he's having trouble posting to the NGs at the moment!
(Stefan, if necessary, email me any corrections, and I'll post them.)
--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 
R

Ricki Miles

WOW! It works! Thanks again,

Ricki

Suzanne S. Barnhill said:
As a general rule, only if the letters come from the headings via "Include
chapter number." But there is a workaround devised by Stefan Blom. This
explanation is for adding A.

"Insert a section break before the pages in question. In the newly created
section, add the following SEQ field: { SEQ test \* ALPHABETIC \r 1 }. To
create the field delimiters, { }, press Ctrl+F9; then type the code as
shown. Use F9 to update. Format the field as hidden or in white color so
that it doesn't print.

"Display the TOC field code and add \s "test" to it. Press F9 to update;
if
prompted, choose to update the entire table.

"You can show/hide the field codes in a document by pressing Alt+F9.

"Unlink the header (or footer) where you want to insert the page number.
Insert the page number. Before the page number, type "A-"."

To use G and S, you'd need your SEQ fields to be:

{ SEQ test \* ALPHABETIC \r 7 } for G

{ SEQ test \* ALPHABETIC \r 19 }

That's if I'm understanding Stefan's method correctly. If not, perhaps
he'll post here and correct me--or perhaps he'll just observe this
exchange in frustration since he's having trouble posting to the NGs at
the moment! (Stefan, if necessary, email me any corrections, and I'll post
them.)
--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 
S

Suzanne S. Barnhill

I'm glad to hear that it works. This sounds like a technique I need to add
to my TOC Tips and Tricks article (crediting Stefan, of course).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top