There is a strange interaction between the underscore and ulem packages. With \uline{\itshape bbb\_lll}, "bbb" is italic but "lll" is upright. However, with \underline instead of \uline, or when the underscore package is not loaded, "lll" is italic, as expected.
I really want to load both the underscore and uline packages:
underscoreto be able to use_instead of\_;ulemto have breakable underlined text (or text highlighted with\markoverwith).
Is there any systematic fix to the problem?



{\itshape \uline{bbb_lll}}. In my opinion don't use underlines anyway. – percusse Sep 25 '13 at 12:33ulemnot to underline but to highlight text with a colored background (as for inline code fragments on TeX.SE). The\itshapemust be inside the\uline(or equivalent highlighting command) because it does not apply to the whole argument, but only to part of it. – Michel Fioc Sep 25 '13 at 12:47{\myemphfont },{\mycorrfont ...}etc. The names are shorter of course but I either change the font to something completely different so there is no way it can be ignored or usechangespackage which is fortunately received positively by my collaborators, an example: http://tex.stackexchange.com/questions/65453/track-changes-in-latex/65466#65466 – percusse Sep 25 '13 at 13:12changes(though +1 for your nice writeup) but I might give it a go. Thanks – Chris H Sep 25 '13 at 13:16