# Balance ragged and hyphenation

From Beautiful Evidence:

Each paragraph is left-justified but neither excessively hyphenated nor ragged on the right side.

The tufte-book class seems to be too ragged. How can I configure the balance between "raggedness" and hyphenation in the tufte-book class?

It seems to use

\RequirePackage{ragged2e}
\setlength{\RaggedRightRightskip}{\z@ plus 0.08\hsize}


but I don't know if this is the right variable to modify.

-

That is the correct variable to play with. It is allow lines to be up to 8% shorter than standard. Try reducing it via e.g.

\setlength{\RaggedRightRightskip}{0pt plus 0.02\hsize}


for a percentage (here 2%) of the line length or

\setlength{\RaggedRightskip}{0pt plus 1em}


for an absolute possible shortfall. For the tufte classes this change needs to be made in the preamble.

See the documentation of the ragged2e package for further information.

Here are a couple of samples, first with a short fall of 1em:

and then as standard

\documentclass{tufte-handout}

\usepackage{lipsum}       %Dummy text in Latin
\usepackage[latin]{babel} %Correct hyphenation patters

\setlength{\RaggedRightRightskip}{0pt plus 1em}

\begin{document}

\lipsum[1]

\end{document}

-