#1   Report Post  
Paul Terrano
 
Posts: n/a
Default Newline in a toc

One of the {TOC} switches is \x which is said to preserve a
newline character. I am formatting a long toc with TC fields and
I would like a blank line in the toc periodically.

Where in the TC does the newline character go, is it enter or
shift-enter and does the resulting empty line follow or precede
the entry that contains the newline character? I can get the
effect by entering a return manually, but this method will not
survive an update.

I did not find any definitive statements on this subject when I
searched the microsoft.public.word.* newsgroups on Google.


  #2   Report Post  
Daiya Mitchell
 
Posts: n/a
Default

If the "periodically" comes at a regular point--e.g., you have Parts,
Chapters, and Subsections of Chapters, and you want an extra blank line
before every Part, you could use a different approach.

All the Part 1, Part 2, Part 3 entries in the TOC are presumably formatted
in a style, e.g. TOC 1 or TOC 2? Format the corresponding TOC style to have
space before.

Tweak this example to meet your needs, if possible. If your blank lines are
not regular, say so, so that someone will return to your original question.
(Although I can't imagine how irregular blank lines in a TOC would be a good
idea.


On 1/6/05 8:16 AM, "Paul Terrano" wrote:

One of the {TOC} switches is \x which is said to preserve a
newline character. I am formatting a long toc with TC fields and
I would like a blank line in the toc periodically.

Where in the TC does the newline character go, is it enter or
shift-enter and does the resulting empty line follow or precede
the entry that contains the newline character? I can get the
effect by entering a return manually, but this method will not
survive an update.

I did not find any definitive statements on this subject when I
searched the microsoft.public.word.* newsgroups on Google.



--
Daiya Mitchell, MVP Mac/Word
Word FAQ: http://www.word.mvps.org/
MacWord Tips: http://www.word.mvps.org/MacWordNew/
What's an MVP? A volunteer! Read the FAQ: http://mvp.support.microsoft.com/

  #3   Report Post  
Paul Terrano
 
Posts: n/a
Default

Thank you for your very prompt reply. Your solution suits my
needs
and I should have thought of it.

The blank lines are in fact, irregular. The table of contents is
a list of function names in alphabetical order and I wanted a
blank line ahead of each leading letter change. An alternate TOC
style works nicely.

"Daiya Mitchell" wrote in message
.. .
If the "periodically" comes at a regular point--e.g., you have

Parts,
Chapters, and Subsections of Chapters, and you want an extra

blank line
before every Part, you could use a different approach.

All the Part 1, Part 2, Part 3 entries in the TOC are

presumably formatted
in a style, e.g. TOC 1 or TOC 2? Format the corresponding TOC

style to have
space before.

Tweak this example to meet your needs, if possible. If your

blank lines are
not regular, say so, so that someone will return to your

original question.
(Although I can't imagine how irregular blank lines in a TOC

would be a good
idea.


On 1/6/05 8:16 AM, "Paul Terrano" wrote:

One of the {TOC} switches is \x which is said to preserve a
newline character. I am formatting a long toc with TC fields

and
I would like a blank line in the toc periodically.

Where in the TC does the newline character go, is it enter

or
shift-enter and does the resulting empty line follow or

precede
the entry that contains the newline character? I can get the
effect by entering a return manually, but this method will

not
survive an update.

I did not find any definitive statements on this subject when

I
searched the microsoft.public.word.* newsgroups on Google.



--
Daiya Mitchell, MVP Mac/Word
Word FAQ: http://www.word.mvps.org/
MacWord Tips: http://www.word.mvps.org/MacWordNew/
What's an MVP? A volunteer! Read the FAQ:

http://mvp.support.microsoft.com/



  #4   Report Post  
Daiya Mitchell
 
Posts: n/a
Default

Glad to help, and thanks for showing me how irregular blank lines can make
lots of sense.
DM


On 1/6/05 9:57 AM, "Paul Terrano" wrote:

Thank you for your very prompt reply. Your solution suits my
needs
and I should have thought of it.

The blank lines are in fact, irregular. The table of contents is
a list of function names in alphabetical order and I wanted a
blank line ahead of each leading letter change. An alternate TOC
style works nicely.



  #5   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default

Daiya's reply has solved your problem, I think, but to answer your original
question, the switch you ask about wouldn't help you at all because it would
insert a line break in the middle of the TOC entry. If you put it at the end
of your TC field, it would insert a line break between the entry itself and
the page number. What it's intended to do is break long titles in the same
way that they are broken in the document, meaning that the line break is
usually in the middle of the entry, but a better approach to this is usually
to set a right indent for the TOC style (leaving the right tab stop for the
page number at the right margin), so that the entry wraps short of the page
number.

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

"Paul Terrano" wrote in message
...
One of the {TOC} switches is \x which is said to preserve a
newline character. I am formatting a long toc with TC fields and
I would like a blank line in the toc periodically.

Where in the TC does the newline character go, is it enter or
shift-enter and does the resulting empty line follow or precede
the entry that contains the newline character? I can get the
effect by entering a return manually, but this method will not
survive an update.

I did not find any definitive statements on this subject when I
searched the microsoft.public.word.* newsgroups on Google.





Reply
Thread Tools
Display Modes

Posting Rules

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

Forum Jump


All times are GMT +1. The time now is 08:58 AM.

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

About Us

"It's about Microsoft Word"