Getting a heading style within a paragraph sentence

G

googlegroup

I can only seem to get a heading style to show up on a single line
independent of a paragraph's body. As in:
Heading
Paragraph text

What I'd like is to be able to get in-line headers so that I can get
them to show up in the TOC. For example, with

Exploring the technique: blah blah blah etc. paragraph text

I'd like the "Exploring the technique" part to be a heading 3 level
and everything from the colon on to be regular body text. I've spent
hours playing with and reading about the styles-and know how to get
whatever style I want to show up at different levels in the TOC-but I
can't find that magic click point that will allow me to get them in
one line.

Does anyone have the solution?

I'm working in Word 2004.
Thanks. Antony
 
D

Daiya Mitchell

You have to sort of fake it with a hidden paragraph mark. See here:
http://sbarnhill.mvps.org/wordfaqs/RunInSidehead.htm

The page is written for WinWord (and MacWord doesn't have the third
option, the Style Separator, as far as I know), but the second option on
that page, Hidden Paragraph Mark, is what you need.

Post back if some keyboard shortcuts need translation or anything else
comes up.
 
J

John McGhie [MVP Word, Word Mac]

Hi Antony:

You want "run-in headings". The easiest way to do this is with a Character
Style.

Create a Style of type "Character" and name it "Heading 4 Run-In" or
whatever you like.

A Character style can contain only the Font properties of formatting. Which
means it cannot have an "Outline Level" property. However it will still
appear in your table of contents if you explicitly select it as a style in
the Modify section of the Table of Contents dialog. You can also
cross-reference to a character style,a nd use it in StyleRef fields. The
only thing you can't do is use a character style as part of Outline
Numbering.

If you have Numbered Headings, you will HAVE to use Daiya's suggestion, or
use ListNum fields for your numbering.

Daiya is quite correct: Suzanne did discover a way of doing this with hidden
paragraph marks, which enables you to use an ordinary Heading 4 style.
However, I do not recommend the technique: having paragraph marks coming and
going leads to crashes. Particularly if you are using revision marking
(change tracking).

It does work, and if you are prepared to accept the risk, you can do it that
way. Save a new version of your file every day when you start work (and
keep all the old versions to the end of the project) that way you will have
lots of backups to go back to if it blows up :)

Hope this helps
--

Don't wait for your answer, click here: http://www.word.mvps.org/

Please reply in the group. Please do NOT email me unless I ask you to.

John McGhie, Consultant Technical Writer
McGhie Information Engineering Pty Ltd
http://jgmcghie.fastmail.com.au/
Sydney, Australia. S33°53'34.20 E151°14'54.50
+61 4 1209 1410, mailto:[email protected]
 
G

googlegroup

Hmm. My last response didn't post.
Thank you both very much for the information. I found that the hidden
paragraph marker works, and I couldn't get the modify section of the
TOC to work with modified styles. Darn!

However, thanks Diaya for the link to that webpage. The description
there of how to use the TOC fields gave me what I needed for a
flexible, easy to do solution. Microsoft's help on the fields hadn't
been enough for me to understand how to use them (or if they were even
what I wanted).

My sincere thanks to both of you for helpful ideas!!!
Antony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top