0

I want my \footnotetext{test} to use the current counter of \footnote{test} and update it.

Currently if I try:

\footnote{first}`
\footnotetext{second}

I see:

1

But I want to see:

1 First
2 Second

It feels like \footnote and \footnotetext have 2 different counters.

6
  • To get 1 First 2 Second, I'd expect to use \footnote twice, so what does 'use current counter ... [but] update it' mean? Your example certainly seems to use the 'current counter'.... (And of course there is \footnotemark[<num.>], too.)
    – jon
    Nov 11, 2016 at 4:00
  • @jon I use \footnotetext because I don't want to have a link. But I want my \footnotetext and \footnote to essentially share the 'counter'.
    – dimitris93
    Nov 11, 2016 at 4:04
  • Well, I agree: links to footnotes are pretty weird. But do you mean you don't want to have anything appear in the main text, but there's a 'footnote number' at the base of the page nonetheless?
    – jon
    Nov 11, 2016 at 4:47
  • @jon Yes. That is the only downfall. I have seen books that do that. I tried googling for "blank" footnotes but all of the implementations had problems. They either created invisible links or they created empty spaces, unlike \footnotetext which works flawlessly.
    – dimitris93
    Nov 11, 2016 at 4:50
  • Welcome to TeX.SX! Can you please expand the code snippet that you have posted to a full minimal working example. A MWE should compile and be as small as possible to demonstrate your problem. it's much easier to help you if we have full working code to start from.
    – user30471
    Nov 11, 2016 at 5:07

1 Answer 1

1

Check this:

\documentclass{article}

\begin{document}
some text\footnote{first}

\stepcounter{footnote}
some text \footnotetext{second}

some text\footnote{third}

\end{document}

Output:

enter image description here

1
  • Do you know how to make this into a macro with name myfootnote ?
    – dimitris93
    Nov 11, 2016 at 4:09

You must log in to answer this question.

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