[Tex/LaTex] Custom footnote superscript in two column article

footnotestwo-column

I am writing an article and need footnotes to write author affiliations. I am writing in a two-column format and using \twocolumn. I would like the superscripts of the footnote to be custom made, such that the footnote superscript of the first author could be \dagger 1 and the second could be e,g, \ddagger 2a. See the example below

\documentclass[10pt,twocolumn]{article}

\begin{document}

\twocolumn[
\begin{center}
Author 1\footnotemark and Author 2\footnotemark
\end{center}
]
\footnotetext{Custom superscript 1: Text}
\footnotetext{Custom superscript 2: Text}

Text \footnote{Ordinary footnote}

\end{document}

Right now, the superscript of the two authors is '2'. How can I change this?

Best Answer

You can use \textsuperscript{<whatever>} to mimic the footnote representation. Then, \customfootnotetext{<whatever>}{<footnote text>} (defined below) can be used to set the actual footnote text.

enter image description here

\documentclass[twocolumn]{article}

\newcommand{\customfootnotetext}[2]{{% Group to localize change to footnote
  \renewcommand{\thefootnote}{#1}% Update footnote counter representation
  \footnotetext[0]{#2}}}% Print footnote text

\begin{document}

\twocolumn[
  \centering
  Author 1\textsuperscript{$\dagger$1} and Author 2\textsuperscript{$\ddagger$2a}
]

\customfootnotetext{$\dagger$1}{Custom superscript 1: Text}
\customfootnotetext{$\ddagger$2a}{Custom superscript 2: Text}

Text \footnote{Ordinary footnote}

\end{document}
Related Question