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.

Possible Duplicate:
How to change the name of document elements like “Figure”, “Contents”, “Bibliography” etc.?

In order to fix overruns I have used the following code:

\usepackage[english,ngerman]{babel}
\sloppy

I found this code, along with many other useful tips on this site.

This code works great except for one small problem:

Instead of "Contents" I now have "Inhaltsverzeichnis."

Being that my book is in English, I would like to change this to "Contents"?

How can I do this?

share|improve this question
    
    
I tried that.The /sloppy command doesn't work without the ngerman –  Paul Jan 14 '13 at 7:09
    
@Peter Grill The code in the link works fine. Thanks. –  Paul Jan 14 '13 at 7:19
add comment

marked as duplicate by Peter Grill, Andrew Swann, Harish Kumar, Stefan Kottwitz Jan 14 '13 at 8:49

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

up vote 2 down vote accepted

The last listed language is used as default language. So if your book is in English and you have only some German text in it, then use the following intead:

\usepackage[ngerman,english]{babel}

Also note that \sloppy is normally not recommended because it lowers the typesetting quality. Try to write your document first without it and only try it at the end if it is really needed.

share|improve this answer
add comment

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