Show citation example on hover in publication settings.

#2393 

I think this PR is ready to go, screenshots are in the original issue.