Graphics, Figures & TablesFootnotemark doesn't work as reference in caption.

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
TheShow2012
Posts: 1
Joined: Sat Apr 30, 2022 12:06 pm

Footnotemark doesn't work as reference in caption.

Post by TheShow2012 »

Hello,

I have this problem: I can't use

Code: Select all

\footnote
inside figure caption, so I just use

Code: Select all

\footnotemark
and

Code: Select all

\footnotetext
under the figure. But the mark doesn't work as a reference (clicking on it won't take me to the area where the text is). So my question is if I can somehow make it work, or at least how to make all the other footnotes also as not working references, so the style is uniform.

Thanks for answers, you can see the example of the problem below.

Code: Select all

\begin{figure}[h]

\begin{tikzpicture}

\begin{axis}[
    legend cell align={left},
    legend pos = north west,
    compat=1.3,
    width=\textwidth,
    height=0.42\textwidth,
    title={Vývoj účinnosti FV panelů},
    title style={font=\bf},
    xlabel={Rok},
    ylabel={Účinnost [\%]},
    ymin=10, ymax=30,
    xmin=1975, xmax=2022,
    xticklabel style={/pgf/number format/1000 sep=},
    xtick={1980,1985,1990,1995,2000,2005,2010,2015,2020},
    ytick={10,15,20,25,30},
    ymajorgrids=true,
    grid style=dashed,
]

\addplot[
    color=black,
    mark=square*,
    ]
    coordinates {
    (1977,13.5)(1978,15)(1980,15.8)(1983,16.2)(1984,18)(1985,18.5)(1986,19.2)(1987,19.8)(1988,20.2)(1991,20.5)(1994,21)(1995,23.5)(1998,24)(2000,24.2)(2014,24.5)(2015,25.5)(2017,26)(2018,26.6)(2020,26.7)
    };
    \addlegendentry{monokrystalické}

\addplot[
    color=blue,
    mark=triangle*,
    ]
    coordinates {
    (1984,14)(1986,15)(1990,17)(1992,17.2)(1994,18)(1996,19)(1999,20)(2004,21)(2015,21.5)(2016,22)(2018,22.8)(2020,23.3)
    };
    \addlegendentry{polykrystalické}
    
\end{axis}
\end{tikzpicture}
    
    \caption[Vývoj účinnosti monokrystalických a polykrystalických FV panelů během let 1938 až 2020]{Vývoj účinnosti monokrystalických a polykrystalických FV panelů během let 1977 až 2020\footnotemark[1] }
    \label{fig:Ucinnost}
\end{figure}

\footnotetext[1]{Jedná se o referenční účinnosti panelů s maximální účinností, které byly v daném roce vyrobeny. Běžně dostupné panely mohou mít účinnost nižší. Data pochází z portálu Národní laboratoře pro obnovitelné zdroje energie Spojených států (NREL) \cite{stranka:NREL}}

Recommended reading 2024:

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

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

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

Footnotemark doesn't work as reference in caption.

Post by Stefan Kottwitz »

Hi,

welcome to the forum!

You could load hyperref with hyperfootnotes set to false:

Code: Select all

\usepackage[hyperfootnotes=false]{hyperref}
Stefan
LaTeX.org admin
Post Reply