acmart:teaserfigure 中的註腳

acmart:teaserfigure 中的註腳

我正在嘗試向我的teaserfigure.我正在嘗試給出的解決方案這個答案但我得到奇怪的結果:

註腳 註腳

微量元素:

\documentclass[10pt,sigconf]{acmart}
\begin{document}
\title{Here's a title}
\begin{teaserfigure}
    \centering
    \includegraphics[width=.3\textwidth]{example-image-a} \quad
    \includegraphics[width=.3\textwidth]{example-image-b}
    \caption{Image A from\protect\footnotemark\ and image B from\protect\footnotemark.}
\end{teaserfigure}

\maketitle

\footnotetext{Source for image A}
\footnotetext{Source for image B}

\section{Introduction}
    Here's some text\footnote{And a footnote!}

\end{document}

答案1

解決方案1

註腳中帶有符號

\documentclass[10pt,sigconf]{acmart}

\begin{document}
\title{Here's a title}
\begin{teaserfigure}
    \centering
    \includegraphics[width=.3\textwidth]{example-image-a} \quad
    \includegraphics[width=.3\textwidth]{example-image-b}
    \caption{Image A from\protect\footnotemark\ and image B from\protect\footnotemark.}
\end{teaserfigure}

\maketitle

{
\renewcommand{\thefootnote}{\fnsymbol{footnote}}
\footnotetext[1]{Source for image A}
\footnotetext[2]{Source for image B}
}
\section{Introduction}
    Here's some text\footnote{And a footnote!}

\end{document}

在此輸入影像描述

解決方案2:

數位無所不在

\documentclass[10pt,sigconf]{acmart}

\begin{document}
\title{Here's a title}
\begin{teaserfigure}
        \renewcommand{\thefootnote}{\arabic{footnote}}
    \centering
    \includegraphics[width=.3\textwidth]{example-image-a} \quad
    \includegraphics[width=.3\textwidth]{example-image-b}
    \caption{Image A from\protect\footnotemark\ and image B from\protect\footnotemark.}
\end{teaserfigure}

\maketitle

\footnotetext[1]{Source for image A}
\footnotetext[2]{Source for image B}
\addtocounter{footnote}{2}

\section{Introduction}
    Here's some text\footnote{And a footnote!}

\end{document}

在此輸入影像描述

相關內容