I have prepared my document and when I created the PDF I realized the problem I got with one title and the right margin. This is out of the margin.
How can I fix this?
(I am new with LyX)
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.Sign up to join this community
You can add a forced line break in a section title by placing the cursor where you want the break to occur and hit Ctrl + Enter. Such breaks are indicated in the GUI with an arrow going down, then left (as on a enter key). This is basically the same as writing
\\ in an ERT.
In other cases where you have long words sticking into the margin and TeX is unable to hyphenate it, an option is to help TeX a little by adding specific hyphenation points. In LyX you do this with Ctrl + -, or Insert --> Formatting --> Hyphenation point. For this specific case a line break may be better, but in normal text, adding hyphenation points would be better.