將 RevTex (Latex) 中對應 autor 中的數字變更為符號

將 RevTex (Latex) 中對應 autor 中的數字變更為符號

我正在向 APL 期刊投稿。

編輯組要求寫一個星號並附上通訊作者的郵件作為註腳。

預設情況下,revtex 檔案為 AIP 格式。它使用數字而不是星號。我不知道AIP格式是錯的,因為它使用了數字,還是編輯團隊最近改變了主意。

如何將數字改為星號,並包含兩位帶有星號的通訊作者和第二位帶匕首的通訊作者?

謝謝你的支持。

答案1

revtex對前言中的腳註使用單獨的定義。這可以調整:

\documentclass[aip]{revtex4-2}

\usepackage{footmisc}

\begin{document}

{
\makeatletter
\def\frontmatter@thefootnote{%
 \altaffilletter@sw{\@fnsymbol}{\@fnsymbol}{\csname c@\@mpfn\endcsname}%
}%
\makeatother

\author{A. B. Name}
\email{[email protected]}
\affiliation{University}

\author{C. D. Test}
\email{[email protected]}
\affiliation{School}
\maketitle
}

normal text with footnote\footnote{text}

\end{document}

在此輸入影像描述

答案2

腳註符號可以輕鬆修改。他們是由命令調用的\thefootnote。還有另一個將\fnsymbol腳註數字轉換為符號的宏:1是星號,2是匕首,3是雙匕首等

所以你可以做

\renewcommand*{\thefootnote}{\fnsymbol{footnote}}

如果您想恢復(對於文章正文)

\renewcommand*{\thefootnote}{\arabic{footnote}}

\documentclass{article}
\usepackage[width=16cm, bottom=18cm]{geometry}

\renewcommand*{\thefootnote}{\fnsymbol{footnote}}

\begin{document}

\title{About footnotes}
\author{Author 1\footnote{institution 1}
\and Author 2\footnote{institution 2}}

\maketitle

\setcounter{footnote}{0} % not sure it is required
\renewcommand*{\thefootnote}{\arabic{footnote}}

The text with normal\footnote{ie numeric} footnotes\footnote{blah blah}.
\end{document}

在此輸入影像描述

相關內容