Use of a variable in numbering

J

Jerry

I need the following setup:

ITEM x

x.1 first line
x.2 second line
x.3 third line
.........
x.n nth line

ITEM y

y.1 first line
y.2 second line
y.3 third line
.........
y.n nth line


etc., where x,y.....z are to be taken from the item
definition and used in line numbering, in the way
shown above.

Can Word do this?
 
J

Jerry

Hi, Suzanne

Thanks a lot for your kind reply.

My need is a slightly modified (i.e. complicated)
form of outline numbering. Maybe it's best to
illustrate with a quote from the real thing:

1. Introduction

[text]

2. Summary

[text]

3. Reports Specification

3.1. Report x

FPx.1 [text]
FPx.2 [text]
FPx.3 [text]

3.2. Report y

FPy.1 [text]
FPy.2 [text]
FPy.3 [text]


In my situation x and y are sequential numbers, but
not identical to the list number of the corresponding
line (e.g. in "3.2 Report x" the "x" will not necessarily be
either 3 or 2). The FP in level 3 is just a prefix.

In a more complicated scenario, the x and y take the
form of random text - a text variable to be used in
level 3 following the FP prefix.


| What you are describing sounds like outline numbering. See
| http://www.shaunakelly.com/word/numbering/OutlineNumbering.html
|
| --
| 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.
|
| | > I need the following setup:
| >
| > ITEM x
| >
| > x.1 first line
| > x.2 second line
| > x.3 third line
| > .........
| > x.n nth line
| >
| > ITEM y
| >
| > y.1 first line
| > y.2 second line
| > y.3 third line
| > .........
| > y.n nth line
| >
| >
| > etc., where x,y.....z are to be taken from the item
| > definition and used in line numbering, in the way
| > shown above.
| >
| > Can Word do this?
| >
| >
|
 
S

Shauna Kelly

Hi Jerry

I would use a combination of heading numbering and SEQ fields.

Use the heading numbering for 1, 2, 3, 3.1, 3.2 etc.

Use an SEQ field preceded by "FPx." to generate the .1, .2 and .3 of FPx.1,
FPx.2 etc. Word's help has information on how to use SEQ fields.

This will let you re-arrange paragraphs within the FPx section and have Word
manage the numbering. And you can do cross-references to them if necessary.
However, be ware that Word automatically updates heading numbering, but SEQ
fields don't update automatically. You can update one by clicking in it and
pressing F9, or ctrl-a, F9 to update all fields in the document. And make
sure you do Tools > Options > Print and tick "Update fields".

Hope this helps.

Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word
 
J

Jerry

Thanks Shauna, very kind of you.

I only have one little problem remaining with
that approach, and that is that the "x" itself is
not adjusted when paragraphs get re-arranged.

As an example, say that the case looks like this:

1. Introduction
[text]

2. Summary
[text]

3. Reports Specification

3.1. Report 12
FP12.1 [text]
FP12.2 [text]
FP12.3 [text]

3.2. Report 13
FP13.1 [text]
FP13.2 [text]
FP13.3 [text]

and then I add a group between 3.1 and 3.2
consisting of:

Report z
FPz.1 [text]
FPz.2 [text]
FPz.3 [text]

I would like "Report z" line to be numbered 3.2,
actual 3.2 to turn 3.3, "z" to become 13, and
13 to change to 14, automatically. Also, where my
x, y and z are text, if I change it in the main line, I
would like it to change all along the outline, down
to the deepest level (my FPx lines have more levels below,
also prefixed by an ABx construction).

In other words, I would like my "x" to behave like a
variable parameter - when I change it in the first
instance, the change gets propagated to all other
instances of x within the document. I don't mind
having to F9 in the process.

For cases where my x is a number, I almost got there
using Captions in the 3.1, 3.2, etc. lines, with the label of
"Report", and cross-referencing it in the FPx lines.
Unfortunately, you cannot cross-reference the caption
number only, it's either the label only, or the
number AND the label.



| Hi Jerry
|
| I would use a combination of heading numbering and SEQ fields.
|
| Use the heading numbering for 1, 2, 3, 3.1, 3.2 etc.
|
| Use an SEQ field preceded by "FPx." to generate the .1, .2 and .3 of
FPx.1,
| FPx.2 etc. Word's help has information on how to use SEQ fields.
|
| This will let you re-arrange paragraphs within the FPx section and have
Word
| manage the numbering. And you can do cross-references to them if
necessary.
| However, be ware that Word automatically updates heading numbering, but
SEQ
| fields don't update automatically. You can update one by clicking in it
and
| pressing F9, or ctrl-a, F9 to update all fields in the document. And make
| sure you do Tools > Options > Print and tick "Update fields".
|
| Hope this helps.
|
| Shauna Kelly. Microsoft MVP.
| http://www.shaunakelly.com/word
|
|
| | > Hi, Suzanne
| >
| > Thanks a lot for your kind reply.
| >
| > My need is a slightly modified (i.e. complicated)
| > form of outline numbering. Maybe it's best to
| > illustrate with a quote from the real thing:
| >
| > 1. Introduction
| >
| > [text]
| >
| > 2. Summary
| >
| > [text]
| >
| > 3. Reports Specification
| >
| > 3.1. Report x
| >
| > FPx.1 [text]
| > FPx.2 [text]
| > FPx.3 [text]
| >
| > 3.2. Report y
| >
| > FPy.1 [text]
| > FPy.2 [text]
| > FPy.3 [text]
| >
| >
| > In my situation x and y are sequential numbers, but
| > not identical to the list number of the corresponding
| > line (e.g. in "3.2 Report x" the "x" will not necessarily be
| > either 3 or 2). The FP in level 3 is just a prefix.
| >
| > In a more complicated scenario, the x and y take the
| > form of random text - a text variable to be used in
| > level 3 following the FP prefix.
| >
| >
| > | > | What you are describing sounds like outline numbering. See
| > | http://www.shaunakelly.com/word/numbering/OutlineNumbering.html
| > |
| > | --
| > | 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.
| > |
| > | | > | > I need the following setup:
| > | >
| > | > ITEM x
| > | >
| > | > x.1 first line
| > | > x.2 second line
| > | > x.3 third line
| > | > .........
| > | > x.n nth line
| > | >
| > | > ITEM y
| > | >
| > | > y.1 first line
| > | > y.2 second line
| > | > y.3 third line
| > | > .........
| > | > y.n nth line
| > | >
| > | >
| > | > etc., where x,y.....z are to be taken from the item
| > | > definition and used in line numbering, in the way
| > | > shown above.
| > | >
| > | > Can Word do this?
| > | >
| > | >
| > |
| >
| >
|
|
 
S

Suzanne S. Barnhill

You *can* cross-reference the number only, though it requires a bit of
fiddling. But if you bookmark a SEQ field, you should be able to
cross-reference it as well.



Jerry said:
Thanks Shauna, very kind of you.

I only have one little problem remaining with
that approach, and that is that the "x" itself is
not adjusted when paragraphs get re-arranged.

As an example, say that the case looks like this:

1. Introduction
[text]

2. Summary
[text]

3. Reports Specification

3.1. Report 12
FP12.1 [text]
FP12.2 [text]
FP12.3 [text]

3.2. Report 13
FP13.1 [text]
FP13.2 [text]
FP13.3 [text]

and then I add a group between 3.1 and 3.2
consisting of:

Report z
FPz.1 [text]
FPz.2 [text]
FPz.3 [text]

I would like "Report z" line to be numbered 3.2,
actual 3.2 to turn 3.3, "z" to become 13, and
13 to change to 14, automatically. Also, where my
x, y and z are text, if I change it in the main line, I
would like it to change all along the outline, down
to the deepest level (my FPx lines have more levels below,
also prefixed by an ABx construction).

In other words, I would like my "x" to behave like a
variable parameter - when I change it in the first
instance, the change gets propagated to all other
instances of x within the document. I don't mind
having to F9 in the process.

For cases where my x is a number, I almost got there
using Captions in the 3.1, 3.2, etc. lines, with the label of
"Report", and cross-referencing it in the FPx lines.
Unfortunately, you cannot cross-reference the caption
number only, it's either the label only, or the
number AND the label.



| Hi Jerry
|
| I would use a combination of heading numbering and SEQ fields.
|
| Use the heading numbering for 1, 2, 3, 3.1, 3.2 etc.
|
| Use an SEQ field preceded by "FPx." to generate the .1, .2 and .3 of
FPx.1,
| FPx.2 etc. Word's help has information on how to use SEQ fields.
|
| This will let you re-arrange paragraphs within the FPx section and have
Word
| manage the numbering. And you can do cross-references to them if
necessary.
| However, be ware that Word automatically updates heading numbering, but
SEQ
| fields don't update automatically. You can update one by clicking in it
and
| pressing F9, or ctrl-a, F9 to update all fields in the document. And make
| sure you do Tools > Options > Print and tick "Update fields".
|
| Hope this helps.
|
| Shauna Kelly. Microsoft MVP.
| http://www.shaunakelly.com/word
|
|
| | > Hi, Suzanne
| >
| > Thanks a lot for your kind reply.
| >
| > My need is a slightly modified (i.e. complicated)
| > form of outline numbering. Maybe it's best to
| > illustrate with a quote from the real thing:
| >
| > 1. Introduction
| >
| > [text]
| >
| > 2. Summary
| >
| > [text]
| >
| > 3. Reports Specification
| >
| > 3.1. Report x
| >
| > FPx.1 [text]
| > FPx.2 [text]
| > FPx.3 [text]
| >
| > 3.2. Report y
| >
| > FPy.1 [text]
| > FPy.2 [text]
| > FPy.3 [text]
| >
| >
| > In my situation x and y are sequential numbers, but
| > not identical to the list number of the corresponding
| > line (e.g. in "3.2 Report x" the "x" will not necessarily be
| > either 3 or 2). The FP in level 3 is just a prefix.
| >
| > In a more complicated scenario, the x and y take the
| > form of random text - a text variable to be used in
| > level 3 following the FP prefix.
| >
| >
| > | > | What you are describing sounds like outline numbering. See
| > | http://www.shaunakelly.com/word/numbering/OutlineNumbering.html
| > |
| > | --
| > | 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.
| > |
| > | | > | > I need the following setup:
| > | >
| > | > ITEM x
| > | >
| > | > x.1 first line
| > | > x.2 second line
| > | > x.3 third line
| > | > .........
| > | > x.n nth line
| > | >
| > | > ITEM y
| > | >
| > | > y.1 first line
| > | > y.2 second line
| > | > y.3 third line
| > | > .........
| > | > y.n nth line
| > | >
| > | >
| > | > etc., where x,y.....z are to be taken from the item
| > | > definition and used in line numbering, in the way
| > | > shown above.
| > | >
| > | > Can Word do this?
| > | >
| > | >
| > |
| >
| >
|
|
 
J

Jerry

Thank you very much. In the end I gave
up on the automatic adjustment of "x". I just type
it, bookmark it, and then reference it using
the REF field.


| You *can* cross-reference the number only, though it requires a bit of
| fiddling. But if you bookmark a SEQ field, you should be able to
| cross-reference it as well.
|
| --
| 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.
|
| | > Thanks Shauna, very kind of you.
| >
| > I only have one little problem remaining with
| > that approach, and that is that the "x" itself is
| > not adjusted when paragraphs get re-arranged.
| >
| > As an example, say that the case looks like this:
| >
| > 1. Introduction
| > [text]
| >
| > 2. Summary
| > [text]
| >
| > 3. Reports Specification
| >
| > 3.1. Report 12
| > FP12.1 [text]
| > FP12.2 [text]
| > FP12.3 [text]
| >
| > 3.2. Report 13
| > FP13.1 [text]
| > FP13.2 [text]
| > FP13.3 [text]
| >
| > and then I add a group between 3.1 and 3.2
| > consisting of:
| >
| > Report z
| > FPz.1 [text]
| > FPz.2 [text]
| > FPz.3 [text]
| >
| > I would like "Report z" line to be numbered 3.2,
| > actual 3.2 to turn 3.3, "z" to become 13, and
| > 13 to change to 14, automatically. Also, where my
| > x, y and z are text, if I change it in the main line, I
| > would like it to change all along the outline, down
| > to the deepest level (my FPx lines have more levels below,
| > also prefixed by an ABx construction).
| >
| > In other words, I would like my "x" to behave like a
| > variable parameter - when I change it in the first
| > instance, the change gets propagated to all other
| > instances of x within the document. I don't mind
| > having to F9 in the process.
| >
| > For cases where my x is a number, I almost got there
| > using Captions in the 3.1, 3.2, etc. lines, with the label of
| > "Report", and cross-referencing it in the FPx lines.
| > Unfortunately, you cannot cross-reference the caption
| > number only, it's either the label only, or the
| > number AND the label.
| >
| >
| >
message
| > | > | Hi Jerry
| > |
| > | I would use a combination of heading numbering and SEQ fields.
| > |
| > | Use the heading numbering for 1, 2, 3, 3.1, 3.2 etc.
| > |
| > | Use an SEQ field preceded by "FPx." to generate the .1, .2 and .3 of
| > FPx.1,
| > | FPx.2 etc. Word's help has information on how to use SEQ fields.
| > |
| > | This will let you re-arrange paragraphs within the FPx section and
have
| > Word
| > | manage the numbering. And you can do cross-references to them if
| > necessary.
| > | However, be ware that Word automatically updates heading numbering,
but
| > SEQ
| > | fields don't update automatically. You can update one by clicking in
it
| > and
| > | pressing F9, or ctrl-a, F9 to update all fields in the document. And
| make
| > | sure you do Tools > Options > Print and tick "Update fields".
| > |
| > | Hope this helps.
| > |
| > | Shauna Kelly. Microsoft MVP.
| > | http://www.shaunakelly.com/word
| > |
| > |
| > | | > | > Hi, Suzanne
| > | >
| > | > Thanks a lot for your kind reply.
| > | >
| > | > My need is a slightly modified (i.e. complicated)
| > | > form of outline numbering. Maybe it's best to
| > | > illustrate with a quote from the real thing:
| > | >
| > | > 1. Introduction
| > | >
| > | > [text]
| > | >
| > | > 2. Summary
| > | >
| > | > [text]
| > | >
| > | > 3. Reports Specification
| > | >
| > | > 3.1. Report x
| > | >
| > | > FPx.1 [text]
| > | > FPx.2 [text]
| > | > FPx.3 [text]
| > | >
| > | > 3.2. Report y
| > | >
| > | > FPy.1 [text]
| > | > FPy.2 [text]
| > | > FPy.3 [text]
| > | >
| > | >
| > | > In my situation x and y are sequential numbers, but
| > | > not identical to the list number of the corresponding
| > | > line (e.g. in "3.2 Report x" the "x" will not necessarily be
| > | > either 3 or 2). The FP in level 3 is just a prefix.
| > | >
| > | > In a more complicated scenario, the x and y take the
| > | > form of random text - a text variable to be used in
| > | > level 3 following the FP prefix.
| > | >
| > | >
| > | > | > | > | What you are describing sounds like outline numbering. See
| > | > | http://www.shaunakelly.com/word/numbering/OutlineNumbering.html
| > | > |
| > | > | --
| > | > | 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.
| > | > |
| > | > | | > | > | > I need the following setup:
| > | > | >
| > | > | > ITEM x
| > | > | >
| > | > | > x.1 first line
| > | > | > x.2 second line
| > | > | > x.3 third line
| > | > | > .........
| > | > | > x.n nth line
| > | > | >
| > | > | > ITEM y
| > | > | >
| > | > | > y.1 first line
| > | > | > y.2 second line
| > | > | > y.3 third line
| > | > | > .........
| > | > | > y.n nth line
| > | > | >
| > | > | >
| > | > | > etc., where x,y.....z are to be taken from the item
| > | > | > definition and used in line numbering, in the way
| > | > | > shown above.
| > | > | >
| > | > | > Can Word do this?
| > | > | >
| > | > | >
| > | > |
| > | >
| > | >
| > |
| > |
| >
| >
|
 

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