Link header field to a style

P

Phippsy

Is there any way I can link a style at the beginning of a section to a field
in the header. I am creating a manual and have a heading style at the
beginning of each section and want this to be reflected in the header of each
section.
Thanks
 
S

Stefan Blom

Insert a StyleRef field into the header.

The syntax of StyleRef is: { STYLEREF "stylename" } (to display text
in the specified style) or { STYLEREF "stylename" \n } (to display the
paragraph number).

For the built-in styles it's even easier; { STYLEREF 1 } in the header
displays the text of the "current" paragraph formatted in the Heading
1 style.

--
Stefan Blom
Microsoft Word MVP


in message
news:D[email protected]...
 
P

Phippsy

Thanks

Stefan Blom said:
Insert a StyleRef field into the header.

The syntax of StyleRef is: { STYLEREF "stylename" } (to display text
in the specified style) or { STYLEREF "stylename" \n } (to display the
paragraph number).

For the built-in styles it's even easier; { STYLEREF 1 } in the header
displays the text of the "current" paragraph formatted in the Heading
1 style.

--
Stefan Blom
Microsoft Word MVP


in message
 
Top