Re: In Word, how can I place a bar above a letter to show a mean?



On Aug 4, 7:15 pm, "Greg Maxey"
<gma...@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
The macro I use does not use the overstrike field.  Is uses the EQ field
with the \x "box" switch.  What is an overstrike field anyway?

\O

(Haven't you ever looked into the "Options" button in the Fields
dialog?)

It's rather simpler than the elaborate expression in your line "Text."

Do you really always wonder what Dim means?

Try:http://lmgtfy.com/?q=What+is+dim%3F

Why? It won't make any sense without a whole congeries of other
terminology.

And presumably that would give me a large number of dictionary entries
for the English word meaning 'not brightly lit'.

Peter T. Daniels wrote:
I never suggested there was anything wrong with using the Overstrike
field (that's what I did yesterday to put a tilde through the middle
of several phonetic characters in transcribing Arabic, because the
Combining Diacritic Tilde was not positioned properly); but where the
combining diacritic exists, it certainly is easier to open Insert
Symbol and click it. (I don't type the Unicod code myself, but some
people are overwhelmed by the amount of choice provided by Insert
Symbol.) I learned to use the Overstrike filed from the Appendix on
Fields that was included in the MANUAL THAT CAME WITH WORD 5.0 FOR
MAC.

And since I use several score of letters with diacritics regularly, it
most certainly is far more convenient to assign a keyboard shortcut to
each one of them (using a rational system, of course).

For instance, Ctrl-Alt-P is the trigger, and Hyphen gets me macrons or
underbars; v gets me hacheks; u gets me breves; period gets me
underdots; Ctrl-P and period gets me overdots (they're used much less
commonly than underdots); etc. The four groups Latin and Extensions
cover just about every variety of roman letter that's used in any
language of the world, and my keyboard shortcuts cover everything I
need. (For Vietnamese, I use the Vietnamese keyboard.)

It is of course "impossible" for me to create a macro, because I don't
have any idea how to find instructions in creating a macro. I once got
a remaindered "Word2000 Developer's Handbook" that seems to cover the
topic; it's even fatter than the accompanying aftermarket book on
using Word that deals with every command Word has.

For instance, I always wonder what "Dim"  means, since it appears so
often in macro codes.

On Aug 4, 4:11 pm, "Greg Maxey"
<gma...@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Peter,

Conceding that it could be far more difficult if not impossible for
you, the following macro took less than two minutes to compose and
stick on the Quick Access Toolbar:

Public Sub Overbar()
Dim Expr As String
Dim oFld As Field
Expr = InputBox("Enter the text to overbar:", "Apply overbar")
If Expr <> "" Then
Set oFld = ActiveDocument.Fields.Add(Range:=Selection.Range, _
Type:=wdFieldEmpty, _
Text:="EQ \x\to(" & Expr & ")", PreserveFormatting:=False)
With oFld
.Code.Text = Trim(oFld.Code.Text)
.ShowCodes = False
End With
Set oFld = Nothing
End If
End Sub

I could spend the rest of the afternoon testing it, but so far it
has worked every time and it hasn't shown any bizarre behaviour.

Is typing out some arcane unicode character sequence and assigning a
keyboard short cut for every possilble keyboard character, or phase
in the English language for that matter, that you may use a lot
really so much simplier?

I think not.

Peter T. Daniels wrote:
Typing is simpler than composing a macro. And assigning a keyboard
shortcut to a character you're going to use a lot is simpler than
composing a macro.

It's bizarre. It works with some letters -- S, V -- and not others.
I've never before encountered a Combining Diacritical Mark that was
picky that way.

On Aug 4, 3:03 pm, "Greg Maxey"
<gma...@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Pesach,

For what it is worth, I can't get it to work either and see the
same behavior that you see. Even if I could, I would hardly
classify it the "simplest" way.

--
Greg Maxey - Word MVP

My web sitehttp://gregmaxey.mvps.org
Word MVP web sitehttp://word.mvps.org

"Pesach Shelnitz" <pesach18(AT)hotmail.com> wrote in message

news:225BD633-1519-4161-B28F-BB85058E5936@xxxxxxxxxxxxxxxx

Hi Peter,

The OP referred to adding an overbar or macron to the letter x.
When I type
x and then 0305 as you suggested, I have x0305 with my cursor
after the 5. In
this case when I press Alt+X, nothing happens. If I insert a space
after the
x, Alt+X does convert the number into an overbar, but the two
characters do
not align properly even when I remove the space between them.

Pesach

"Peter T. Daniels" wrote:

On Aug 4, 9:51 am, Pesach Shelnitz <pesach18(AT)hotmail.com>
wrote:
Hi,

I have had no success in my attempts to use Unicode 0305 to add
an overbar
to x,

What does that mean? What happens when you type 0305 Alt-X, or
when you choose it from Insert Symbol? If you're in a font that
doesn't have the character, Word will insert it from some font
that does (such as TNR or Tahoma).-

--
Greg Maxey -  Word MVP

My web sitehttp://gregmaxey.mvps.org
Word MVP web sitehttp://word.mvps.org-
.


Loading