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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

From Beautiful Evidence:

enter image description here

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.

share|improve this question
up vote 8 down vote accepted

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:

Sample one

and then as standard

Sample two

\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}
share|improve this answer

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.