This question may sound elementary, but I just wanted to check. Is
there a way to make a style that occupies the same vertical space of
the header? That is, can you create a style that will appear "higher"
than the bottom of the header?
This reply may sound perverse. No,{1] but you can have material in the
header lower than the body of the page.
It has nothing to do with styles. You are off on the wrong track there.
You can place a graphic in the header that occupies some or all of the
page. It is a common way of placing a watermark all over each page of
your document.
I have probably misunderstood your question. If so, post back with a
long rambling description of what you are trying to do and why.
Note 1. I don't think you can anchor a graphic in the body of a page
that extends upward. Somebody wiser with an even more twisted mind than
mine might be along shortly.
Basically, what I am hoping to do is create a document where the
header is exactly one line "tall" - so there's just one line of text.
But I also want to create a table of contents that is based on some
content "in" the header. Basically, I have a right-aligned word or
two and a left aligned word or two that remain the same on every page,
and I'd like to create a table of contents from the changing word that
goes in the middle. Since it's (nearly) impossible to do this by
putting the text actually in the header, I was hoping I could have a
style that could squeeze itself "into" the header, that is, centered
at the top of the page on the same line as the header is. That way, I
can make a table of contents from that.
I think this might be impossible but I just thought I'd check and see
on the off chance that someone knows a trick I can use here. Thanks
for your help.
Dear [whoever],
You can't do it -- because headers are entirely separate containers from the
main body of the document within the Word file.
I only casually read your other thread, to which John McGhie responded, but
it seemed to me that using a StyleRef field in the header was the solution
for you, as John suggested. That is, in the body of the document allocate a
style for the term you want to appear in the header by means of a StyleRef
field.
This need not be a heading style; I sometimes design a new style that looks
like another style but which has the purpose of putting itself in the header
-- e.g. style "version" on a front cover, which *looks* like the other
emboldened words on the cover.
If you don't use a heading style, you will need to tell Word to include the
particular style in the table of contents, but that's quite easy (post back
if you want more information on this). You can also use a cross-reference
for this: see Word's Help for "Insert the chapter number and title in a
header or footer".
More information is under the heading "Header that shows the wording of the
chapter heading" on pages 141-142 of some notes on the way I use Word for
the Mac, titled "Bend Word to Your Will", which are available as a free
download from the Word MVPs' website
(
http://word.mvps.org/Mac/Bend/BendWordToYourWill.html).
[Note: "Bend Word to your will" is designed to be used electronically and
most subjects are self-contained dictionary-style entries. If you decide to
read more widely than the item I've referred to, it's important to read the
front end of the document -- especially pages 3 and 5 -- so you can select
some Word settings that will allow you to use the document effectively.]
Cheers,
Clive Huggan
Canberra, Australia
(My time zone is 5-11 hours different from North America and Europe, so my
follow-on responses to those regions can be delayed)
============================================================