# [texhax] how to create a non-breaking hyphen

Uwe Lück uwe.lueck at web.de
Mon May 15 00:38:59 CEST 2006

```At 23:04 14.05.06, Barbara Beeton wrote:
>     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.

My consideration was indeed that a line break after a hyphen
sometimes is acceptable, sometimes not. Why not have
the line break in `willy-nilly'? But I really don't want to have
a line break in `3-fold'. The latter example tries to give you
an idea of idiosyncratic applications from my own range of interests.
E.g.: `\$L\$-necessary' from the work of the analytic philosopher
Carnap ("logically necessary"), or things like `3-isotropic'
in my math diploma thesis on certain symmetries in cosmology.

All the best,
Uwe.

```