Texto justificado que se extiende más allá del margen y no puedo dividir con guiones

Texto justificado que se extiende más allá del margen y no puedo dividir con guiones

Tengo el siguiente fragmento de un proyecto en el que estoy trabajando. La primera línea del segundo párrafo se extiende más allá del margen derecho en lugar de quedar al mismo nivel que el lado derecho.

Otras respuestas sugieren la separación de palabras para resolver esto, pero no puedo separarla porque es una palabra de una sola sílaba. ¿Hay algo que pueda hacer para solucionar esto?

\documentclass[12pt]{book}
\usepackage[paperwidth=5.5in,
  paperheight=8.5in,
  inner=0.25in,
  outer=0.5in,
  bindingoffset=0.25in
]{geometry}
\usepackage{fontspec}
\setmainfont[Numbers=OldStyle]{Linux Libertine O}
\begin{document}
Now the merchant-farmer understood what all this meant, because he had overheard the talk between the Bull and the Ass, so quoth he, ``Take that rascal donkey, and set the yoke on his neck, and bind him to the plough and make him do Bull’s work.''

Thereupon the ploughman took the Ass, and worked him through the livelong day at the Bull’s task; and, when he failed for weakness, he made him eat stick till his ribs were sore and his sides were sunken and his neck was flayed by the yoke; and when he came home in the evening he could hardly drag his limbs along, either
\end{document}

Respuesta1

Una opción, dada la fuente relativamente grande para el ancho de línea, que puedes usar \sloppypara el párrafo:

...

{\sloppy
Thereupon the ploughman took the Ass, and worked him through the livelong day at the Bull’s task; and, when he failed for weakness, he made him eat stick till his ribs were sore and his sides were sunken and his neck was flayed by the yoke; and when he came home in the evening he could hardly drag his limbs along, either

}
% notice the white line above, \sloppy is applied when \par is found.
...

ingrese la descripción de la imagen aquí

La línea es efectivamente un poco descuidada, sí...

Si usa microtype(agrega \usepackage{microtype}en su preámbulo), todavía tiene una línea demasiado completa, pero es:

Overfull \hbox (1.02644pt too wide) in paragraph at lines 16--17

lo cual tal vez sea aceptable.

ingrese la descripción de la imagen aquí

Finalmente, puedes reducir la sangría al inicio de los párrafos; por ejemplo \parindent=14pt, con microtipo arreglará la línea demasiado llena.

%! TeX program = lualatex
\documentclass[12pt]{book}
\usepackage[paperwidth=5.5in,
  paperheight=8.5in,
  inner=0.25in,
  outer=0.5in,
  bindingoffset=0.25in
]{geometry}
\usepackage{fontspec}
\usepackage{microtype}
\parindent=14pt

\setmainfont[Numbers=OldStyle]{Linux Libertine O}
\begin{document}
Now the merchant-farmer understood what all this meant, because he had overheard the talk between the Bull and the Ass, so quoth he, ``Take that rascal donkey, and set the yoke on his neck, and bind him to the plough and make him do Bull’s work.''

Thereupon the ploughman took the Ass, and worked him through the livelong day at the Bull’s task; and, when he failed for weakness, he made him eat stick till his ribs were sore and his sides were sunken and his neck was flayed by the yoke; and when he came home in the evening he could hardly drag his limbs along, either

\end{document}

ingrese la descripción de la imagen aquí

información relacionada