11

In one section of a document I used

\let\thefootnote\relax\footnote{}

to have a footnote without number.

The problem is that it propagates through the whole document then and all footnotes appear to have no index.

How can I restrict the influence of this command to one particular footnote?

Update: I use unnumbered footnotes at the beginning of the chapter to specify, for instance, the version of software used throughout the chapter. It is common to do it like that in the community I am working.

16

Redefine the command in a group; using \footnotetext instead of \footnote will not increment the footnote counter as the following example shows

\documentclass{book}
\usepackage{lipsum}

\newcommand{\nofootnote}[1]{%
  \begingroup\def\thefootnote{}\footnotetext{#1}\endgroup}

\setlength{\textheight}{10cm} % just for showing the result

\begin{document}
\mainmatter
\chapter{Title}
\nofootnote{This chapter describes version 1 of the software}

Here's the text with a numbered footnote\footnote{Here it is}.

\end{document}

enter image description here

  • The name \nofootnote for the user macro may come across as a bit self-conflicted. Might \footnotewithoutnum avoid this issue? – Mico Mar 20 '13 at 12:17
  • Very simple an very nice solution. Cogratulation. – jpayansomet Mar 20 '13 at 13:04

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.