如标题,我想在环境中插入两对\footnotemark
和,但是的上标数字不同(例如3和4),但的上标数字相同(例如4)。\footnotetext
block
mark
text
\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}
答案1
在我的评论中,我展示了使用可选参数来\footnotetext
解决问题的方法。我还展示了使用计数器的方法footnote
。
但是,那真实的解决这个问题的方法是,\footnotetext
在相应的\footnotemark
s 之后立即发出宏。这是因为 的调用会\footnotemark
步进计数器。除非您的环境不允许,否则footnote
这是发出调用的适当时间。\footnotetext
\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}
答案2
问题是它\footnotemark
也增加了它的计数器,因此维护一个私有计数器可以解决问题:
% replace existing \footnotetext with \note
\newcounter{note}
\newcommand{\note}[1] {
\stepcounter{note}
\footnotetext[\arabic{note}]{#1}
}