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

2
  • I'd suppress the * in both places: in the footnote it would refer to nothing.
    – egreg
    Commented Aug 7, 2015 at 16:54
  • @egreg The style sheet requires a star in the footnote, but no mark in the text.
    – Sverre
    Commented Aug 7, 2015 at 16:55

2 Answers 2

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

1
  • Thanks! There's a follow-up here.
    – Sverre
    Commented Aug 7, 2015 at 17:36
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}
1
  • 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
    Commented Aug 7, 2015 at 17:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .