Take the 2-minute tour ×
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.

How can I tell LaTeX to automatically split up the german word




LaTeX complains that "/" is not a letter.

share|improve this question
Kontrast/Rausch-Ver\-hält\-nis –  Sigur Jul 28 '14 at 12:54
Would you allow breaking at the slash? If not, use Kontrast/Rausch"=Verhältnis –  egreg Jul 28 '14 at 12:59
please give us an MWE showing what you are trying to do. There was not one word about nomencl in your question. –  LaRiFaRi Jul 28 '14 at 13:24

3 Answers 3

up vote 6 down vote accepted

A hyphen allowing hyphenation in the following word is obtained in babel-german with "=; if you want also to allow breaking at /, use \slash for it:


with no break at /, or

Kontrast\slash Rausch"=Verhältnis

if breaking at / is allowed.

Here's a document showing the various possibilities; the narrow \parbox is just to force TeX into hyphenating as much as possible.






\parbox{24pt}{\hspace{0pt}Kontrast\slash Rausch"=Verhältnis}

enter image description here

share|improve this answer
How can I use this for defining global rules? \hyphenation{Kontrast/Rausch"=Verhältnis} gives LaTeX error "Not a letter"? –  Robinaut Jul 28 '14 at 13:18
@Robinaut You can't. –  egreg Jul 28 '14 at 13:19
My original problem is that using the nomencl package for creating a nomenclature the hyphenation rules above are completely ignored. –  Robinaut Jul 28 '14 at 13:23

For hyphenation in German, I would recommend the shorthands of the babel package. I inserted your desired result (2.), the two versions mentioned in comments (3. and 4.) and the version, I would use (5.). This version forbids a hyphenation which is too close to the hyphen (one syllable to the left and right). In my opinion, such close consecutive hyphens make the word difficult to read. If you want to allow the hyphenation behind the slash as well, you can use the last (6.) version:

% arara: pdflatex 
% arara: nomencl
% arara: pdflatex

\setlength{\textwidth}{0.3cm} % for testing

% without treatment
1. Kontrast/Rausch-Verhältnis   

% your desired result
2. \mbox{Kontrast}/Rausch-Ver"-hält"-nis

% egregs version from comment
3. Kontrast/Rausch"=Verhältnis

% Sigurs version from comment
4. Kontrast/Rausch-Ver\-hält\-nis

% my recommendation
5. Kon"-trast/Rausch-Verhält"-nis

% allowing hypenation after the slash
6. Kon"-trast/""Rausch-Verhält"-nis

    \nomenclature[Strings]{KRV1}{Kontrast/Rausch-Verhältnis} % same as above
    \nomenclature[Strings]{KRV2}{\mbox{Kontrast}/Rausch-Ver"-hält"-nis} % same as above
    %\nomenclature[Strings]{KRV3}{Kontrast/Rausch"=Verhältnis} % not working. Replace with:
    \nomenclature[Strings]{KRV3}{Kon"-trast/Rausch-Ver"-hält"-nis} or by:
    \nomenclature[Strings]{KRV4}{Kontrast/Rausch-Ver\-hält\-nis} % same as above
    \nomenclature[Strings]{KRV5}{Kon"-trast/Rausch-Verhält"-nis} % same as above
    %\nomenclature[Strings]{KRV6}{Kon"-trast\""Rausch-Verhält"-nis} % not working. Replace /"" by \slash{}


enter image description here


as requested, I inserted these versions into items of the nomencl package. Two of them did not work. See the comments in code. I replaced these two version by working ones.

enter image description here

share|improve this answer
Unfortunately this is not working with the nomecl package –  Robinaut Jul 28 '14 at 13:33
@Robinaut Please see my update. All versions will now work and you just have to choose one. If this is not working, you will have to give us an MWE. –  LaRiFaRi Jul 28 '14 at 13:48
Just for reference: Here is my Spickzettel for such things. –  LaRiFaRi Jul 28 '14 at 13:55

Rethink the spelling: The recommended spelling is Kontrast-Rausch-Verhältnis with two hyphens. No need for a fancy slash here.

Then of course one of the following packages is indicated




Also do not forget the following package (otherwise Verhältnis will not hyphenate)


and finally write


share|improve this answer
That's a good point... –  Robinaut Jul 29 '14 at 8:33

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.