A...Z, AA, AB Code Not Caps?

S

StarWine

Thank you everyone for all your help in my posting recently... I think
between all the different posts and the research I've done I FINALLY have
what I need... I do have one last question though. How do I get the
following code, which makes a list that goes A...Z, AA, AB..., to be lower
case letters with parenthesis on each side of the letter (i.e., (a)...(z),
(aa), (ab)...)? Here's the code:

{QUOTE{SET A2Z{=MOD({SEQ ABC}-1,26)+1}}{SET AA2ZZ{=INT(({SEQ ABC
\c}-1)/26)}}{IF{AA2ZZ \* ALPHABETIC}= " " "" {AA2ZZ \* ALPHABETIC}}{A2Z \*
ALPHABETIC}}

Also, when I make this an auto text item, how do I make the auto text item
inherit paragraph formatting (i.e., indent 0.25", hanging 0.3", 6 pt
before/after, etc.)? Do I just set it up before I add it as an auto text
item? Or can I somehow make this a style?

Thanks again for all your help!
 
P

Peter Fagan

StarWine said:
...one last question...How do I get the following code, which makes a list that goes A...Z, AA, AB..., to be lower case letters with parenthesis on each side of the letter (i.e., (a)...(z), (aa), (ab)...)? Here's the code:

{QUOTE{SET A2Z{=MOD({SEQ ABC}-1,26)+1}}{SET AA2ZZ{=INT(({SEQ ABC
\c}-1)/26)}}{IF{AA2ZZ \* ALPHABETIC}= " " "" {AA2ZZ \* ALPHABETIC}}{A2Z \*
ALPHABETIC}}

Also, when I make this an auto text item, how do I make the auto text item
inherit paragraph formatting (i.e., indent 0.25", hanging 0.3", 6 pt
before/after, etc.)? Do I just set it up before I add it as an auto text
item? Or can I somehow make this a style?

Thanks again for all your help!

StarWine

I'm not sure what your code is or does, but ALPHABETIC looks to me
like the SEQ field General switch. In your code, try changing each
instance of ALPHABETIC to alphabetic. This works for me in alphabetic
and Roman numeral SEQ fields where I want to change the case.

For more information on the SEQ field General switch, look for the
heading General switch at:
http://www.idoc.com.au/numbering/seq_fields_facts.htm

Again, I am not sure what you are doing, but if you after a way to
implement SEQ field numbering in this format:

(a)
(b)
(c)
....
(z)
(aa)
(bb)
(cc)
....
(zz)
etc.

Pro_Numbering.dot is perfectly suited to doing this for you with
absolutely minimal effort on your part, brackets and preferred
paragraph formatting included. See:
http://www.idoc.com.au/numbering/numbering.htm

PeterF
 
M

macropod

Hi StarWine,

Easiest way to change the output to lower case is to select the whole field
and press Ctrl-F9 to wrap another set of field braces around it, then type
'QUOTE' after the first field brace and '\* Lower' before the last field
brace. That is:
{QUOTEQUOTE{SET A2Z{=MOD({SEQ ABC}-1,26)+1}}{SET AA2ZZ{=INT(({SEQ ABC
\c}-1)/26)}}{IF{AA2ZZ \* ALPHABETIC}= " " "" {AA2ZZ \* ALPHABETIC}}{A2Z \*
ALPHABETIC}} \* Lower}

Cheers
 

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