1

I need footnote for image, however it gives me character to footnote instead of number. Could someone help me, how to change it to number?

\begin{figure}\centering
\begin{minipage}{\textwidth}
    \includegraphics[width=1\textwidth]{Pictures/a.png}
    \caption[asdf]{asdf \footnote[2]{\url{https://example.com}}}\label{fig:a} 
\end{minipage}
 \end{figure}

enter image description here

There is b instead of 2.

1
  • Note that the numbers in minipage footnotes may duplicate the numbers in normal footnotes. May 7, 2019 at 14:53

2 Answers 2

2

Something how this?

enter image description here

\documentclass{article}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{url}
\renewcommand{\thempfootnote}{\arabic{mpfootnote}}

\begin{document}
    \begin{figure}\centering
    \begin{minipage}{\textwidth}
        \includegraphics[width=1\textwidth]{example-image-a}
        \caption[asdf]{asdf \footnote[2]{\url{https://example.com}}}\label{fig:a}
\end{minipage}
\end{figure}
\end{document}
1

If it possible to use \footnotemark and \footnotetext to obtain the desired result.

Output

\documentclass{article}
\usepackage{graphicx}
\usepackage{hyperref}
\hypersetup{
    colorlinks  = true,
    linkcolor   = blue,
    urlcolor    = red
}
\begin{document}
    \begin{figure}\centering
        \begin{minipage}{\textwidth}
            \includegraphics[width=1\textwidth]{example-image-a}
            \caption[asdf]{Descritpion \footnotemark}\label{fig:a}
        \end{minipage}
    \end{figure}
    \footnotetext{\url{https://example.com}}
\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.