我正在尝试修改论文中作者引文的脚注,但在设置脚注符号时遇到了麻烦。我的问题是,我需要为特定作者保留 * 符号,而不是默认为第一个脚注集。我希望能够为脚注选择任何我想要的符号,或者尝试忽略 * 符号作为默认调用的第一个符号。
我按照以下 tex 交换中的指南进行操作,但无法使其为我工作,也许是因为某些已加载的包存在冲突: 使用符号代替数字作为脚注标记
关于如何使用当前设置(如果有的话,还有示例代码)来完成此操作,您有什么想法吗?
下面是我正在测试的精简代码:
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{setspace}
%\usepackage[hyperfootnotes=false]{hyperref}
\usepackage{verbatim}
\usepackage[dvipsnames]{xcolor}
\usepackage{mathtools}
\usepackage{url}
\usepackage[a4paper, total={6in, 8in}, margin=1in]{geometry}
\usepackage{natbib}
\usepackage{graphicx}
\usepackage{subfig}
\usepackage{authblk}
%_________FOOTNOTE CODE___________%
\makeatletter
\newcommand*{\myfnsymbolsingle}[1]{%
\ensuremath{%
\ifcase#1% 0
\or % 1
\dagger
\or % 2
\ddagger
\or % 3
\mathsection
\or % 4
\mathparagraph
\else % >= 5
\@ctrerr
\fi
}%
}
\makeatother
\newcommand*{\myfnsymbol}[1]{%
\myfnsymbolsingle{\value{#1}}%
}
% remove upper boundary by multiplying the symbols if needed
\usepackage{alphalph}
\newalphalph{\myfnsymbolmult}[mult]{\myfnsymbolsingle}{}
\renewcommand*{\thefootnote}{%
\myfnsymbolmult{\value{footnote}}%
}
%_________FOOTNOTE CODE___________%
\begin{document}
\title{Literature Review Paper}
\author[1]{Author 1\footnote{Current affiliation: Department of Stuff, The First University, Place, Townplace ZIPnumber}\footnote{These authors contributed equally.}}
\author[2]{Author 2$^*$}
\author[2]{Author 3}
\author[1]{Author 4\footnote{Correspondence to: Author 4 (E-mail: [email protected])}}
\author[2]{Author 5\footnote{Correspondence to: Author 5 (E-mail: [email protected])}}
\affil[1]{Engineering Department, The University, City, Town ZIP}
\affil[2]{Other Engineering Department, The Other University, Another City, Different Town ZIP}
\date{}
\maketitle
\doublespacing
\section*{Abstract}
Abstract section...
\end{document}