Results 1 to 8 of 8
  1. #1
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    The Hague, Netherlands
    Posts
    125
    Thanks
    0
    Thanked 1 Time in 1 Post

    Emulate WordPerfect's Invisible Soft Return (Any)

    I want Word to 'hyphenate' a very long word without inserting a hyphen. I also want to control the hyphenation places within the word.

    Here's an example based on a phrase that was very common in our bank's Operation Manuals: "banks/branches/affilliates": A typical sentence would start "All of our banks/branches/affillliatesmust ..." I want Word to 'hyphenate' banks/branches/affillliatesat the backslashes and not insert a hyphen. WordPerfect provided the Invisible Soft Return to satisfy this requirement. I would type it immediately after each backslash. The soft return would not show if it was in the middle of a line. If the word was near the end of a line the hyphenation routine would split the word at any of the soft return characters, but no hyphen would be shown.

    Any ideas?

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

    Re: Emulate WordPerfect's Invisible Soft Return (Any)

    In Word 2002, it's the next to last option in the list of special characters in Insert | Symbol. You can also type Alt+200B (the + is the one on the numeric keypad) to get a zero-width space. Klaus Linke probably knows more about this.

  3. #3
    5 Star Lounger
    Join Date
    May 2001
    Location
    Stuttgart, Baden-W, Germany
    Posts
    931
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Emulate WordPerfect's Invisible Soft Return (Any)

    I don't have Word2002 available right now, but I don't think the "zero width space" U+200B appears in "Insert > Symbol", "Special characters" tab.

    In Word2002, you can type the hexadecimal code, 200B, as text into your document, followed by Alt+X (hold Alt, then hit the "X" key).
    If you see "Alt+X", "Ctrl+Shift+Spacebar" and so on, the "+" just means you have to press all the keys at the same time.

    I'm pretty sure that Alt+200B doesn't work; in dialogs (not in the text) you can type Alt+8203:
    Hold down Alt, and type the numbers on the numeric keypad.
    Hexadecimal 200B is equal to the decimal number 8203 (8203 = 2*16^3 + 0*16^2 + 0*16^1 + 11*16^0).
    If you are as bad as me doing hex/dec conversion in your head, this method doesn't help you much since most times, you'll only know the hexadecimal code.

    The "zero width space" acts much like you would expect from its name, but the hyphenation algorithm in Word can't deal properly with it and never hyphenates the word that follows this character.

    Fred Burg had the idea here on the Lounge to use an {advance} field after the slash, which does work great, without the hyphenation problems.

    Both for the the zero width space and the {advance} field, you'd probably define a keyboard shortcut or unformatted AutoCorrect entry if you use them often.

    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16> Klaus

  4. #4
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    The Hague, Netherlands
    Posts
    125
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Emulate WordPerfect's Invisible Soft Return (Any)

    Hans V: thanks. It works, but see my response to Klaus Linke below.

  5. #5
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    The Hague, Netherlands
    Posts
    125
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Emulate WordPerfect's Invisible Soft Return (Any)

    Klaus, thanks. The {Advance} field code is good because, as you point out, it works even to the extent of the following word being hyphenated. The 'zero width optional space' is good because it is the "right" solution. One would hope that Word's developers will one day fix the hyphenation bug.

    Unfortunately, Word requires you to check one particular Options check box to see the {Advance} field code and a different Options check box to see the 'zero width optional space' character.

    Thanks again

  6. #6
    Star Lounger
    Join Date
    Apr 2003
    Location
    Morgantown, Pennsylvania, USA
    Posts
    94
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Emulate WordPerfect's Invisible Soft Return (Any)

    Hello,

    According to Word XP, you can insert an "optional hyphen character" that will cause a word to break where you want it to break. You insert the optional hyphen by typing CTRL+-(hyphen). I tried it and got the aforementioned banks/branches/affiliates to break exactly where I wanted it to by typing this key combination after the slash.

    Is this what you are looking for?

    I've attached the file.
    Attached Files Attached Files

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

    Re: Emulate WordPerfect's Invisible Soft Return (Any)

    Ctrl+- will show a hyphen if the word is broken, see your own attachment. John wanted to "break" a word without displaying a hyphen.

  8. #8
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    The Hague, Netherlands
    Posts
    125
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Emulate WordPerfect's Invisible Soft Return (Any)

    Thanks, Bob. I need "banks/branches/affiliates" to break after one of the slashes, but I don't need the hyphen character.

    Regards

Posting Permissions

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