Name underlining (whole word or just part of it?) This one question is similar, but doesn't quite answer what I am asking here.

If I have a name + title (as in 张老师) how would the underlining work? Would I have to underline the whole word ("张老师") or just the name part ("张"老师)?

What about compound words (like 中国画)?
I have a feeling that underlining compound words (even only the name) would make the text loaded of underlining info ("中国"画、"汉"语、"越"剧、"中"餐、"英"文、etc).

Thanks in advance!
For compound words, the whole word is the proper noun and should be marked as a whole. 

Text full of underlining is proper but may look crowded, in which case there are typographical optimizations you can apply, such as increased line height and character padding, or use bold instead of underlining for the markup.