## LaTeX forum ⇒ Page Layout ⇒ How can I customize the \thanks footnote symbol? Topic is solved

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
billy2011
Posts: 13
Joined: Sun Dec 04, 2011 9:57 pm

### How can I customize the \thanks footnote symbol?

hi, fellows,

I want to customize my paper, in which author1 has a label 1, and corresponding footnote 1, author2 has footnote2.

I had tried \footnote in the \author, it did not work. using \thanks in \author, it always gave a random symbol, not a number I designated.

Could you tell me how to do that? Thanks in advance!

Tags:

Stefan Kottwitz
Site Admin
Posts: 8873
Joined: Mon Mar 10, 2008 9:44 pm
Hi Billy,

which document class do you use? I'm sure the symbol is not randomly chosen, but the document class provides a \thanks command which chooses from a default list of symbols.

Stefan
Site admin

billy2011
Posts: 13
Joined: Sun Dec 04, 2011 9:57 pm
Thank you,Stefan. I am a beginner with LaTeX. So, LaTeX is still a bit annoying for me because I am not very much familiar with its commands and usage. However, I really like its powerful features.

I used a common document class as below.

\documentclass[a4paper,11pt,two column]{article}

If we could modify the default list of symbols by \thanks command, it would solve my problem.

Waiting for you solutions. Many thanks!
Last edited by cgnieder on Tue Aug 13, 2013 5:22 pm, edited 1 time in total.
Reason: code markup

Stefan Kottwitz
Site Admin
Posts: 8873
Joined: Mon Mar 10, 2008 9:44 pm
Hi Billy,

if you don't need those footnote symbols, you can use numbers instead by inserting this into your document preamble:

\makeatletter\let\@fnsymbol\@arabic\makeatother

Complete minimal example:

\documentclass[a4paper,11pt,two column]{article}\makeatletter\let\@fnsymbol\@arabic\makeatother\begin{document}\author{Author-one\thanks{first}, Author-two\thanks{second}}\title{Test}\maketitle\end{document}

In \maketitle, the footnote (\thanks) presentation is changed to use \@fnsymbol instead of an arabic number. The redefinition above replaces \@fnsymbol to always produce arabic numbers.

Stefan
Site admin

billy2011
Posts: 13
Joined: Sun Dec 04, 2011 9:57 pm
wow, it really works. you are awesome! thank you very much!

billy2011
Posts: 13
Joined: Sun Dec 04, 2011 9:57 pm
Just one more question on this issue. Are there possible ways to fully control the display of \thanks symbols?

For example, in some place, we may arbitrarily want to show a designated symbol, such as \ddag or something else.

Thank you!
Last edited by cgnieder on Tue Aug 13, 2013 5:23 pm, edited 1 time in total.
Reason: code markup

Stefan Kottwitz
Site Admin
Posts: 8873
Joined: Mon Mar 10, 2008 9:44 pm
No problem,

use this in your preamble for redefining the symbols:

\makeatletter\renewcommand*{\@fnsymbol}[1]{\ensuremath{\ifcase#1\or *\or \dagger\or \ddagger\or    \mathsection\or \mathparagraph\or \|\or **\or \dagger\dagger    \or \ddagger\ddagger \else\@ctrerr\fi}}\makeatother

Just replace *, \dagger etc. as desired.

Stefan
Site admin

billy2011
Posts: 13
Joined: Sun Dec 04, 2011 9:57 pm
Great! Thanks,Stefan.

ereninci
Posts: 3
Joined: Tue Aug 13, 2013 10:36 am
Stefan_K wrote:No problem,

use this in your preamble for redefining the symbols:

\makeatletter\renewcommand*{\@fnsymbol}[1]{\ensuremath{\ifcase#1\or *\or \dagger\or \ddagger\or    \mathsection\or \mathparagraph\or \|\or **\or \dagger\dagger    \or \ddagger\ddagger \else\@ctrerr\fi}}\makeatother

Just replace *, \dagger etc. as desired.

Stefan

How can I have the first footnote on the title page to be footnote * and the rest of the footnotes to be numberred consecutively with arabic numbers?

cgnieder
Site Moderator
Posts: 1988
Joined: Sat Apr 16, 2011 7:27 pm
Hi ereninci,

Welcome to the LaTeX community!

Usually it is best not to hijack solved threads but starting new ones, maybe referring to the existing one with a link.

Maybe one of the following solutions is what you want:

\documentclass{article}\makeatletter% *, 2, 3, ...\renewcommand*{\@fnsymbol}[1]{\ifcase#1\or*\else\@arabic{#1}\fi}\makeatother\title{A test}\author{Captain Kirk\thanks{first} \and Spock\thanks{second}}\begin{document}\maketitle\end{document}

\documentclass{article}\makeatletter% *, 1, 2, ...\renewcommand*{\@fnsymbol}[1]{\ifcase#1\or*\else\@arabic{\numexpr#1-1\relax}\fi}\makeatother\title{A test}\author{Captain Kirk\thanks{first} \and Spock\thanks{second}}\begin{document}\maketitle\end{document}

Regards
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim

Return to “Page Layout”

### Who is online

Users browsing this forum: No registered users and 1 guest