> The attached patch implements two (at least by me) frequently requested and > useful special characters: A breakable slash (\slash from the LaTeX kernel) > and a protected hypen (\nobreakdash- from amsmath). > > The former allows a linebreak (without hyphen) after a slash, as > in "LyX/LaTeX", the latter provides a hyphen after which no linebreak must > occur, which is what you need when you write something like "Großväter > und -mütter" (in order to prevent LaTeX to split the hyphen from the > suffix). \nobreakdash can also be used to produce protected en- and > emdashes. Just insert one or two dashes after the special character, which > will result in the correct LaTeX commands \nobreakdash-- or > \nobreakdash---, respectively.
i wonder why \nobreakdash- implements hyphen. it is used just because dash- accidentaly reminds hyphen or it is that latex dash- = hyphen(in typographical sense), while dash--/--- = dash ? pavel