[Tex/LaTex] Change one footnote symbol from number to asterisk

footnotes

I'd like to change the footnote symbol to an asterisk '*' for one particular footnote, that is placed in a table. In the rest of the document the footnotes appear as default, with numbering, and that is to stay that way.

Note: there are other footnotes in the table itself, that should remain lettered, as the default.

Example Code:

\begin{table}[!h]
    \begin{tabular}{c|c}
        \hline
        First Name & Dennis \\ \hline
        Last Name & the Menace \footnote{Lettered footnote.} \\ \hline
        Age & 12  \footnote{Asterisk footnote!} \\ \hline
        Music & Chop Suey  \footnote{Second lettered footnote.} \\ \hline
        Shoe size & 15 \\ \hline
    \end{tabular}
    \caption[Denis information.]{Some other description.}
    \label{tab:denisInfo}
\end{table}

Result:

enter image description here

Best Answer

You can try like this:

\documentclass[a4paper, 12pt]{article}
\usepackage{footnote}
\usepackage{footmisc}
\makesavenoteenv{tabular}
\makesavenoteenv{table}

\renewcommand{\thefootnote}{\alph{footnote}}

\newcommand{\astfootnote}[1]{%
\let\oldthefootnote=\thefootnote%
\setcounter{footnote}{0}%
\renewcommand{\thefootnote}{\fnsymbol{footnote}}%
\footnote{#1}%
\let\thefootnote=\oldthefootnote%
}

\begin{document}

\begin{table}[!h]
    \begin{tabular}{c|c}
        \hline
        First Name & Dennis \\ \hline
        Last Name & the Menace \footnote{Lettered footnote.} \\ \hline
        Age & 12  \astfootnote{Asterisk footnote!} \\ \hline
        Music & Chop Suey  \footnote{Second lettered footnote.} \\ \hline
        Shoe size & 15 \\ \hline
    \end{tabular}
    \caption[Denis information.]{Some other description.}
    \label{tab:denisInfo}
\end{table}

\end{document}

Output:

enter image description here

Related Question