I am writing a homework at the moment. One of the authors I cite, changed his name from A... to B... due to marriage (I know him personally).
In the Bibliography I clearly should use the name given in the papers (sometimes A..., sometimes B...). But how should I refer to him in the text?
"B... also mentioned...[1,2]" or "A... also mentioned...[1,2]", where  lists him as A and  lists him as B.
I could imagine calling him B and remark in a footnote, his former name was A. What do you expercienced authors think about this?
I would distinguish between narrative and citation. In narrative text, it is best to refer to a person by their current most preferred scientific name. In citation, on the other hand, it is best to provide the information that will best guide lookup of the document in various search and databases.
When the two are not clearly connected, giving a footnote or parenthetical note will help make it clear to the reader that the difference is intended and not accidental, but it is not strictly required.