166

I would like to have a footnote about the funding source of my work in the first page without marker.

I tried below approaches:

  1. \footnotetext{text goes here} This creates a footnote but with '0' as marker. However, the marker reference does not appear within the normal text where I placed this command.

  2. Used \def\blfootnote{\xdef\@thefnmark{}\@footnotetext} definition provided at http://help-csli.stanford.edu/tex/latex-footnotes.shtml#unnumber. I placed this definition in the main tex file just after package declaration. But, this gives the below error.

       ! Use of \@ doesn't match its definition.
       \blfootnote ->\xdef \@thefnmark{}\@f
                                           ootnotetext
    
0

7 Answers 7

184

As Stephen mentioned in his answer, if you're using your definition in your .tex file, you need to enclose it inside \makeatletter, \makeatother. Another option not involving the use of the special character @ (thus not requiring \makeatletter, \makeatother) would be to locally redefine \thefootnote (taking care of correcting the footnote counter):

\documentclass{article}
\usepackage{lipsum}

\newcommand\blfootnote[1]{%
  \begingroup
  \renewcommand\thefootnote{}\footnote{#1}%
  \addtocounter{footnote}{-1}%
  \endgroup
}

\begin{document}

Some text\blfootnote{A footnote without marker} and some more text\footnote{A standard footnote}

\end{document}

enter image description here

8
  • Thanks for the responses guys. Just looked at your suggestions, but was able to have the footnote working just sometime ago. The problem was that I had to keep the definition of blfootnote in the class file instead of the tex file.
    – Rajesh
    Oct 6, 2011 at 19:18
  • 4
    What does "bl" in "blfootnote" stand for? Oct 24, 2012 at 15:14
  • 1
    @DavidDoria: Gonazalo is re-implementing a macro that the original poster copied from a resource that is no longer available. So we'll never know what bl stands for. One may guess “blind”, but the important think is that it be different from \footnote. Dec 4, 2014 at 16:36
  • 1
    @GonzaloMedina with the solution you have proposed hyper-link will provide and empty market were I place \blfootnote{}. Is there any way to continue to use hyper-link that provide links for the other footnotes and references but at the same time have just a note for the desired blfootnote?
    – rebatoma
    May 24, 2016 at 9:33
  • 1
    Note that this solution does not work when \blfootnote is inside \title{}. In this case the symbol is still printed in the footnote (but not in the title).
    – James
    Jul 9, 2020 at 6:53
41

@ is a special character in (La)TeX. Enclose your code with \makeatletter, \makeatother:

\makeatletter
\def\blfootnote{\gdef\@thefnmark{}\@footnotetext}
\makeatother

Edit (from my former comments):

Internal commands with @ can be used without \makeatletter and \makeatother in the class file (as you found out) as well as in style files, too. Only in the .tex file the "envelope" is needed. That said, I would prefer Gonzalo Medina's answer over my own (or your placement of the redefinition in the class file) because it only locally redefines footnote (respectively give a new command for unnumbered footnotes).

When you are using the hyperref package, you would probably want to add \addtocounter{Hfootnote}{-1}% to the code of GM, otherwise it will work but error messages about (hyper)footnotes will become tricky, because e.g. Hfootnote 42 then is footnote 41 - use \addtocounter{footnote}{-1} without \addtocounter{Hfootnote}{-1} for several cases, and the difference between footnote and Hfootnote makes debugging harder than necessary.

Edit (again):

As suggested by egreg, I changed \xdef (=\global\edef) to \gdef (=\global\def), because there is no need to *e*xpand the *def*inition's content here (as it is just empty).

3
  • \xdef should be \gdef; it doesn't make any difference here, it could in other situations.
    – egreg
    Oct 30, 2011 at 18:53
  • +1, @Gonzalo Medina solution doesn't work 'well' with hyperref package, it lets an empty link box to the footnote!
    – Kevin
    Oct 29, 2014 at 10:23
  • This is a better approach, because it only uses the footnotetext, not occupying space for the footnotemark.
    – THN
    Sep 14, 2019 at 20:07
40

In some cases, you might want to suppress the number on a footnote. I looked around the web, and a few suggestions were out there, but the simplest one I could find was the following:

\let\thefootnote\relax\footnotetext{Put your text here}
5
  • This may work, but it is not really LaTeX style and may have serious side-effects, e.g., when switching back to normal footnotes. Sep 1, 2015 at 12:56
  • Welcome to TeX.SX! A tip: You can use backticks ` to mark your inline code. I did not edit your answer just for this detail, you might want to change it yourself. Sep 1, 2015 at 12:56
  • 2
    You are the best.
    – Christina
    Sep 16, 2019 at 13:17
  • 1
    Brutal but effective. For short documents without other footnotes this is the best! I think half of it should go in the preamble and the acutal not in the document. I hop you don't mind me editing your answer.
    – user4929
    Apr 5, 2020 at 21:54
  • The beautiful one.
    – Niing
    Apr 7, 2021 at 22:09
9

I know this is an old question, but the answers from both Gonzalo Medina and Stephen may interact poorly with hyperref. I did not test the titlefoot package but, from my limited understanding of the LaTeX code, it seems it may not be immune either.

Apparently, however, we are "safe" by using @xfootnotenext, as hyperref's implementation of it delegates to the default LaTeX footnote code. And it is simple to do so, just call \footnotetext with an optional parameter. To do that, switch footnote markers temporarily to symbols and select 0 as the symbol. Nothing gets printed (no symbol for 0), nothing gets added to the text (we are just using footnotetext), and hyperref does not try to add anchors or links.

\newcommand\extrafootertext[1]{%
    \bgroup
    \renewcommand\thefootnote{\fnsymbol{footnote}}%
    \renewcommand\thempfootnote{\fnsymbol{mpfootnote}}%
    \footnotetext[0]{#1}%
    \egroup
}
2
  • Worked perfectly, thanks! 😎
    – lukeuser
    May 5, 2021 at 11:32
  • Indeed, with hyper-ref highlighting references, the accepted answer shows a "square" link marker from where \blfootnote is used. This answer works better as it doesn't add any marker where \extrafootertext is used.
    – Milan
    Oct 14, 2021 at 9:11
6

There’s also an old package, titlefoot, which has no documentation except a few comments in the .sty file. It provides a command, \unmarkedfntext{...}, which has never caused problems in my documents. A little example:

\documentclass{article}
\usepackage{blindtext,titlefoot}
\title{My Brilliant Article}
\author{Me}
\usepackage{hyperref}
\begin{document}
\maketitle\unmarkedfntext{Originally published by Oxford.}

\blindtext\footnote{It seems to play well with hyperref.}
\end{document}
3
  • This seems causing some issues for me. All the figures are moved to the end of the document after adding \unmarkedfntext. A regular footnote would not cause so.
    – xuhdev
    Sep 20, 2016 at 3:20
  • 3
    I like this answer the best, because, as you said, it plays well with hyperref. Other "markerless footnote" solutions I tried left a little blank box in the text (i.e., a link attached to the blank marker). Jun 19, 2017 at 22:30
  • I had only one problem with the definition the command \keywords, apparently the command is already defined in the package, so I had to change the name. However, I find this "package"-solution more elegant that own defined functions. ;) Mar 13, 2018 at 12:53
2

You could use the \footnotemark[0] and \footnotetext[0]{Footnote text} pair. The [0] will suppress the label.

3
  • 4
    This is only true if \thefootnote is set to \roman{footnote} or \Roman{footnote}.
    – Werner
    Dec 6, 2018 at 0:49
  • 3
    And it's \footnotemark, not "marker. Dec 6, 2018 at 10:01
  • 1
    It did not work for me (in amsart style).
    – mathreader
    Sep 13, 2020 at 22:14
0

Tried previous answers several times but did not work. I am working on the AIAA template and the solution was this simple:

\footnote[]{Footnote without number.}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.