[texhax] how to create a non-breaking hyphen

Barbara Beeton bnb at ams.org
Sun May 14 23:04:11 CEST 2006


    How can I make sure that LaTeX does not break right after a hyphen? 

to suppress hyphenation entirely throughout the
entire document, put the command
  \hyphenpenalty=10000
in the preamble.

to suppress a single hyphen, it's probably easiest
to pop the word into an mbox:
  \mbox{hyphen-word}
							-- bb


More information about the texhax mailing list