[texhax] ``nonbreaking hyphen''

Philip G. Ratcliffe philip.ratcliffe at uninsubria.it
Fri Jan 9 14:57:29 CET 2004


> In romanian, there are many words like ``mi-a'', ``s-a''... The
> question is
> how do i ensure keeping the word in one line? (like manually
> \mbox{s-a}). I
> mean can i set this hyphen to be nonbreaking character? How?

The "amsmath" package defines the command \nobreakdash, which does exactly
what you want.  See the documentation amsldoc.dvi (Se. 4.4) for usage.

Cordialmente,  Philip G. Ratcliffe



More information about the texhax mailing list