2013年10月27日星期日

Conflict between The "ulem" Package and Bibliography

As we mentioned in a previous article, the "ulem" package provides various convenient ways to specify underlines.

However, after importing the "ulem", one might find the bibliography changes in an unexpected way: the strings that should actually be italicized are now underlined. That is because the italicized subparts of the bibliography is configured by the "\emph" command, and with the "ulem" package, "\emph" is redefined as underlined.

To avoid the annoying conflict, we just need to specify a normal emphasis option for the "ulem" package:

\usepackage[normalem]{ulem}

This is indicated at the beginning of the "ulem" documentation.





Reference:

http://mirror.ibcp.fr/pub/CTAN/macros/latex/contrib/ulem/ulem.pdf

没有评论:

发表评论