Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.pagelayout
hanspnw hanspnw is offline
external usenet poster
 
Posts: 9
Default TOC is adding spaces that aren't in Heading text

Word is adding spaces in the TOC that aren't in the style-defined text
from which they're generated. For example, if I type this in the
heading:

Appendix A:

Boring Extraneous Stuff

where "Appendix" is added via "Enter formatting for number" in the
Multilevel dialog box, where the colon is manually typed, and where
there are two soft line breaks after the colon, I get this in the TOC:

Appendix A_:__Boring Extraneous Stuff

That is, Word is adding one space before the colon, and two after it.

The style's "Follow numbering with" parameter is set up to add
nothing, and there are no extraneous spaces in the "Enter formatting
for number" field.

Can I control these spaces somehow? I need no space prior to the colon
(don't care about the two subsequent).

Thanks...

  #2   Report Post  
Posted to microsoft.public.word.pagelayout
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default TOC is adding spaces that aren't in Heading text

The TOC replaces line breaks with spaces, so I would expect the two spaces
after the colon. I would suggest that you format your Appendix title style
with Multiple or Exactly line spacing to add the required space using a
single line break.

I can't explain the space before the colon provided it is part of the number
formatting (not typed manually in the document) and there is no space
between the "number" and the colon in the "Number format" box of the Define
New Multilevel List dialog.

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

"hanspnw" wrote in message
...
Word is adding spaces in the TOC that aren't in the style-defined text
from which they're generated. For example, if I type this in the
heading:

Appendix A:

Boring Extraneous Stuff

where "Appendix" is added via "Enter formatting for number" in the
Multilevel dialog box, where the colon is manually typed, and where
there are two soft line breaks after the colon, I get this in the TOC:

Appendix A_:__Boring Extraneous Stuff

That is, Word is adding one space before the colon, and two after it.

The style's "Follow numbering with" parameter is set up to add
nothing, and there are no extraneous spaces in the "Enter formatting
for number" field.

Can I control these spaces somehow? I need no space prior to the colon
(don't care about the two subsequent).

Thanks...



  #3   Report Post  
Posted to microsoft.public.word.pagelayout
hanspnw hanspnw is offline
external usenet poster
 
Posts: 9
Default TOC is adding spaces that aren't in Heading text

Suzanne,

Thank you for your response and line spacing suggestion; I'll adjust
the style.

The reason I don't automate the colon's inclusion when setting up
numbering is because I have so many xrefs to appendices by just their
letter, not the full xref text (e.g., "see Appendix A") and I am
unable to figure out how to use an automated colon but get an xref of
"Appendix A" instead of "Appendix A:".

-Hans

On Jul 27, 12:01*pm, "Suzanne S. Barnhill" wrote:
The TOC replaces line breaks with spaces, so I would expect the two spaces
after the colon. I would suggest that you format your Appendix title style
with Multiple or Exactly line spacing to add the required space using a
single line break.

I can't explain the space before the colon provided it is part of the number
formatting (not typed manually in the document) and there is no space
between the "number" and the colon in the "Number format" box of the Define
New Multilevel List dialog.

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

"hanspnw" wrote in message

...



Word is adding spaces in the TOC that aren't in the style-defined text
from which they're generated. For example, if I type this in the
heading:


Appendix A:


Boring Extraneous Stuff


where "Appendix" is added via "Enter formatting for number" in the
Multilevel dialog box, where the colon is manually typed, and where
there are two soft line breaks after the colon, I get this in the TOC:


Appendix A_:__Boring Extraneous Stuff


That is, Word is adding one space before the colon, and two after it.


The style's "Follow numbering with" parameter is set up to add
nothing, and there are no extraneous spaces in the "Enter formatting
for number" field.


Can I control these spaces somehow? I need no space prior to the colon
(don't care about the two subsequent).


Thanks...


  #4   Report Post  
Posted to microsoft.public.word.pagelayout
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default TOC is adding spaces that aren't in Heading text

If you're adding the colon manually, it should be added immediately after
the number (assuming there's not a space following the number in the "Number
format" box), but this brings up another possibility I did not mention
befo although I don't have much experience with numbered headings in
TOCs, I think the TOC may add a space or tab following the number. If your
appendix titles are short, you can remove the hanging indent from the TOC
style, or at least delete the tab stop a that position, and see if that
helps.

A way to get around this entirely would be to use two different styles as
described at
http://sbarnhill.mvps.org/WordFAQs/T...mberedHeadings. This
would allow you to have a style with just the numbering and another style
with just the title. In the TOC, you map just the title style to a TOC level
that is not otherwise used and apply Appendix # numbering to that style.

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

"hanspnw" wrote in message
...
Suzanne,

Thank you for your response and line spacing suggestion; I'll adjust
the style.

The reason I don't automate the colon's inclusion when setting up
numbering is because I have so many xrefs to appendices by just their
letter, not the full xref text (e.g., "see Appendix A") and I am
unable to figure out how to use an automated colon but get an xref of
"Appendix A" instead of "Appendix A:".

-Hans

On Jul 27, 12:01 pm, "Suzanne S. Barnhill" wrote:
The TOC replaces line breaks with spaces, so I would expect the two spaces
after the colon. I would suggest that you format your Appendix title style
with Multiple or Exactly line spacing to add the required space using a
single line break.

I can't explain the space before the colon provided it is part of the
number
formatting (not typed manually in the document) and there is no space
between the "number" and the colon in the "Number format" box of the
Define
New Multilevel List dialog.

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

"hanspnw" wrote in message

...



Word is adding spaces in the TOC that aren't in the style-defined text
from which they're generated. For example, if I type this in the
heading:


Appendix A:


Boring Extraneous Stuff


where "Appendix" is added via "Enter formatting for number" in the
Multilevel dialog box, where the colon is manually typed, and where
there are two soft line breaks after the colon, I get this in the TOC:


Appendix A_:__Boring Extraneous Stuff


That is, Word is adding one space before the colon, and two after it.


The style's "Follow numbering with" parameter is set up to add
nothing, and there are no extraneous spaces in the "Enter formatting
for number" field.


Can I control these spaces somehow? I need no space prior to the colon
(don't care about the two subsequent).


Thanks...



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding heading text to footers Felix Page Layout 4 April 9th 10 08:11 PM
Adding heading text to footers Felix Page Layout 0 April 8th 10 10:07 PM
TOC Formating - TOC Styles aren't actually changing the font c j Page Layout 10 February 27th 10 03:03 AM
TOC Formating - TOC Styles aren't actually changing the font c j Page Layout 0 February 24th 10 10:07 PM
Urgent: TOC - 2 problems: TOC 1 with Heading 1; numbering Heading Lynn Microsoft Word Help 4 October 22nd 07 01:27 PM


All times are GMT +1. The time now is 11:07 PM.

Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"