TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:Re: WORD 97 - combining styles on one line From:"Ridder, Fred" <F -dot- Ridder -at- DIALOGIC -dot- COM> Date:Tue, 23 Jun 1998 08:05:36 -0400
Mary,
Yes, you can indeed define named character styles in Word, although
I must admit that it is one of the better-hidden features.
In Word95 (and I recall it being the same in Word 6) you go to
Format->Style->New. In the resulting dialog, the second box
specifies Style Type from two choices: Paragraph and Character.
I think that Word97 may be somewhat different, but I don't know for
sure because our company's tech writers have been forced to
continue using Word 95 for now (not necessarily a bad situation...)
because of Microsoft's macro language change.
> -----Original Message-----
> From: Mary McWilliams Johnson [SMTP:mary -at- superconnect -dot- com]
> Sent: Monday, June 22, 1998 10:54 PM
> To: Ridder, Fred; TECHWR-L -at- LISTSERV -dot- OKSTATE -dot- EDU
> Subject: Re: WORD 97 - combining styles on one line
>
> Are you sure you can define a character style in Word? I can't find that
> capability in Word6 or 97.
>
> Cordially, Mary
> =================
>
> At 08:05 PM 6/22/98 -0400, Ridder, Fred wrote:
> >"Bellomy, James" <bellomyj -at- HUACHUCA-EMH31 -dot- ARMY -dot- MIL>
> >asked the following question about Word 97:
> >
> >>Is there any way to place two styles on the same line. I would like
> >>have a heading style followed by body text style and be able to use the
> >>automated TOC function.
> >>
> >>Only answer I have found is to manually format headings, bookmark them,
> >>and link from my TOC.
> >
> >Well, that should work, but it must be awfully tedious unless you write
> >a macro to do it.
> >
> >Here's an alternative solution that works in Word 95 (and which hopefully
> >works the same way in Word 97...):
> >1) Define a character style that is applied to the heading text.
> >2) Insert a TC (table of contents entry) field code that references that
> > character style using a nested STYLEREF field code.
> >3) Build your ToC from the TC fields using the \t switch.
> >
> >For example, define a style called "char runninghead" and apply it to
> >the heading text. Then, some place after the text of each heading,
> >insert a nested field code { TC "{ STYLEREF "runninghead" }" }. Then
> >generate the ToC using a field code something like { TOC \o "1-4" \t },
> >which will pick up the standard Heading 1 through Heading 4 entries
> >(specified by the \o switch and the "1-3" parameter) plus the TC
> >field codes (specified via the \t switch).
> >
> >
> >Fred Ridder (mailto:f -dot- ridder -at- dialogic -dot- com)
> >Senior Technical Writer
> >Dialogic Corporation, Parsippany, NJ
> >
> >And to keep our marketing people happy:
> >Get the Dialogic Edge at: http://www.dialogic.com
> >