Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Page Layout / February 2004

Tip: Looking for answers? Try searching our database.

Table of Contents: spacing before page numbers

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Scott Klemmer - 10 Feb 2004 03:38 GMT
Hi,
 I have a question about table of contents formatting.
(Yes, I have read
http://word.mvps.org/FAQs/Formatting/TOCSwitches.htm.)

I would like to format it with three spaces (or a roughly
equivalent amount of space in another manner) between the
chapter name and the page number. In other words:

My table of contents currently reads:
1    INTRODUCTION 1

I would like it to read:
1    INTRODUCTION   1

I do not want to use a tab, because a tab aligns the
number to a specific location. Rather, I am trying to
specify a uniform amount of space between the chapter
name and page number. Thanks!
 +scott
Doug Robbins - Word MVP - DELETE UPPERCASE CHARACTERS FROM EMAIL ADDRESS - 10 Feb 2004 06:21 GMT
Hi Scott,

Select the table of contents and press Ctrl+Shift+F9 to unlink it.   Then do
a wildcard replace with

(^t)([0-9]{1,})(^13)

in the find what control and

  \2\3

in the Replace with control (that's three spaces + \2\3)

Don't save the document after doing this, or at least save it with another
name as the first step in this procedure unlinks the table of contents from
the headings up which it is based, so that it will no longer update.

Signature

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested.  Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.
Hope this helps
Doug Robbins - Word MVP

> Hi,
>  I have a question about table of contents formatting.
[quoted text clipped - 16 lines]
> name and page number. Thanks!
>  +scott
Suzanne S. Barnhill - 10 Feb 2004 19:48 GMT
Just don't believe Word's Help, which implies that you can in fact define
this using the \p switch. While I haven't tested this in Word 2003, I can
attest that it does not work in any version up through Word 2002. The Help
text says:

\p "Separators"
Specifies the characters that separate an entry and its page number. For
example, the field { TOC \p "--" }, with an em dash, displays a result such
as "Selecting Text--53." The default is a tab with leader dots. You can use
up to five characters, which must be enclosed in quotation marks.

No matter how many characters you include, you get just one. If, however,
you could get the field to use an em space, this might accomplish what you
want (it's roughly equivalent to three regular spaces).

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Signature

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


> Hi,
>   I have a question about table of contents formatting.
[quoted text clipped - 16 lines]
> name and page number. Thanks!
>   +scott
Scott Klemmer - 11 Feb 2004 23:31 GMT
Thanks Suzanne!
 Unfortunately, I can't figure out how to get Word to
insert an em space. How can I do this?
 +scott

>-----Original Message-----
>Just don't believe Word's Help, which implies that you can in fact define
[quoted text clipped - 43 lines]
>
>.
Suzanne S. Barnhill - 12 Feb 2004 00:06 GMT
I know there is a keyboard shortcut for it, but I don't know what the
built-in one is because I've modified mine to Alt+Ctrl+M. Check the Special
Characters tab of Insert | Symbol.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Signature

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


> Thanks Suzanne!
>   Unfortunately, I can't figure out how to get Word to
[quoted text clipped - 63 lines]
> >
> >.
Scott Klemmer - 19 Feb 2004 01:15 GMT
Thanks Suzanne!
 I modified the field code so that the character after
\p is an em space. However, when Word formats the table,
it places a '#' character where the em space should be.
Same problem with an en space. Both of these characters
appear properly when directly inserted into the document.
Any other thoughts?

>-----Original Message-----
>I know there is a keyboard shortcut for it, but I don't know what the
[quoted text clipped - 56 lines]
>> >>   I have a question about table of contents formatting.
>> >> (Yes, I have read

http://word.mvps.org/FAQs/Formatting/TOCSwitches.htm.)

>> >> I would like to format it with three spaces (or a
>> roughly
[quoted text clipped - 17 lines]
>
>.
Suzanne S. Barnhill - 20 Feb 2004 00:57 GMT
Yeah, I was afraid of that. Em space and en spaces are philosophical
concepts that Word doesn't totally support. <g> I guess I'm out of ideas
then.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Signature

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


> Thanks Suzanne!
>   I modified the field code so that the character after
[quoted text clipped - 103 lines]
> >
> >.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.