如何对齐 \thanks 和 \footnote?

如何对齐 \thanks 和 \footnote?

如何在 LaTeX 中对齐和\footnote\thanks例如,下面的代码没有对齐 的1 和的 a\thanks。 文件可以在此处下载:\footnote.styspconf

% Template for ICASSP-2021 paper; to be used with:
%          spconf.sty  - ICASSP/ICIP LaTeX style file, and
%          IEEEbib.bst - IEEE bibliography style file.
% --------------------------------------------------------------------------

\documentclass{article}
\usepackage{spconf,amsmath,graphicx}

\makeatother

% Title.
% ------
\title{Title}

% Single address.
% ---------------
\name{Author1 and Author2$^{1}$% <-this % stops a space
\thanks{$^{1}${\tt\small \{abc, abc\}}}%
}
\address{Department, XYZ \\ XYZ}

\begin{document}
%\ninept
%
\maketitle

\begin{abstract}
\renewcommand{\thefootnote}{\alph{footnote}} Abstract. \footnote{XXXXXXXXXXXXXXXXXXXXXX}
\end{abstract}

\begin{keywords}
Human Pose Forecasting
\end{keywords}

\end{document}

在此处输入图片描述

答案1

脚注\thanks只是设置了没有任何编号;您手动提供此编号,但它被视为脚注文本的一部分。因此,我们可以\llapl略过lap)这个手动提供的数字:

在此处输入图片描述

% Template for ICASSP-2021 paper; to be used with:
%          spconf.sty  - ICASSP/ICIP LaTeX style file, and
%          IEEEbib.bst - IEEE bibliography style file.
% --------------------------------------------------------------------------

\documentclass{article}

\usepackage{spconf}% https://2022.ieeeicassp.org/papers/PaperFormat/spconf.sty

\title{Title}

\name{%
  Author1 and Author2\textsuperscript{\upshape 1}%
  % \llap the footnote number to align with other footnote numbers
  \thanks{\llap{\textsuperscript{1}}{\ttfamily\footnotesize \{abc, abc\}}}% 
}
\address{Department, XYZ \\ XYZ}

\begin{document}

\maketitle

\begin{abstract}
  \renewcommand{\thefootnote}{\alph{footnote}}%
  Abstract.\footnote{XXXXXXXXXXXXXXXXXXXXXX}
\end{abstract}

\begin{keywords}
some relavent set of keywords
\end{keywords}

\end{document}

相关内容