M
Margo
Is there a way to create a non-breaking en dash (such as
the non-breaking hyphen)?
the non-breaking hyphen)?
Is there a way to create a non-breaking en dash (such as
the non-breaking hyphen)?
Bob S said:You could probably do it by putting a zero-width-non-breaking-space
character before and after the en dash. It should be at U+FFFF
gordo said:In Word 2002, On the Menu bar: Insert|Symbol, Special Characters Tab,
No-Width Non Break (the last entry)
Gordo
gordo said:In Word 2002, On the Menu bar: Insert|Symbol, Special Characters Tab,
No-Width Non Break (the last entry)
Gordo
That inserts the wrong character, the "zero width joiner" U+200D.
Haven't tested if it can be used to keep characters or word together on a
line.
It didn't use to work in Word2000, as far as I remember.
And probably, U+200D would be the wrong character for the job anyway (... it
should create ligatures between two characters, as far as I can make out
from the description in the Unicode Standard).
Regards,
Klaus
If I understand the Unicode documents correctly, U+FFFF has been
withdrawn from use in Unicode 3.0.1, and reserved for internal use
only! It is on the slippery slope toward deprecation. So apparently
there is no more zero width non-breaking space in Unicode.
U+200D seems to be originally intended to "encourage" the renderer
to produce cursive connection letter forms (for Arabic for example) or
ligatures in places where they might otherwise not occur, while
occupying no space on the line. Given that Word doesn't do anything
about ligatures, using this code point to prevent line breaks doesn't
seem too unreasonable, particularly given the absence of alternatives.
It seems to work in Word 2002, I don't know about earlier versions.
U+200D doesn't seem to keep words together either in my German Word 2000 and
2002, nor in my English Word2003.
U+FEFF does work in all three versions. U+2060 isn't supported at all (not
surprising, since it's new in Unicode 4).
If I insert U+200D at any hyphenation point, Word just keeps on breaking the
line at that point.
Bob S said:On my English Word 2002, U+200D and U+FEFF seem to work exactly
the same. They work between ordinary letters, and when surrounding a
non-breaking hyphen, but they don't work when surrounding ordinary
hyphens or dahses.
Hi Bob,
Can't quite follow you. Word doesn't break after non-breaking hyphens
anyway, so what difference should U+200D or U+FEFF make?
It always allows line breaks after ordinary hyphens or dashes. Neither
U+200D nor U+FEFF can prevent that.