I want to add a footnote to figure caption.
I'm using the svjour3
document class.
\RequirePackage{amsmath}
\documentclass[natbib]{svjour3}
\usepackage{appendix}
\usepackage{graphicx}
\usepackage{rotating}
\setlength{\rotFPtop}{0pt plus 1fil}% <- add this line after loading rotating
\setlength{\rotFPbot}{0pt plus 1fil}% <- maybe its better to add this line too
\usepackage{caption}
\usepackage{amsmath}
\usepackage{lineno}
\usepackage{booktabs,makecell, multirow}
\usepackage{tikz-qtree,ulem}
\usepackage{subfigure}
\usepackage{float}
\usepackage{tablefootnote}
%\usepackage[utf8x]{inputenc}
\usepackage{color, colortbl}
\definecolor{Gray}{gray}{0.90}
\newcommand*\patchAmsMathEnvironmentForLineno[1]{%
\expandafter\let\csname old#1\expandafter\endcsname\csname #1\endcsname
\expandafter\let\csname oldend#1\expandafter\endcsname\csname end#1\endcsname
\renewenvironment{#1}%
{\linenomath\csname old#1\endcsname}%
{\csname oldend#1\endcsname\endlinenomath}}%
\newcommand*\patchBothAmsMathEnvironmentsForLineno[1]{%
\patchAmsMathEnvironmentForLineno{#1}%
\patchAmsMathEnvironmentForLineno{#1*}}%
\AtBeginDocument{%
\patchBothAmsMathEnvironmentsForLineno{equation}%
\patchBothAmsMathEnvironmentsForLineno{align}%
\patchBothAmsMathEnvironmentsForLineno{flalign}%
\patchBothAmsMathEnvironmentsForLineno{alignat}%
\patchBothAmsMathEnvironmentsForLineno{gather}%
\patchBothAmsMathEnvironmentsForLineno{multline}%
}
\newcommand*{\affaddr}[1]{#1} % No op here. Customize it for different styles.
\newcommand*{\affmark}[1][*]{\textsuperscript{#1}}
\usepackage[linesnumbered,ruled]{algorithm2e}
\usepackage{floatpag}
\usepackage{longtable}
\usepackage{booktabs}
\usepackage{color, colortbl}
\definecolor{Gray}{gray}{0.90}
\usepackage{pifont}
\newcommand{\cmark}{\ding{51}}%
\newcommand{\xmark}{\ding{55}}%
\usepackage[margin=2cm]{geometry}
\begin{document}
\begin{figure}
\begin{minipage}{\textwidth}
...
\caption[Compact Routing Example]%
{Compact Routing\footnote{something} Example}
\end{minipage}
\end{figure}
\end{document}
The caption is displayed in the middle of the page and the footnote superscript is a
and the footnote is displayed at the bottom of the figure. However, I also have footnotes within the text which are displayed at the bottom of the page. I'd like the figure and regular text footnotes to be in the same spot (at the bottom of the page).
How can I achieve that?
svjour3.cls
are you using? Can your provide a minimal example that replicates your (incorrect) behaviour?