acmart:teaserfigure 中的脚注

acmart:teaserfigure 中的脚注

我正在尝试为我的添加一些 URL 脚注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}

在此处输入图片描述

相关内容