Text FormattingShifting Footnote Symbols in Title

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Sundial
Posts: 57
Joined: Thu Apr 19, 2012 7:28 pm

Shifting Footnote Symbols in Title

Post by Sundial »

What I wish to solve is written in this figure.
author-footnote-symbols.png
author-footnote-symbols.png (17.14 KiB) Viewed 11042 times
It has been created with the following code.

Code: Select all

\documentclass[a4paper,11pt] {article}
\usepackage{xcolor}
\title{\color{blue}The Walt Disney World}
\author{\color{black}Micky Mouse\footnote{Born on 1924}, 
Donald Duck\footnote{Born on 1926}, Myself\footnote{Born now}}
\date{\color{red}February 2013}

\begin{document}
  \maketitle
\end{document}
How can I shift them and use next one of series? Could someone help me?

Thanks in advance
Last edited by Sundial on Mon Feb 25, 2013 10:19 pm, edited 2 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Shifting Footnote Symbols in Title

Post by localghost »

Sundial wrote:[…] How can I shift them and use next one of series? […]
Which series of symbols do you exactly want to have there?


Thorsten
Sundial
Posts: 57
Joined: Thu Apr 19, 2012 7:28 pm

Shifting Footnote Symbols in Title

Post by Sundial »

As shown below.

Code: Select all

asterisk 	* for first name
dagger 	        † NO
double dagger 	‡ NO
section symbol 	§ for second name
paragraph    	¶ for third name

Thank you
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Shifting Footnote Symbols in Title

Post by cgnieder »

This question is two-fold ans thus the answer is, too. The symbols used for the footnotes are stored in a macro called \@fnsymbol. It's definition is as follows:

Code: Select all

\def\@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}}
A suitable redefinition takes care of your symbols wish.

As for the cramped footnotes: usually the \author command is used a bit differently, namely using \thanks instead of \footnote and the names delimited with \and:

Code: Select all

\documentclass[a4paper,11pt] {article}
\usepackage{xcolor}

\makeatletter
\def\@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

\title{\color{blue}The Walt Disney World}
\author{%
  \color{black}Micky Mouse\thanks{Born on 1924} \and
  Donald Duck\thanks{Born on 1926} \and
  Myself\thanks{Born now}%
}
\date{\color{red}February 2013}

\begin{document}
  \maketitle
\end{document}
titlefn1.png
titlefn1.png (12.48 KiB) Viewed 11027 times
But they indeed still look a bit cramped. A manual solution could be to insert a suitable \kern:

Code: Select all

\documentclass[a4paper,11pt] {article}
\usepackage{xcolor}

\makeatletter
\def\@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

\title{\color{blue}The Walt Disney World}
\author{%
  \color{black}Micky Mouse\thanks{Born on 1924} \and
  Donald Duck\thanks{Born on 1926} \and
  Myself\kern.07em\thanks{Born now}%
}
\date{\color{red}February 2013}

\begin{document}
  \maketitle
\end{document}
titlefn2.png
titlefn2.png (12.48 KiB) Viewed 11027 times
You can do the same if you want to stick to your original setting using a comma list.

Regards
site moderator & package author
Sundial
Posts: 57
Joined: Thu Apr 19, 2012 7:28 pm

Re: Shifting Footnote Symbols in Title

Post by Sundial »

Superb solution, Clemens!
Thank you very much and thanks to the forum, too!
Post Reply