[texhax] footnotemark in \section{}

Uwe Lück uwe.lueck at web.de
Mon Oct 30 14:53:56 CET 2006


At 21:19 29.10.06, Gaspar Bakos wrote:

>I am trying to put a footnote in the text of a section label.
>I understand that the way here is to use \footnotemark and then \footnotetext.

No -- http://www.tex.ac.uk/cgi-bin/texfaq2html?label=ftnsect

>But even this solution does not work:
>
>! Argument of \@sect has an extra }.
><inserted text>
>                 \par
>l.63 2)\footnotemark}

The following demonstrates the problem that the FAQ page
addresses:

\documentclass{article}
\begin{document}
\tableofcontents
\pagestyle{headings}
\section{A\protect\footmark}
\end{document}

Cheers,
   Uwe.



More information about the texhax mailing list