TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

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

I am now writing my thesis and have a problem occurring in some pages. The problem regards full justification of text. LaTeX sometimes fails to fully justify text and break lines. In other words, the text steps into the right margin. Please, how to solve this troubling problem? Any help is greatly appreciated.

share|improve this question

closed as too localized by doncherry, Werner, Thorsten, lockstep, Marco Daniel Oct 31 '12 at 6:52

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. – Corentin Sep 29 '12 at 18:46
A possibility would be to use \sloppy at the begin of the paragraph where the text run in the margin and use \fussy for after the paragraph, see also tex.stackexchange.com/q/73586/16895 – Guido Sep 29 '12 at 20:03

Using the microtype package will help you with that, it tweaks hyphenation here and there and results in fewer overfull boxes (that's what these words sticking into the right margin are called).

Also, make sure you loaded babel with the language option appropriate for your document. Typically, I'd load babel before microtype.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.