[Tex/LaTex] How to make multiple \footnotemark and \footnotetext match

beamerblockfootnotes

As the title, I want to insert two pairs of \footnotemark and \footnotetext in the block environment, but the superscript number of the mark is different (e.g. 3 and 4), but the superscript number for the text is the same (e.g. 4).

\begin{filecontents}{citation.bib}
@Article{Yazdanpanah2014,
  author   = {F. Yazdanpanah and C. Alvarez-Martinez and D. Jimenez-Gonzalez and Y. Etsion},
  title    = {Hybrid Dataflow/von-Neumann Architectures},
  journal  = {IEEE Transactions on Parallel and Distributed Systems},
  year     = {2014},
  volume   = {25},
  number   = {6},
  pages    = {1489--1509},
  month    = jun,
  issn     = {1045-9219},
  doi      = {10.1109/TPDS.2013.125},
}
@InProceedings{Amdahl1967,
author        = {Amdahl, Gene M.},
title         = {Validity of the Single Processor Approach to Achieving Large Scale Computing Capabilities},
booktitle     = {Proceedings of the April 18-20, 1967, Spring Joint Computer Conference},
year          = {1967},
series        = {AFIPS '67 (Spring)},
pages         = {483--485},
address       = {New York, NY, USA},
publisher     = {ACM},
__markedentry = {[Administrator:6]},
acmid         = {1465560},
doi           = {10.1145/1465482.1465560},
location      = {Atlantic City, New Jersey},
numpages      = {3},
url           = {http://doi.acm.org/10.1145/1465482.1465560},
}
\end{filecontents}

\documentclass[utf8, xcolor=table]{beamer}  
\usepackage[backend=bibtex,isbn=false,doi=false,sorting=none,url=false,style=ieee]{biblatex}

\addbibresource{citation.bib}    
\begin{document}
\begin{frame}
\begin{block}{this is a block\footnotemark}
    this is the context\footnotemark.
\end{block}
\footnotetext{\fullcite{Amdahl1967}}
\footnotetext{\fullcite{Yazdanpanah2014}}
\end{frame}

\end{document}

Best Answer

In my comments, I showed ways to play with optional arguments to \footnotetext to fix the problem. I also showed ways to play with the footnote counter.

However, the real way to fix this is to issue the \footnotetext macros immediately after the corresponding \footnotemarks. This is because the invocation of \footnotemark steps the footnote counter. And that is the proper time to issue the \footnotetext invocation unless your environment precludes it.

\begin{filecontents}{citation.bib}
@Article{Yazdanpanah2014,
  author   = {F. Yazdanpanah and C. Alvarez-Martinez and D. Jimenez-Gonzalez and Y. Etsion},
  title    = {Hybrid Dataflow/von-Neumann Architectures},
  journal  = {IEEE Transactions on Parallel and Distributed Systems},
  year     = {2014},
  volume   = {25},
  number   = {6},
  pages    = {1489--1509},
  month    = jun,
  issn     = {1045-9219},
  doi      = {10.1109/TPDS.2013.125},
}
@InProceedings{Amdahl1967,
author        = {Amdahl, Gene M.},
title         = {Validity of the Single Processor Approach to Achieving Large Scale Computing Capabilities},
booktitle     = {Proceedings of the April 18-20, 1967, Spring Joint Computer Conference},
year          = {1967},
series        = {AFIPS '67 (Spring)},
pages         = {483--485},
address       = {New York, NY, USA},
publisher     = {ACM},
__markedentry = {[Administrator:6]},
acmid         = {1465560},
doi           = {10.1145/1465482.1465560},
location      = {Atlantic City, New Jersey},
numpages      = {3},
url           = {http://doi.acm.org/10.1145/1465482.1465560},
}
\end{filecontents}

\documentclass[utf8, xcolor=table]{beamer}  
\usepackage[backend=bibtex,isbn=false,doi=false,sorting=none,url=false,style=ieee]{biblatex}

\addbibresource{citation.bib}    
\begin{document}
\begin{frame}
    this is the extraneous footmark\footnotemark.
\footnotetext{Just some text}
\begin{block}{this is a block\footnotemark}
\footnotetext{\fullcite{Amdahl1967}}
    this is the context\footnotemark.
\footnotetext{\fullcite{Yazdanpanah2014}}
\end{block}
\end{frame}

\end{document}

enter image description here