retorquere/bibtex-parser

Order of \em and \bf matters

retorquere opened this issue · 3 comments

@njbart, with these two snippets:

{aa\bf bb\em cc}

{aa\em bb\bf cc}

I had expected to final cc in both cases to be slanted and bold, but in the 2nd case, they're just bold. Do you know what rule could be underlying here?

I can reproduce this, but I have no idea why exactly. It seems you shouldn’t use \bf or \em anyway: see, e.g., http://www.texfaq.org/FAQ-2letterfontcmd and https://tex.stackexchange.com/questions/41681/correct-way-to-bold-italicize-text.