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 / Long Documents / October 2005

Tip: Looking for answers? Try searching our database.

Heading style problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
George - 13 Oct 2005 08:20 GMT
Hi all.

I want to create a heading that displays the following:
                       Chapter X
          Name of the chapter

I want it to include a line break after inserting the numeration.
How is it possible? Is it going to appear well-formatted on the TOC?

TA.

Signature

Saludos a todos
#
# Contra el terrorismo
#

Stefan Blom - 13 Oct 2005 09:17 GMT
First, set up numbering as described at
http://www.shaunakelly.com/word/numbering/OutlineNumbering.html. If
you want your heading to be centered, make sure to specify "Nothing"
for "Follow number with" in the Customize Outline Numbered List dialog
box.

If you want the text in the TOC to occupy a single line, all you have
to do is separate the "Chapter #" part and the chapter title with a
line break (press Shift+Enter to insert one). The line break will be
ignored by the TOC (unless you add the \x switch to the field code).

In the document:

Chapter #<line break>
Chapter title here

In the TOC:

Chapter # Chapter title here

Alternatively, if you don't want the "Chapter" part to be in the
TOC, use two styles: Heading 1 for the numbering and a custom style
for the title of the TOC. When you create the TOC, make sure to
exclude Heading 1 and add your custom style.

Note that if you do want the chapter number (but not the word
"Chapter") to be in the TOC you can then add numbering to the TOC 1
style, which is used by Word to add level one text in the TOC.

Signature

Stefan Blom
Microsoft Word MVP

> Hi all.
>
[quoted text clipped - 6 lines]
>
> TA.
Suzanne S. Barnhill - 13 Oct 2005 14:37 GMT
> Alternatively, if you don't want the "Chapter" part to be in the
> TOC, use two styles: Heading 1 for the numbering and a custom style
> for the title of the TOC. When you create the TOC, make sure to
> exclude Heading 1 and add your custom style.

Alternatively, you can use Heading 1 for the chapter titles and a custom
numbered style for the chapter number. This works fine if you don't need to
include the chapter number in an outline numbering scheme, page numbers,
figure captions, etc.

Signature

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.

> First, set up numbering as described at
> http://www.shaunakelly.com/word/numbering/OutlineNumbering.html. If
[quoted text clipped - 35 lines]
> >
> > TA.
George - 13 Oct 2005 16:53 GMT
This is what I tried. However I want to include in the TOC both Chapter 1
and the title. In this case I get the page number on both, and I only
want one.
       Get TOC:
       Chapter 1 ----------- 1
       The title ----------- 1

       Desired TOC:
       Chapter 1
       The title ----------- 1
      
Any help.

>> Alternatively, if you don't want the "Chapter" part to be in the
>> TOC, use two styles: Heading 1 for the numbering and a custom style
[quoted text clipped - 5 lines]
> don't need to include the chapter number in an outline numbering
> scheme, page numbers, figure captions, etc.

Signature

Saludos a todos
#
# Contra el terrorismo
#

Robert M. Franz (RMF) - 13 Oct 2005 17:04 GMT
Hi George

> This is what I tried. However I want to include in the TOC both Chapter 1
> and the title. In this case I get the page number on both, and I only
[quoted text clipped - 8 lines]
>        
> Any help.

Look up the TOC-field in your offline help; the "\n"-switch is your friend.

Greetinx
Robert
Signature

 /"\  ASCII Ribbon Campaign |   MS
 \ /                        |  MVP
  X        Against HTML     |  for
 / \     in e-mail & news   | Word

Suzanne S. Barnhill - 13 Oct 2005 18:16 GMT
In that case, you do what Stefan told you first: set "nothing" to follow the
numbering and insert a line break manually. The line break will become a
space in the TOC.

Signature

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.

> This is what I tried. However I want to include in the TOC both Chapter 1
> and the title. In this case I get the page number on both, and I only
[quoted text clipped - 18 lines]
> > don't need to include the chapter number in an outline numbering
> > scheme, page numbers, figure captions, etc.
George - 13 Oct 2005 19:43 GMT
I will try it. Thanks

> This is what I tried. However I want to include in the TOC both
> Chapter 1 and the title. In this case I get the page number on both,
[quoted text clipped - 18 lines]
>> don't need to include the chapter number in an outline numbering
>> scheme, page numbers, figure captions, etc.

Signature

Saludos a todos
#
# Contra el terrorismo
#

Suzanne S. Barnhill - 13 Oct 2005 21:30 GMT
Sorry, my answer was incorrect for what you say you want. There are two ways
to achieve

Chapter 1
Title..............................1

1. Assuming you've used a line break after the numbering, you can insert an
\x switch in the TOC field to make it preserve newline characters (see
http://word.mvps.org/FAQs/Formatting/TOCSwitches.htm). Note that this will
also preserve any other line breaks you have in the titles.

2. You can use two styles, one for the numbering and one for the title.
Assign different outline levels to them, and omit numbering in the TOC for
the outline level used for the chapter number. This is also explained in the
above-referenced article. If you want both TOC 1 and TOC 2 (or the
appropriate TOC levels) both flush left, you'll need to modify TOC 2.

Signature

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.

> I will try it. Thanks
>
[quoted text clipped - 20 lines]
> >> don't need to include the chapter number in an outline numbering
> >> scheme, page numbers, figure captions, etc.
George - 14 Oct 2005 08:47 GMT
This seems to be the solution I was looking for.

Is there any good tutorial where I can learn this type of macro things?
TOC and so on.

TA.

> Sorry, my answer was incorrect for what you say you want. There are
> two ways to achieve
[quoted text clipped - 14 lines]
> and TOC 2 (or the appropriate TOC levels) both flush left, you'll need
> to modify TOC 2.

Signature

Saludos a todos
#
# Contra el terrorismo
#

Suzanne S. Barnhill - 14 Oct 2005 17:20 GMT
Well, this isn't "macro things," as I don't do VBA. Word's Help on fields is
usually pretty good. If you search the Help for "field codes," many of the
hits will be articles on specific fields.

Signature

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.

> This seems to be the solution I was looking for.
>
[quoted text clipped - 21 lines]
> > and TOC 2 (or the appropriate TOC levels) both flush left, you'll need
> > to modify TOC 2.
 
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.