\renewcommand{\thefootnote{\fnsymbol{footnote}}} gives compiler error \thefootnote{} cmd undefined

footnotes

The subject line says it all – I assume \thefootnote{} is internally defined so this error seems strange.

I lifted the command from here: http://latex.silmaril.ie/formattinginformation/footnotes.html. Note, the command is missing a }, which I added. The result is as expected — symbols instead of numbers — but what about the compiler error?

BTW, I want to switch the indexing so that I can use footnotes and endnotes together without getting the indexing mixed up.

Best Answer

The suggested code is wrong:

\renewcommand{\thefootnote{\fnsymbol{footnote}}

should be (the second line below is just to show the proper position of the missing brace)

\renewcommand{\thefootnote}{\fnsymbol{footnote}}
%                         ^

and not

\renewcommand{\thefootnote{\fnsymbol{footnote}}}

as you did.