View Single Post
  #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...