5

I use the \thanks command to include a first starred footnote with acknowledgments. The star should appear in the footnote, but there should be no star in the text (in this case right after the title). How can I remove the star only from the text and not from the footnote?

\documentclass{article}
\begin{document}
\title{This is my title\thanks{Here I thank people.}}
\maketitle
Here is a sentence.\footnote{Here is a footnote.}
\end{document}

enter image description here enter image description here

lockstep
  • 250,273
Sverre
  • 20,729

2 Answers2

5

The \maketitle command in the article class redefines \@makefnmark in a group to print the marker in a zero width box, so as to preserve centering. Thus it's sufficient to define it to do nothing:

\documentclass{article}

\usepackage{etoolbox}
\makeatletter
\patchcmd{\maketitle}
 {\def\@makefnmark}
 {\def\@makefnmark{}\def\useless@macro}
 {}{}
\makeatother

\textheight=8cm % just to have a smaller picture

\begin{document}

\title{This is my title\thanks{Here I thank people.}}
\author{Sverre}

\maketitle

Here is a sentence.\footnote{Here is a footnote.}

\end{document}

The patch might be more detailed, removing all replacement text for \@makefnmark, that, with this patch, will become the replacement text for \useless@macro. But since it's in a group, the definition of \useless@macro will disappear as soon as the group ends.

enter image description here

egreg
  • 1,121,712
4

You can insert the footnote manually with the appropriate identifier:

enter image description here

\documentclass{article}
\usepackage[paperheight=20\baselineskip]{geometry}% Just for this example
\begin{document}
\title{This is my title\footnotetext{\llap{\textsuperscript{*}}Here I thank people.}}
\maketitle
Here is a sentence.\footnote{Here is a footnote.}
\end{document}
Werner
  • 603,163
  • 1
    Thanks - this will work for now (submission deadline is tonight). But for the record, I'd ideally want (for future use of the same style sheet) to define a command in my .sty file that will do this automatically, so that all I have to do is write the content of my acknowledgements in the .tex document. – Sverre Aug 07 '15 at 17:02