LyX ⇒ Line exceeds Margin
Line exceeds Margin
This one is a little bit confusing for me. It looks like every few lines text is exceeding margins. The lines sticks out and I don't like it. I did no formatting or similar things, just typing. I am new to LyX and haven't managed to sort this out. Please find attached graphics. What did I wrong?
Regards
- Attachments
-
- bad-line-wrapping.png (11.16 KiB) Viewed 25442 times
Reason: Preferably no external links (see Board Rules). Attachments go onto the forum server where possible.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- Site Moderator
- Posts: 542
- Joined: Sat Sep 01, 2012 6:38 am
Re: Line exceeds Margin
This is a common "problem" (depending on how you view things) in LaTeX (not specific to LyX). I think that adding \sloppy in ERT at the top of your document is a common solution.
If that doesn't work, please post a .lyx file (as minimal as possible).
Scott
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Line exceeds Margin
some tips, both working with LaTeX and LyX:
- Use the
babel
package, specify the right language - Use T1 font encoding, which is important for hyphenating words with accents
- Define hyphenation for words which could not be hyphenated automatically
- Load the
microtype
package, which does microtypographic adjustments for better justification - Sloppy only in emergency, but then better a sloppypar environment (or manual adjustments).
Stefan