Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Is it possible to hyphenate text without inserting a hyphen.




If I replace \defaulthyphenchar by 255 it works for CM, but not with Bera Mono. So is there a \char number of the word joiner (Unicode U+2060) that works with all fonts?

share|improve this question
I only know how to define a hyphenation point manually that does not insert anything: \def\+{\discretionary{}{}{}}. Using \+ gives you such a point but I don't know how to make this work for the automatically generated hyphenation points. – Christian Lindig Feb 21 '12 at 18:39

1 Answer 1

up vote 5 down vote accepted

There is no character in position 255 in Computer Modern Typewriter Type in OT1 encoding. If you add the line


and replace \defaulthyphenchar with 255, you'll get ß as the "hyphen".

The package bera loads the font in T1 encoding, so you get ß as well.

If the font is OT1 encoded, any number between 128 and 255 (extremes included) will work, as there's no character there; if the font is T1 encoded, you can use (abuse, actually) the "compound word mark", which is in position 23.

share|improve this answer
Ahhh. I forgot the thing with the font encodings. Thank you! – Tobi Feb 22 '12 at 0:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.