
看起來這是一件罕見的事情,因為我在互聯網上找不到有關此問題的參考資料。
我使用 JMLR.cls 樣式文件,我想介紹兩位具有不同\thanks
參考文獻和不同(當然)符號的作者。然而,他們似乎獲得了相同的符號。
使用 MacTeX (TeXLive 2014) 的最小範例如下
\documentclass{jmlr}
\title{Title}
\author{Author 1\thanks{Thanks 1}
\and
Author 2\thanks{Thanks 2}
}
\begin{document}
\maketitle
\end{document}
產生
可能是什麼問題,任何有關潛在錯誤的提示將不勝感激!
\thanks
很多!亞歷克斯
更新:對我來說,\nametag
不知何故效果不佳,因此出現了這個問題。
答案1
在呼叫標題巨集之前,在序言中加入以下內容可以解決該問題:
\makeatletter
\renewcommand*{\thanks}[1]{%
\footnotemark
\protected@xdef\@thanks{\@thanks
\protect\footnotetext[\arabic{footnote}]{#1}}%
}
\makeatother
問題是腳註標記是用\author
s 設定的,但從未轉移到腳註文字(儲存在 中\@thanks
)。因此,由於未指定,因此使用預設腳註標記。
\documentclass{jmlr}
\makeatletter
\renewcommand*{\thanks}[1]{%
\footnotemark
\protected@xdef\@thanks{\@thanks
\protect\footnotetext[\arabic{footnote}]{#1}}%
}
\makeatother
\title{Title}
\author{Author 1\thanks{Thanks 1}
\and
Author 2\thanks{Thanks 2}
}
\begin{document}
\maketitle
\end{document}