Typing in "X Bar" wiith out using equation editor

K

Kellman

Is there an easy way to type in "X Bar" (average of X) in a Word document with out using equation editor. Is the an ACSII or Unicode number ?
 
S

Shauna Kelly

Hi Kellman

You can use an EQ field for this. Do ctrl-F9 and type the following within
the braces that Word gives you:
EQ \O(x,¯)

Note that you can't type the {} braces by hand. You must use ctrl-F9 and
type between the braces that Word inserts for you. Once you've typed the
field, use F9 to update it, or ctrl-a F9 to update all fields in the
document.

If you're going to use this a lot, I suggest you select the whole field, and
create an AutoText of it. I called mine xbar, so I just type xbar and hit
Enter to insert an x bar sign.

Hope this helps.

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


Kellman said:
Is there an easy way to type in "X Bar" (average of X) in a Word document
with out using equation editor. Is the an ACSII or Unicode number ?
 
K

Kellman

Thanks !!! That works great and adds a whole new tool for me to use.

I have a few additonal questions.

How did you create the Bar symbol that you used in the overstrike command. I remember seeing it somewhere in the character map, but can't seem to find it now (since I will want to make additonal "Y" bar autotext symbols). I can cut paste what you sent, but "enquiring minds want to know"

Second, I wish to center align the charter box in the overstrike command (yes I know its the default, but I think that I may have reset the default). The help menu says to use the \ac command, but I am not sure of the syntax to apply this command. When I tried to type EQ \ac(X,¯) or EQ \o\ac(X,¯) in the backets, I get an error

Thanks in advance. This is real cool


----- Shauna Kelly wrote: ----

Hi Kellma

You can use an EQ field for this. Do ctrl-F9 and type the following withi
the braces that Word gives you
EQ \O(x,¯

Note that you can't type the {} braces by hand. You must use ctrl-F9 an
type between the braces that Word inserts for you. Once you've typed th
field, use F9 to update it, or ctrl-a F9 to update all fields in th
document

If you're going to use this a lot, I suggest you select the whole field, an
create an AutoText of it. I called mine xbar, so I just type xbar and hi
Enter to insert an x bar sign

Hope this helps

Shauna Kelly. Microsoft MVP
http://www.shaunakelly.com/wor


Kellman said:
Is there an easy way to type in "X Bar" (average of X) in a Word documen
with out using equation editor. Is the an ACSII or Unicode number
 
S

Shauna Kelly

Hi Kellman
How did you create the Bar symbol that you used in the overstrike command

I've no idea! I did my xbar, ybar etc things so long ago I've forgotten. And
I just copied and pasted mine into the post. However, there is a way to find
out. Use Alt-F9 to expose the field codes. Select just the bar and do Insert
Symbol. Turns out it's ASCII 0175 or Unicode 00AF.
When I tried to type EQ \ac(X,¯) or EQ \o\ac(X,¯) in the backets, I get an
error.
Try: EQ \o \ac(y,¯)
To see the effect, put several spaces before the y, and then try \ac, \al,
\ar.

I should have made one other point earlier: when you create the x-bar EQ
field, select just the x and make it italic, if that's what you want. Then
make your AutoText from there.

By the way, AutoTexts are good for any kind of stuff you use frequently. Eg,
I have one called fratio which inserts F-Ratio with the F in italics and a
non-breaking hyphen, and one for H0 with the 0 in subscript. And one
AutoText that inserts a blank ANOVA table, formatted just as I want it,
ready for me to fill in.

You might also investigate Autocorrect as well as AutoText. Autocorrect
works immediately; AutoText works only when you invoke it.

Hope this helps.

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


Kellman said:
Thanks !!! That works great and adds a whole new tool for me to use.

I have a few additonal questions.

How did you create the Bar symbol that you used in the overstrike command.
I remember seeing it somewhere in the character map, but can't seem to find
it now (since I will want to make additonal "Y" bar autotext symbols). I can
cut paste what you sent, but "enquiring minds want to know".
Second, I wish to center align the charter box in the overstrike command
(yes I know its the default, but I think that I may have reset the default).
The help menu says to use the \ac command, but I am not sure of the syntax
to apply this command. When I tried to type EQ \ac(X,¯) or EQ \o\ac(X,¯) in
the backets, I get an error.
 
K

Kellman

Thanks Shana !!!

This has been very helpfull and addresses all of my questions.
 

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