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

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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).-
.



Relevant Pages

  • Re: In Word, how can I place a bar above a letter to show a mean?
    ... most certainly is far more convenient to assign a keyboard shortcut to ... have any idea how to find instructions in creating a macro. ... keyboard short cut for every possilble keyboard character, ... Word MVP web sitehttp://word.mvps.org ...
    (microsoft.public.word.docmanagement)
  • Re: In Word, how can I place a bar above a letter to show a mean?
    ... The macro I use does not use the overstrike field. ... most certainly is far more convenient to assign a keyboard shortcut to ... keyboard short cut for every possilble keyboard character, ... Word MVP web sitehttp://word.mvps.org ...
    (microsoft.public.word.docmanagement)
  • Re: set up a keyboard shortcut to go to a specific insertion point
    ... Record a macro to find that character or characters, and assign a keyboard ... shortcut to the macro. ...
    (microsoft.public.word.newusers)
  • Re: Inserting a symbol
    ... First find the symbol in the character map for windows-- assuming you're ... you'll use the numbers of that symbol to input in your macro. ... occur on your keyboard it can still be entered by hitting the ...
    (microsoft.public.excel.programming)
  • Re: What is this symbol?
    ... I think it's meant to be a tilde, because if the OP can type ^ in the posted ... surely they can type the same character in Excel:) ... Gord Dibben MS Excel MVP ... and where to find in on the keyboard or in symbols? ...
    (microsoft.public.excel.worksheet.functions)