我有一个带有两个脚注的框架。一个脚注位于框架标题中使用\footcite
,第二个脚注位于列中(使用\footnotemark
)。不幸的是,顺序混乱了,因为列文本中的第二个脚注编号为 1,而框架标题中的第一个脚注编号为 2。
\documentclass{beamer}
\usetheme{Dresden}
\begin{filecontents*}{\jobname.bib}
@article{test1,
title = {My first Title},
author = {T the First.},
year = {2006}
}
@article{test2,
title = {My second Title},
author = {TT the Second.},
year = {2012}
}
\end{filecontents*}
\usepackage[style=verbose,giveninits=true,mincitenames=3,autolang=hyphen,sorting=none,backend=biber]{biblatex}
\addbibresource{\jobname.bib}
\begin{document}
\begin{frame}{My Frame title \footcite{test1}} %<-- should be number 1
\begin{columns}
\begin{column}{0.5\textwidth}
\begin{itemize}
\item left first
\item left second\footnotemark %<-- should be number 1
\end{itemize}
\end{column}
\begin{column}{0.5\textwidth}
\begin{itemize}
\item right first
\item right second
\end{itemize}
\end{column}
\end{columns}
\footcitetext{test2}
\end{frame}
\end{document}
我设法使用正确编号\addtocounter{footnote}
,但脚注顺序仍然错误(2 在 1 上方)。
答案1
这会起作用吗?(基于https://tex.stackexchange.com/a/46562/36296)
\documentclass{beamer}
\usetheme{Dresden}
\begin{filecontents*}{\jobname.bib}
@article{test1,
title = {My first Title},
author = {T the First.},
year = {2006}
}
@article{test2,
title = {My second Title},
author = {TT the Second.},
year = {2012}
}
\end{filecontents*}
\usepackage[style=verbose,giveninits=true,mincitenames=3,autolang=hyphen,sorting=none,backend=biber]{biblatex}
\addbibresource{\jobname.bib}
\begin{document}
\begin{frame}
\frametitle{My Frame title\setcounter{footnote}{0}\footnotemark}
\stepcounter{footnote} \footcitetext{test1}
\begin{columns}
\begin{column}{0.5\textwidth}
\begin{itemize}
\item left first
\item left second\footnotemark %<-- should be number 1
\end{itemize}
\end{column}
\begin{column}{0.5\textwidth}
\begin{itemize}
\item right first
\item right second
\end{itemize}
\end{column}
\end{columns}
\footcitetext{test2}
\end{frame}
\end{document}