Results 1 to 14 of 14
  1. #1
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    Arkansas
    Posts
    952
    Thanks
    0
    Thanked 0 Times in 0 Posts

    typing fractions in recipes (Word 2000)

    A friend's wife is typing her recipes - the 1/4, 1/2 and 3/4 all automatically change into small fonts. She would like to have 3/8 and 5/8 do the same. Is there a way to do that? Thanks.

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: typing fractions in recipes (Word 2000)

    Word substitutes a symbol character fraction for 1/4, 1/2, and 3/4 using AutoCorrect.

    If you want more than those three fractions, you either have to get them in from a Unicode font (such as Arial Unicode MS, which has a LOT of fractions), or you have to format the fractions yourself. [Note: under Insert/Symbol/(normal text)], subset Number Forms, you can find 1/3, 2/3, 1/8, 3/8, 5/8, & 7/8 & add these two AutoCorrect.]

    Woody has two articles about fractions at WOW Vol 8 No 18 and WOW Vol 8 No 19.
    Hope this helps,

  3. #3
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: typing fractions in recipes (Word 2000)

    The Equation Editor in Office caters to custom fractions. Whether the alignment is to your satisfaction is another matter. Inline equations always seem to have their baselines below that of the font of the normal typing.

    Alan
    Attached Images Attached Images

  4. #4
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    Arkansas
    Posts
    952
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: typing fractions in recipes (Word 2000)

    Hi Phil,
    I found the NUMBER FORMS under my subset without a problem using MS WORD 2000. My friend has MS WORD 2002 and does not have NUMBER FORMS as an option. Why would that be?

  5. #5
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: typing fractions in recipes (Word 2000)

    It probably depends on the font your friend is using. Not all fonts contain Number Forms, although the standard fonts such as Times New Roman, Arial etc. do. I do see Number forms in the Insert | Symbol dialog in Word 2002.

  6. #6
    Bronze Lounger
    Join Date
    Feb 2001
    Location
    Escondido, California, USA
    Posts
    1,458
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: typing fractions in recipes (Word 2000)

    I suggest you have your friend go to Tools | Auto Correct | then click on the Auto Format as you Type tab and uncheck the "replace fractions" option. Then Word won't perform the replace that your friend doesn't want.

  7. #7
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: typing fractions in recipes (Word 2000)

    Chuck:
    I don't think that's what the poster's wants. She wants the opposite.

  8. #8
    Bronze Lounger
    Join Date
    Feb 2001
    Location
    Escondido, California, USA
    Posts
    1,458
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: typing fractions in recipes (Word 2000)

    You're right! I misunderstood -- mostly because my wife complained that the computer was changing her fractions to tiny little things, and she didn't want them. At least with the feature turned off all of the fractions come out the same size.

  9. #9
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: typing fractions in recipes (Word 2000)

    That's it, Chuck. Blame it on your wife. <img src=/S/rofl.gif border=0 alt=rofl width=15 height=15>

  10. #10
    Silver Lounger
    Join Date
    Jan 2001
    Location
    West Long Branch, New Jersey, USA
    Posts
    1,921
    Thanks
    6
    Thanked 9 Times in 7 Posts

    Re: typing fractions in recipes (Word 2000)

    Phil,

    Someone, maybe about last spring, posted a macro or a link to a macro that did the following:
    - prompted the user for a fraction, such as 7/11 (using just the keyboard)
    - parsed the entry to make sure there was a slash
    - took the part to the left of the slash and called it "preslash"
    - took the part to the right of the slash and called it "postslash"
    - typed out the preslash as a superscript
    - typed out the slash as normal
    - typed out the postslash as a subscript
    - restored the normal type size

    There was even a comment, probably from Klaus Linke because he just knows all those special characters, that there was a unicode character that gave a nicer looking fraction symbol than the slash.

    I'm not sure that I have an electronic copy of the macro anymore (that was on a different computer and I'd have to check my backup files). If that would satisfy the original poster, it might be possible to find (now that the search engine is working) or I'd be willing to retype from hard copy (maybe scan it) but don't have the time right now.

    Fred

  11. #11
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: typing fractions in recipes (Word 2000)

    Excellent memory, Fred. I found <post#=256202>post 256202</post#> by searching for fraction and Klaus. And Klaus substitution does make for a nicer slash. I found that if you have Option Explicit set in your VBE, you had to add the following lines somewhere near the beginning:

    <pre>Dim fraction As String, slashPosition As String
    Dim preSlash As String, postSlash As String</pre>


  12. #12
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: typing fractions in recipes (Word 2000)

    You can use the EQ field code with the /f switch to generate inline fractions. You might want to drop the font size of the field to suit. I dug this out of a MS bulletin for Word 2 (yes, that is a "2") and it still works in 2000:

    Fraction ( f )
    The f switch is used to format a fraction from two elements. The values entered inside the parentheses following the switch are the numerator and the denominator. The element that goes on the top of the fraction (the numerator) is entered first, followed by the element that goes on the bottom of the fraction (the denominator). The two elements are separated by a comma. There are no special arguments to use with the f switch.

    The following are examples of using the f switch:

    Field Code
    {eq f(numerator,denominator)}

    {eq f(a + b,c - d)}

    Alan

  13. #13
    Silver Lounger
    Join Date
    Jan 2001
    Location
    West Long Branch, New Jersey, USA
    Posts
    1,921
    Thanks
    6
    Thanked 9 Times in 7 Posts

    Re: typing fractions in recipes (Word 2000)

    Phil,

    And then there was <post#=256565>post 256565</post#> , shortly after the one you found, where the writer said

    I don't remember where I got these macros from, but apparently I didn't write it down at the time. They were posted in a tips group, so I'm sure the author doesn't mind. My guess is that one was written by Pieter Janssens & the other by Ed Weber.

    If the words sound familiar, they should. That was your post! And the macro followed. It may have been even a little more robust than the other.

    And from my archives, I also found a web site dealing with a fraction font: see fraction fonts.

    Happy fractioning.

    Fred

  14. #14
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: typing fractions in recipes (Word 2000)

    Just as a footnote to this suggestion, some earlier versions of Office had a somewhat flaky equation editor, with the result that occasionally documents would become corrupted. The telltale sign was the error message that you could not save because there was not enough disk space. The workaround was to copy and paste chunks of the document into a new document and save that. Usually only one or a few equation objects are lost in the process.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •