I have tried \hyphenation{every-where}, - and some more that I don't remember and none works. These are three sentences where I can three \hbox from




Den algebraiska metoden utfördes genom att rita in figuren i första kvadranten i ett koordinatsystem och figuren var mätt i SI-enheten centimeter.
För beräkningsändamål i denna rapport undersöks masscentrumet för en figur vars form egentligen är två sammansatta pappersskivor - en halvcirkelskiva sammansatt med en triangelskiva.
Den korrekta x-koordinaten är $9-3,82=\unit[5,18]{cm}$. Därmed ligger tyngdpunkten för halvcirkelskivan i $(5,18;9)$.


There is more text that's too wide but you get the point. How do I fix this?

  • your example gives the error ! Undefined control sequence. please add the definition of \unit Oct 6 '20 at 18:22
  • Just remove \usepackage[none]{hyphenat} That makes good linebreaking virtually impossible. Oct 6 '20 at 18:27
  • Omg thank you that worked! @DavidCarlisle
    – Muhashka
    Oct 6 '20 at 18:41

Is preventing hyphenation, that may be useful for some special document formats but for normal text, especially in languages with longish compound words it makes good linebreaking impossible. Just removing fixes the overfull boxes in this case once you fix the udefined command error.

  • Yeah, that was the issue, thank you so much!
    – Muhashka
    Oct 6 '20 at 23:08

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.