how to use customized "head-texts"

  • Thread starter Thread starter sven
  • Start date Start date
S

sven

My english isn't what it should be, so it might be hard
to explain without an example... therefore: the example:

I have a document composed of 8 chapters, and as a "head-
text" (the text on top of the pag) I want the title of
the chapter and the pagenumber... However when i manually
change the title of the chapter in the head-text, the
head-text for the entire document changes...

How can i customize these head-texts?

Thanks in advance
Sven
 
Use a styleref field in the header to place the content of the style used
for the Chapter title and a page for the page number.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
Graham Mayor - Word MVP

Web site www.gmayor.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
 
Wow...
Am I the only one that doesn't has a clue about what this
is going? What is a styleref?

Sorry, noob at work here :s

Thanks in advance
Sven

-----Original Message-----
 
Hi Sven

First, make sure the same style is applied to all the chapter titles,
and that nothing else in the document uses that style.

Next, open the header area. Go to the Insert > Field dialog. On the
left, select "Links and References". On the right, select "StyleRef".
In the Field Code box below the lists, after the word STYLEREF, type
in the name of the style you used for the chapter titles. (If the name
of the style has a space in it, put double quotes around it, for
example STYLEREF "Heading 1".) Click the OK button.

The StyleRef field automatically displays the text of the most recent
occurrence of the style named in the field. There are options you can
put into the field code to make it show the heading number if the
style is numbered.
 
Bonjour,

Dans son message, < sven > écrivait :
In this message, < sven > wrote:

|| Wow...
|| Am I the only one that doesn't has a clue about what this
|| is going? What is a styleref?
||

In place of the text that actually contains the chapter title in the header
(the "head text" as you call it ;-) ), type
{ STYLEREF "Name of the style that you use for the titles in the document" }

The {} (which represent a field, which has a special meaning to Word) must
be inserted by doing CTRL-F9, this will insert a pair of those braces, then
type the text in between them, then do SHIFT-F9 (with the cursor between the
2 {}) to revert to text instead of field code.

If you are not using a style for the chapter titles, do that first.

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
A styleref field is a field place in the page header that stores and
displays the content of the first (or last) paragraph on the page, formatted
with an indicated style, and continues to display that paragraph across
multiple pages until another paragraph formatted in that style is
encountered, whereupon is displays the revised information. So format your
Chapter titles with a unique style and use the field to display the chaper
titles in the page header.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
Graham Mayor - Word MVP

Web site www.gmayor.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
 

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

Back
Top