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 want to have my entire document fully justified but without the words being broken up and hyphenated at the end of a line if it is too long. I have come across the \raggedright argument which prevents the hyphenation, but I'm not sure how to then justify the text.

share|improve this question
add comment

2 Answers

up vote 10 down vote accepted
\usepackage[none]{hyphenat}%%%%
share|improve this answer
add comment

Having both no hyphenation and text flush to both sides puts real stress on spacing. Compare:

Quisque quis  nisl eu nibh  suscipit 
rutrum.     Suspendisse     potenti. 
Maecenas   quis   neque   ut   velit 
pellentesque commodo. Donec et nulla
tortor.

with

Quisque  quis nisl  eu nibh  suscipit 
rutrum.  Suspendisse  potenti.  Maec-
enas quis neque ut velit pellentesque 
commodo. Donec et nulla tortor.

If you are not using Luatex, try it: good microtyography can minimise or eliminate hyphenation. Herbert's answer, usepackage[none]{hyphenat}, can be used together with microtypography.

share|improve this answer
    
using \ttfamily is not a good idea –  Herbert Dec 21 '10 at 11:51
2  
@Herbert: The above was represented in HTML, not Tex, and there's only the option of monospaced fonts there. I guess proportional spacing could be counted as a crude form of microtypography. –  Charles Stewart Dec 21 '10 at 11:59
1  
+1 for telling that flush + no hyphenation has severe drawbacks. –  Hendrik Vogt Dec 21 '10 at 12:16
    
did you produce the example by hand, or is there some automatic way of doing that? –  Bruno Le Floch Mar 12 '11 at 19:50
1  
@Bruno: I used some Emacs Lisp code to set flush to column width, and put the hyphenation in by hand. –  Charles Stewart Mar 14 '11 at 7:56
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.