I have a document here of document class "Article(Standard)". And as you can see in the image below, Lyx is not splitting long concatenated words and therefore they are reaching out on the side.
How can I fix this?
I have a document here of document class "Article(Standard)". And as you can see in the image below, Lyx is not splitting long concatenated words and therefore they are reaching out on the side.
How can I fix this?
bingung already posted the answer to question here: https://tex.stackexchange.com/a/218118/231568.
The above mentioned word is a IUPAC nomenclature and the package chemmacros is providing the necessary functionality for hyphenation of those words. Therefore simply \usepackage{chemmacros} to include the package and use \iupac{\textit{tert}-butyl-(S)-(2-oxo-1-phenyl-2-(piperidin-1-yl)ethyl)carbamate} to "write" the word. The picture below shows that this is working. 
There’s a great answer by @wewa (Welcome to the site!). Two other tips to reduce the need for hyphenation are to \usepackage{microtype} (in LuaLaTeX or PDFLaTeX, which support font expansion) and increasing the allowed interword spacing for really ugly paragraphs with \emergencystretch 3em.
-) character only at the hyphen(s) and nowhere else. See https://tex.stackexchange.com/q/2706/35864, https://tex.stackexchange.com/q/63232/35864, https://www.texfaq.org/FAQ-nohyph.html for a few workarounds. – moewe Dec 24 '20 at 11:19yl)ethyl)carbamate) is quite long, so maybe it can't be moved to the next line without leaving too much space in the previous line. I'm also not too sure about the impact of the parentheses on the line breaking. – moewe Dec 24 '20 at 11:30chemmacrosandiupac. – wewa Dec 24 '20 at 12:17