Well, the picture is really last resort. Can you try with some other font maybe?
When LaTeX didn't find the optimal way to create hyphenation point, it may stick the problematic word in margin leaving to user to solve it. The solution is:
1. to specify hyphenation points with \-, e.g.:
Code: Select all
someveryveryverylongword
so\-me\-ve\-ry\-ve\-ry\-ve\-ry\-long\-word
You don't have to use so many hyphenation points, put as many as you see fit, although it's probably good idea to specify for all places in word and leave LaTeX decide which is the best place for break. In LyX, there is "Hyphenation Point" in Insert > Formatting menu.
2. or to use
\sloppy command to make LaTeX less fussy about breaking lines (default is, guess what!
\fussy). If you specify \sloppy inside an environment or inside curly brackets {}, it will apply only to that environment or part of document inside curly brackets and will not affect anything outside them. But, if you specify it somewhere in your document out of environments/brackets, then it will apply to all text from that place on (and this is not such a good idea).
If you're using memoir class, there is one more command,
\midsloppy, which is less fussy than \fussy, and less sloppy than \sloppy
3. or use \hyphenation{} to specify words that need special hyphenation pattern. E.g.:
Code: Select all
\hyphenation{la-tex ge-ne-ral ob-vi-o-us}
Put the code somewhere before \begin{document}, put hyphens on places where hyphenation should occur and separate words with a space.
The first (and third) solution is better, though it can be annoying if a large number of words need manual hyphenating.
We went really off-topic
