# Re: suppression of footnotes in TOC

2018-01-02 16:57 GMT+01:00 Ekkehart Schlicht <schli...@lmu.de>:

> Hi,
>
> I have footnotes to section headings (that are necessary because some
> sections are taken from earlier articles, and this is explained in those
> footnotes). In the TOC, these footnotes re-appear. It is quite clumsy to
> repress them in those cases by using \section* instead of \section and add
> \addcontentsline{section}{12 sectionname}. It would be very convenient to
> have footnoes to TOC entries omitted by defaultin the TOC.
>


The only way I ever found is to define a new "footnote" command and use it

https://tex.stackexchange.com/a/123762

Basically you add to the Preamble

\makeatletter

\def\myfnt{\ifx\protect\@typeset@protect
\expandafter\footnote\else\expandafter\@gobble\fi}

\makeatother

and then to insert the "footnote" on the heading you use a TeX box (Ctrl-L)
with the command

on it. The numbering integrates without problems with normal footnotes,
only on LyX it will look kind of weird. But you can always define a
character style ;)

Regards,
Ricardo

>
> Thanks!
>
> --
> Ekkehart Schlicht
> Hurtenstr. 13