TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I was learning to drive a typewriter (shortly after the death of my pet sabre-tooth), I picked up the habit of using a double hyphen when splitting compound words, thus:

The system has a high-
-performance component

I've read babel: Adding `ngerman`s language shorthands to `english` as the main document language, and Stefan's answer to What's the benefit of loading babel when writing in English?, and thought this would do the trick:

Normal hyphenation, to illustrate:\\ 
Lala High"=performance.
Lalala lalala High"=performance.
My best guess:\\
Lala High"="~performance.
Lalala lalala High"="~performance.

It looks like the sequence "="~ is close to what I want, but it suppresses hyphenation of the parts.

I've now spent about two hours trying all kinds of combinations, but as I don't really understand what I'm doing, I thought it better to ask, here, someone who actually knows.

I could, of course, use the \discretionary command, but I'd prefer it to be automatic.

BTW, typographical criticism is welcome (such as "don't do that!"), but I'd still like to know, even if just out of curiosity.

share|improve this question
"="~ would be a wrong hyphenation of compound words in german and I suppose in english, too. – Herbert Nov 17 '11 at 14:10
@Herbert: Are you saying my sample quote at the top is terminally incorrect typography? (Just to clarify your comment, which you have every right make...). Or just a question of style? – Brent.Longborough Nov 17 '11 at 14:13
High"=performance is correct, only one dash, hyphenated or not – Herbert Nov 17 '11 at 14:16
Sincere condolences on the death of your pet sabre-tooth. - I have not seen text- newline -text in German, thus I would not advise it. – Stephen Nov 17 '11 at 18:41
up vote 7 down vote accepted

Now "; (choose another shorthand, if you prefer) will do what you're looking for:

Lalala lalala High";performance.

will typeset as

Lalala lalala High-


Lala High";performance.

will typeset as

Lala High-per-

Don't do it. :)

share|improve this answer

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.