Section Footnote in LaTeX

posted in: LaTeX Archives | 1

I left biting marks in the table on this one. I don’t know if it’s a general issue or just my document. Anyway:

I wanted to have footnotes from inside sections, subsections, and subsubsections. They work similar to footnotes in tables, you need to address them similar to this:

\section{Some Section in my Document\footnotemark}

\footnotetext{My boring footnotetext.}

Only, when I did it like this, it worked on some occasions, but not on others (reason for me biting the wood).

I finally found out that it did not work on all occasions where I did it exactly like in above example, but always rendered

TeX capacity exceeded, sorry [input stack size=5000]

However, it did work on all the occasions where I specified the (optional) short title for section/subsection/&c:

\section[Section in Document]{Some Section in my Document\footnotemark}

\footnotetext{My boring footnotetext.}

The optional shorter title appears — as far as I know — in the table of contents and in left-/rightmark. Also, Kile uses it to display the document structure, too. So if you have rather long titles (like I do) it is a good idea specifying a short one anyway. If not, I guess you can just as well repeat the full title in the optional argument if you need a footnote.

When using the starred variant (\section*{My merry section}), don’t provide a short title.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.