Modified footnote command in latex to avoid problems with footnotes in titles