# LyX doesn't wrap underlined text

I'm using LyX 1.6.6.1 under Windows XP, and, as the title says, it doesn't wrap underlined text - i.e., the underlined text is "overflowing" outside of the page.

-

What are you using to underline text? I'm guessing that it is something other than `\underbar{}` which doesn't affect the flow and wrapping. You can see the underlying TeX in LyX with View ➤ View Source.

Furthermore, in TeX generally, underlining should rarely be used as it is a convention of typewriters, not typesetters. Italics, font changes, even boxes are better ways to set off text in TeX. I'm also guessing that it was pretty hard to force LyX to underline and so you wound up accidentally forming an indivisible TeX `box` that - by definition - can't wrap.

LyX is pretty nifty for what it does, but it is only a wrapper for TeX and will likely produce more such mysteries when provoked. I'm not saying "learn TeX", I am suggesting that you become familiar with the 'real document' by keeping the source view open.

-
I used Ctrl+u to underline. How do I make LyX use underbar? –  Amir Rachum Jul 2 '10 at 0:04
This current document is a prep case for a debate, should be read very quickly and therefore some sentences are underlined so they'll be noticed. How would you emphasize a certain sentence this way, using LyX? –  Amir Rachum Jul 2 '10 at 0:08
Now I see it does use underbar, and it still does not wrap. –  Amir Rachum Jul 2 '10 at 0:12
Tests have been done that show underlining reduces rapid readability as would any pixels that were not part of the letterforms. I'd use bold, font size increases, or font face changes in decreasing order of preference. as for your unbreakable underbar, show me the TeX code as an edit to your post above, I suspect there is something wrapped around it which makes a TeX box. –  msw Jul 2 '10 at 2:08
I accept your claim, changed to italics. Thanks. –  Amir Rachum Jul 13 '10 at 13:04