Page LayoutFootnotes in Headings

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
mischuin
Posts: 6
Joined: Wed Oct 10, 2012 6:57 am

Footnotes in Headings

Post by mischuin »

Dear all,

how can I put a footnote into a heading of a section so that the number of note indicator sticks to the title? I'm doing like that (imagine that this is my second section and my first footnote):

Code: Select all

\section{Bla Bla}\footnote{Kkkkkkkkkkkkk} 
And the result is like:

2 Bla Bla
1

Instead of

2 Bla Bla^1

As I'd expected...

What is my mistake? Should I use a specific package for footnotes in titles?


Thanks in advance!
Michelle
Last edited by Stefan Kottwitz on Thu Oct 11, 2012 9:42 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Footnotes in Headings

Post by Stefan Kottwitz »

Hi Michelle,

it would be great if you would avoid to post just bla bla and bla bla for dummy text, it's not so much fun to read. Be serious or creative. ;)

For footnotes in section headings, I recommend to
  • place the \footnote command in the section argument, i.e. within the braces
  • If you don't want to have a copy of this footnote in the table of contents, use the optional argument of \section with the title but without the footnote:

    Code: Select all

    \section[title]{title\footnote{text}}
  • If you need a footnote to be in the table of contents as well, use \protect to prevent the \footnote command to be expanded before moved to the ToC:

    Code: Select all

    \section{title\protect\footnote{text}}
Stefan
LaTeX.org admin
mischuin
Posts: 6
Joined: Wed Oct 10, 2012 6:57 am

Re: Footnotes in Headings

Post by mischuin »

Dear Stefan,

I'll try be more creative and/or funny next time. I promise. hehe...

Thanks for the tips. They completely solved my problem.
Cheers!
Post Reply