I have similar problem in LyX as already been asked by another user for LaTeX. As you can see in the attached file that the text is running off the page. I already have tried following help but it didn't work in my case: https://wiki.lyx.org/FAQ/TextAppearance#avoidHyphenationWords
Does anyone knows how to solve this problem in LyX? Thanks in advance!