\usepackage[normalem]{ulem}to your LaTeX source file. This opens up the following useful commands:
Command | Description |
---|---|
\uline{foo} | Underlines foo |
\uuline{foo} | Double underlines foo |
\uwave{foo} | Underlines foo with a wavy line |
\sout{foo} | Strikesout foo |
\xout{foo} | Crosses out foo with `/' |
These are preferable over \underline{foo} and {\em foo} because they can handle the edge cases of spanning multiple lines (for underlining) and the space correction after italicisation (for the emphasis component).
No comments:
Post a Comment