GeneralFootnote into a subsubsection headline does not work.

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Florian
Posts: 16
Joined: Sat Mar 15, 2008 7:14 pm

Footnote into a subsubsection headline does not work.

Post by Florian »

What do I do wrong? :cry:
I have the following line in my latex document:

\subsubsection{``Action set'' available to the planner\footnote{The term action set should probably be replaced by something else as the social planner is no player.}}\label{remo}

This leads to an error in texnic-center/miktex!

I'm very grateful for any hint...

Thanks,
Florian

Recommended reading 2024:

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

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

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

Footnote into a subsubsection headline does not work.

Post by Stefan Kottwitz »

Hi Florian,

do you list subsubsection inside the toc? This way the footnote would influence also the toc entry. If not, just [] is enough:

Code: Select all

\subsubsection[]{``Action set'' ...
If you list subsubsections in the toc you could use the optional argument:

Code: Select all

\subsubsection[``Action set'' available to the planner]{``Action set'' available to the planner%
\footnote{The term action set should probably be replaced by somethin
 else as the social planner is no player.}}\label{remo}
Alternatively just load footmisc with the stable option:

Code: Select all

\usepackage[stable]{footmisc}
The package would take care of it.

Stefan
LaTeX.org admin
Florian
Posts: 16
Joined: Sat Mar 15, 2008 7:14 pm

Re: Footnote into a subsubsection headline does not work.

Post by Florian »

Hi Stefan,

many thanks for your quick reply. Just adding the brackets "[]" after the subsubsection command was enough! I have no idea why this makes a difference, but as long as for an expert everything is transparent, I will not ask any questions.

Thank you! This forum is a great help. In future I will try to contribute a little bit as far as my mediocre latex knowledge can be of any help for someone.

Best,
Florian
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Footnote into a subsubsection headline does not work.

Post by Stefan Kottwitz »

Hi Florian,
Florian wrote:Just adding the brackets "[]" after the subsubsection command was enough! I have no idea why this makes a difference
the reason behind is that the subsubsection title will not only be used inside the text but also in the table of contents and perhaps in page headers too. If you use \footnote inside the title that will be applied to the toc and headers too. Using the optional parameter of \subsubsection will prevent that, even if it's empty [], because then the (empty) short title will be used for the toc (and the header).

Stefan
LaTeX.org admin
akshaynr
Posts: 1
Joined: Fri Sep 12, 2008 9:33 am

Re: Footnote into a subsubsection headline does not work.

Post by akshaynr »

Hey thanks a lot man
Was suffering from the same problem
just to add, the same idea applies to chapters and sections as well.
Post Reply