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.

I have some problems with my document. I have one sentence with indentation. It is too long and it takes minimum two lines. And I have something like this:

Macierz rozproszenia idealnego, dopasowanego pierścienia hybrydowego ma po-
stać:

but I want something like this:

Macierz rozproszenia idealnego, dopasowanego pierścienia hybrydowego ma
postać:

Is it possible to do it automatically or must I do it by myself? Or is it correct?

share|improve this question
    
very similar to this question: No hyphen for a word –  barbara beeton Nov 2 '12 at 14:05
add comment

1 Answer

up vote 4 down vote accepted

You can just wrap the word in a box:

Macierz rozproszenia idealnego, dopasowanego pierścienia hybrydowego ma \mbox{postać:}

If you never want the word hyphenated, you can declare a new hyphenation with:

\hyphenation{postać}
share|improve this answer
4  
It might be worth pointing out that \hyphenation will only accept words that consists only of characters in the current font encoding. I.e., ć has to be a single character in the font not a "c" with an accent above. In other words the above would require \usepackage[T1]{fontenc} or something similar, in LaTeX's default encoding OT1 this would fail with "! Improper \hyphenation will be flushed.". –  Frank Mittelbach Nov 3 '12 at 7:57
add comment

Your Answer

 
discard

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.