2

I like to change the \footnote notation locally in a few places, see the following, we have

  • "Asterisk footnote"

  • "Spade footnote"

  • "Diamond footnote"

How do we effectively change \footnote notation locally in a few places?

This is from the example given here.

\begin{table}[!h]
    \begin{tabular}{c|c}
        \hline
        First Name & Dennis \\ \hline
        Last Name & the Menace \footnote{First lettered footnote.} \\ \hline
        Age & 12  \footnote{Asterisk footnote!} \\ \hline
        Major & Math  \footnote{Spade footnote!} \\ \hline
        Sport & Swim  \footnote{Diamond 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}
6
  • Something what footmisc package provides? \DefineFNsymbols and \setfnsymbol, i.e. a set of particular symbols that is used instead of numbers?
    – user31729
    Jan 17, 2019 at 21:32
  • Yes, please give me an example of code? thanks!
    – wonderich
    Jan 17, 2019 at 22:08
  • And please leave an answer!
    – wonderich
    Jan 17, 2019 at 22:15
  • I only wanted to have some local footnote symbols
    – wonderich
    Jan 17, 2019 at 23:20
  • @wonderich: Are you using hyperref with this implementation? Are these locally-different footnotes only appearing in floats?
    – Werner
    Jan 17, 2019 at 23:40

1 Answer 1

2

Well, the example you borrowed from was suited to footnotes within tabular environment. For plain text, I used the mpfootnote counter to keep track of symbolic footnotes inbetween, with the new command defined as \symfootnote{}

\documentclass[a5paper, 12pt]{article}

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

\newcommand{\symfootnote}[1]{%
\let\oldthefootnote=\thefootnote%
\stepcounter{mpfootnote}%
\addtocounter{footnote}{-1}%
\renewcommand{\thefootnote}{\fnsymbol{mpfootnote}}%
\footnote{#1}%
\let\thefootnote=\oldthefootnote%
}

\begin{document}

This document\footnote{first letter} may have 
several\footnote{second letter} 
footnotes\symfootnote{first symbol}. 

While most of them\footnote{third letter} are 
alphabetical\footnote{fourth letter}, some are 
symbolic\symfootnote{second symbol} also, to 
preserve variety\footnote{fifth letter}.

\end{document}

This gives an output :

enter image description here

1
  • thanks +1, thanks so much!
    – wonderich
    Jan 18, 2019 at 4:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .