Theses, Books, Title pagesFootnote not displayed at correct position when used inside definition in Legrand Orange Book

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
JasonLiam
Posts: 3
Joined: Thu Mar 13, 2025 5:08 pm

Footnote not displayed at correct position when used inside definition in Legrand Orange Book

Post by JasonLiam »

I noticed that the footnote is not displayed at the correct position when used inside the definition in Legrand Orange Book. I used the following code to create the footnote:

Code: Select all

\begin{definition}[Group] % Specify a name/title in square brackets, or leave them out for no title
	This is the definition of the group written\footnote{this is the footnote that is displayed at wrong position} here to show the problem.
\end{definition}
Here is the screenshot showing the incorrect position of the footnote. Note that the footnote is displayed incorrectly just inside the definition when it should be displayed at the end of the page.
definitionfootnoe.png
definitionfootnoe.png (34.54 KiB) Viewed 30046 times
How can I solve this so that the footnote is displayed at the correct position.

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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

Re: Footnote not displayed at correct position when used inside definition in Legrand Orange Book

Post by Stefan Kottwitz »

Hi Jason,

here's a fix by Marco Daniel - add this to your document preamble:

Code: Select all

\usepackage{tablefootnote} 
\makeatletter 
\AfterEndEnvironment{mdframed}{%
 \tfn@tablefootnoteprintout% 
 \gdef\tfn@fnt{0}% 
}
\makeatother 
Then, use \tablefootnote instead of \footnote in the definition box.
footnote.png
footnote.png (116.68 KiB) Viewed 29945 times
Stefan
LaTeX.org admin
Post Reply