2

I know there are planty of similar questions, but I haven't found the answer to this particular one.

I have a long word (say some long acronym like ABCDEFGH). It happens to be at the and of the line in the text, going over the margins and creating a bad box.

How can I avoid this, and force the acronym into the new line, but without breaking it ?

The concreete example is displayed in the attached image.

enter image description here

  • 1
    \begin{sloppypar}.... will allow space to strech more and avoid the overfull line – David Carlisle Oct 24 '13 at 13:30
  • 2
    Sometimes the only (good looking) solution is to change the text, which is not always possible. In your case Minimal Super Gravity model (mSUGRA) may helps … – Tobi Oct 24 '13 at 13:34
  • 3
    Since you can do it (it's your own text), I would certainly prefer re-wording the text (as suggested by Tobi) over going sloppy. – yo' Oct 24 '13 at 14:12
  • possible duplicate of Prevent the overflow of text – masu Oct 24 '13 at 14:21
  • @Luka: Please note that sloppypar produces not a satisfying justification and to wide inter word space (like MS Word does …) and that will decrease the typographical quality of your document ;-) – Tobi Oct 24 '13 at 14:32
4

As David said in the comment it is possible to use {sloppypar}

\begin{sloppypar}
   Text
\end{sloppypar}

This will make LaTeX more careless on good justification and increase the inter-word space. The results often look as ugly as if they are done by MS word.

The preferred solution is rewriting the text in a way that the overfull box(es) disappear, in your case changing the text to

Minimal Super Gravity model (mSUGRA)

may help without distracting the good justification. Sure this cannot be done always becaus most authors don’t like to see their texts changed by the designer but in cases of author = designer this solution should be tried first!

  • Other changes can be done to get rid of this: The thesis aims to adopt the framework of Minimal Super Gravity (mSUGRA) model or The aim of this thesis is the adoption of the framework of Minimal Super Gravity (mSUGRA) model etc. – yo' Oct 24 '13 at 14:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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