Using the Advance Field

G

Guest

I am printing text in a legal-type outline format. Each time the outline number changes, I want to jump to the left margin, print the expanded outline number in the left margin (so the reader doesn't have to skim backwards through the text to figure out exactly where he is in the outline), jump back to the former position of the cursor, and continue printing the text. If that text position is defined by a tab setting, I can accomplish this by
- set a tab position in the left margin for printing the expanded outline number
- use the Advance field to move to some postiion absurdly far to the left, say -100
- tab to that position in the margin
- insert the styleref field, default paragraph font, insert paragraph # in full context; an
- tab again to where the cursor originally was

However, I don't want to use a tab setting to define where that originally cursor position. How can I determine the current cursor position, remember it (stored as some sort of variable?), then use the advance field to come back to it?
 
S

Suzanne S. Barnhill

You're approaching this the wrong way and making it much too complicated.
You need to set up an outline-numbered list, based on styles, as described
at http://www.shaunakelly.com/word/numbering/OutlineNumbering.html. To place
the numbers in the margin, give them a negative indent (negative number in
the "Aligned at" box) and then set the "Tab space after" and "Indent at"
settings appropriately for the numbering level.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

RSMC said:
I am printing text in a legal-type outline format. Each time the outline
number changes, I want to jump to the left margin, print the expanded
outline number in the left margin (so the reader doesn't have to skim
backwards through the text to figure out exactly where he is in the
outline), jump back to the former position of the cursor, and continue
printing the text. If that text position is defined by a tab setting, I can
accomplish this by:
- set a tab position in the left margin for printing the expanded outline number;
- use the Advance field to move to some postiion absurdly far to the left, say -100;
- tab to that position in the margin;
- insert the styleref field, default paragraph font, insert paragraph # in full context; and
- tab again to where the cursor originally was.

However, I don't want to use a tab setting to define where that originally
cursor position. How can I determine the current cursor position, remember
it (stored as some sort of variable?), then use the advance field to come
back to it?
 
G

Guest

I will check that out. But I need the simple outline level number to display at the corresponding indented position with the text, AND the expanded outline number for that level to display in the margin

----- Suzanne S. Barnhill wrote: ----

You're approaching this the wrong way and making it much too complicated
You need to set up an outline-numbered list, based on styles, as describe
at http://www.shaunakelly.com/word/numbering/OutlineNumbering.html. To plac
the numbers in the margin, give them a negative indent (negative number i
the "Aligned at" box) and then set the "Tab space after" and "Indent at
settings appropriately for the numbering level

-
Suzanne S. Barnhil
Microsoft MVP (Word
Words into Typ
Fairhope, Alabama US
Word MVP FAQ site: http://www.word.mvps.or
Email cannot be acknowledged; please post all follow-ups to the newsgroup s
all may benefit

RSMC said:
I am printing text in a legal-type outline format. Each time the outlin
number changes, I want to jump to the left margin, print the expande
outline number in the left margin (so the reader doesn't have to ski
backwards through the text to figure out exactly where he is in th
outline), jump back to the former position of the cursor, and continu
printing the text. If that text position is defined by a tab setting, I ca
accomplish this by
- set a tab position in the left margin for printing the expanded outlin number
- use the Advance field to move to some postiion absurdly far to the left say -100
- tab to that position in the margin
- insert the styleref field, default paragraph font, insert paragraph # i full context; an
- tab again to where the cursor originally was
cursor position. How can I determine the current cursor position, remembe
it (stored as some sort of variable?), then use the advance field to com
back to it?
 
S

Suzanne S. Barnhill

I suspect that is not impossible, but it will be a bit more fiddling. You'll
need to set up the numbering as previously specified (with the full number
"outdented"). You may be able to insert a tab in the numbering and follow it
with the repeated current level number (I couldn't get this to work,
however). If not, you'll have to use the built-in tab to go to the left
margin (set "Tab space after" to 0"), then manually add a tab and a
cross-reference to the paragraph number (no context), though I find even
this works quirkily.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

RSMC said:
I will check that out. But I need the simple outline level number to
display at the corresponding indented position with the text, AND the
expanded outline number for that level to display in the margin.
 

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