Given a simple paragraph, how do I underline a word in that paragraph?
(Note: I post this here because it wasn't really obvious using google or this site and my TexNicCenter is somehow missing this highlighting option.)
formattingtext-decorations
Given a simple paragraph, how do I underline a word in that paragraph?
(Note: I post this here because it wasn't really obvious using google or this site and my TexNicCenter is somehow missing this highlighting option.)
Best Answer
Use
\usepackage[normalem]{ulem}
and then\uline{...}
. It allows line breaks in the underlined text. Other forms of underlining (double, waves) or emphasis (crossed out, ...) are also supported. See the image in Url with fragments in bold for examples.