0

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)

  • you can probably force a break before Projects with \\Projects or wherever you want it to break the line – David Carlisle Sep 13 '13 at 20:01
  • @DavidCarlisle Perfect man!! easy and simple Thanks a lot!! – user2343521 Sep 13 '13 at 20:07
  • with one of the edits, the example was removed. without the example, the question makes little sense. – barbara beeton Sep 14 '13 at 14:18
3

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.

enter image description here

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.